Such histogram bracketer would be useful.

See also

Uneven background:

http://www.jsoftware.com/jwiki/OlegKobchenko/Background%20Removal

Example of UI tool to manipulate image transforms:

http://www.jsoftware.com/jwiki/Scripts/Color%20Adjust

Feel free to use it as a starting point.

Oleg


On Feb 13, 2010, at 2:36 PM, "PackRat" <pack...@anet.com> wrote:

I have a very large number of scanned textual grayscale images where I 
want to make the background white rather than a range of white to gray 
(due to paper bends and other variations) as well as to darken the 
black text a bit.  (It would be far too labor-intensive to manually 
adjust each image, one by one, with photo editing software.)

Does anyone know if there is any J code or (preferably) a J control 
where one can easily adjust the white point and black point on the 
histogram of an image, seeing the image display change as the values 
are changed?  (The white point is where every value from there upward 
to the maximum is converted to white, and, conversely, the black point 
is where every value from there downward to the minimum is converted to 
black.)

I didn't see anything like this in Cliff Reiter's book, although he 
does work a little with image histograms.

It would be even nicer if this could be also scripted in some way to 
automatically go through a series of images using two predetermined 
values.

Thanks in advance!

Harvey

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm



      
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to