Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I am using opencv fastNlMeansDenoising for very small dot noise present in B&W image.But It is taking more time(5 to 8 sec) to process an image(3306*4676).

public static BufferedImage despecklEffect(BufferedImage source){
System.loadLibrary( Core.NATIVE_LIBRARY_NAME ); 
Mat sourceImage=ImageProc.img2Mat(source);
Photo.fastNlMeansDenoising(sourceImage, sourceImage,50,7,21); 
return ImageProc.mat2Img(sourceImage); }

How can i speed up this algorithm by changing parameters?