Surface roughness

i am having issues running waveness_roughness plugins. i keep getting this message whenever i try to…

java.lang.NoSuchMethodError: ij.plugin.filter.GaussianBlur.blur(Lij/process/ImageProcessor;D)V
	at ij.plugin.filter.PlugInFilterRunner.processOneImage(
	at ij.plugin.filter.PlugInFilterRunner.<init>(
	at ij.IJ.runUserPlugIn(
	at ij.IJ.runUserPlugIn(
	at ij.IJ.runPlugIn(
	at ij.Executer.runCommand(

Can someone help me out


Welcome to the Forum!

So… could you explain better what it is you want to achieve regarding your analysis? What type of images are you analyzing, and what to do you aim to measure exactly?

I am not familiar with this particular plugin… How did you do the installation? At what point does this error occur? Perhaps there are other plugins/tools - such as TopoJ - that can do what you need?

Just let us know…


I want to determine the surface roughness. The image was taken with optical microscope using AmScope CCD camera. I followed the instructions that I should download the plugins to the plugins folder and then restart image. It is .class.

Good day!

I can confirm the problem. The ImageJ-plugin dates 2002/07/29

and may be incompatible with current versions of ImageJ. You may try to contact the author and ask for assistance. Another approach appears to explore the idea of the processing and code the concept as an ImageJ-macro yourself.



According to the docs we learn that:

** blur**

public boolean blur(ImageProcessor ip,
                                double radius)

Gaussian Filtering of an ImageProcessor. This method is for compatibility with the previous code (before 1.38r) and uses a low-accuracy kernel, only slightly better than the previous ImageJ code. The 'radius' in this call is different from the one used in ImageJ 1.38r and later. Therefore, use blurGaussian(ip, sigma, sigma, accuracy), where 'sigma' is equivalent to the 'sigma (radius)' of the Menu, and accuracy should be 0.02 unless better accuracy is desired.

The docs tell you what method to use instead, so that you can correct the Java-code.
Good luck!

1 Like

Ok @Odh … so I’m not sure why this plugin isn’t running for you… though it seems to be a part of this plugin: SurfCharJ. So you could always try that instead (seems to have at least been updated more recently - but still 10+ years old)?