Harvey,
No histogram, but you can actually sort of use the palette
editor example to do this.

load '~addons/graphics/fvj3/ped8d.ijs'

then open the blur.png sample image (or your own grayscale)
You can for example copy black RGB and paste it at a trial
position, then shift-click back to black to "blend" from
black to black. Undo easy with the back button. Image
is previewed and zoomable. Likewise white.
Maybe this is another starting point.
Best,
Cliff

PackRat 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
> 

-- 
Clifford A. Reiter
Mathematics Department, Lafayette College
Easton, PA 18042 USA,   610-330-5277
http://www.lafayette.edu/~reiterc
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to