|
Hi friends,
In my application I have integrated ImageJ in that I am using
medial filter for despeckeling.I am able to remove black dots which is
present on image. But when I continuously apply same filter on image
resulted from previous image text (TIFF image) present in mage get disturb
means it looks like blurr.
Here is my code
Opener open=new Opener();
ImagePlus image=open.openImage(fileName);
ImageProcessor ipr=image.getProcessor();
ipr.setInterpolate(true);
ipr.medianFilter();
image.setProcessor(null,ipr);
System.out.println("After Insersion of text");
FileSaver fs=new FileSaver(image);
fs.saveAsPng(fileName);
Is there any solution. It's very urgent If anyone have solution please post
it.
Thanks in advance
|