How to use auto equalization of imageJ in JAVA?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to use auto equalization of imageJ in JAVA?

ashishdonvir
hello all,
In my java program i have a histogram of 16 bit gray scale image. My histogram bins are concentrated in very narrow range and rest of the bins has almost zero value.
Now I need to equalize only this much concentrated part of histogram and want image from this equalized part of histogram only.(imajeJ does this with its brightness contrast window using Minimum and Maximum value).
Well i can find number of the  maximum and minimum value bins of histogram. So can any one tell me how to use this value and equalize histogram to get the equalized image. One thing is that Without opening any imajeJ window i just need to use its classes  .