Back to project page filtrations.
The source code is released under:
GNU General Public License
If you think the Android project filtrations listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package sk.feromakovi.android.opencv.filtrations.processing; /*from w w w .j a va2 s. co m*/ import org.opencv.core.Mat; import org.opencv.imgproc.Imgproc; public final class ErodeProcessor extends ImageProcessor{ @Override protected Mat process(Mat mat, Mat kernel) { return erode(mat, kernel); } private Mat erode(Mat mat, Mat kernelMat) { Imgproc.erode(mat, mat, kernelMat); return mat; } @Override public CharSequence getName() { return "Erode"; } }