|
Hi Everyone,
I am using imagej for opening Dicom and JPEG images.
I successfully setting brightness and contrast for black and white images
But when it comes on RGB images it is not working properly.
Is there any different methods for RGB images.
I saw the following function is calling after setting brightness and contrast in class ij.plugin.frame.ContrastAdjuster
when images are RGB
/** Restore image outside non-rectangular roi. */
void doMasking(ImagePlus imp, ImageProcessor ip)
{
ImageProcessor mask = imp.getMask();
if (mask != null)
ip.reset(mask);
}
Please help me.
--------------------------------------------------------------------
Prashant Chandrakar
|