I am trying to duplicate the ImageMagick command line:
Convert In.jpg ( -bias 50% -morphology Convolve LoG:0x1.5 ) Out.jpg
via the Magick++ in C++ (visual Studio 2010 Express)
I have read that the morphological operations are not part of Magic++ so the C MagickCore functions need to be used. I am unable to obtain output that matches (or is even close) to ImageMagick command line output.
I am attempting to create the Kernel via
k=MagickCore::AcquireKernelInfo("LoG:0x1.5");
and execute the morphology via
m = MagickCore::MorphologyImage(i, MagickCore::ConvolveMorphology, 3, k, e);
I am guessing at these methods and parameters due to lack of information on specifics. Does anyone have guidance on how to accomplish the same output from C++ ?