Adaptive Threshold and margin

The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
Post Reply
Posts: 2
Joined: 2011-07-25T16:49:47-07:00
Authentication code: 8675308

Adaptive Threshold and margin

Post by normman » 2011-07-26T11:52:10-07:00

I'm using MagickAdaptiveThresholdImage to apply an adaptive threshold on an image I have containing handwritten text. This works well for the text itself, but I'm having a problem like the one explained here( where the margin--that is, white space outside of the area of writing--is not uniform. In essence, most of the image should be white (the background), but instead I'm seeing this:

Is there anything I can do?

I'm not really familiar with image processing, so I apologize for not knowing the correct terminology to use.

User avatar
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Adaptive Threshold and margin

Post by anthony » 2011-07-26T22:06:14-07:00

You input image look like per random noise.

I am not certain just what you are trying to do. Can you give some information?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages

Post Reply