I am trying to implement watershed image segmentation as said by former programmer in :
I tried adding FilterGrayToGray.cs code too but i got error of win32.memcpy
The error shows: “The name win32 doesn’t exists in this context”
if we convert Win32.memcpy to Microsoft.Win32.memcpy then it says “memcpy doesn’t exists in the namespace”
memcpyisn’t part of the .NET Framework –memcpyis an unmanaged native API that needs to have a p/Invoke definition created. The defination formemcpymust be in a different file.See the example below: