opencv3_java 图形图像的拉普拉斯平滑Laplacian Laplacian
2017-05-31 21:24
483 查看
图形图像的拉普拉斯平滑Laplacian Laplacian
package opencv_java_demo; import org.opencv.core.*; import org.opencv.imgcodecs.*; import org.opencv.imgproc.Imgproc; public class Laplacian { public static void main(String[] args) { try{ System.loadLibrary(Core.NATIVE_LIBRARY_NAME); Mat src=Imgcodecs.imread("./images/lenna.jpg"); //读取图像到矩阵中 if(src.empty()){ throw new Exception("no file"); } Mat dst = src.clone(); //复制矩阵进入dst Imgproc.Laplacian(src,dst,0); Imgcodecs.imwrite("./images/Laplacian.jpg", dst); }catch(Exception e){ System.out.println("例外:" + e); } } }
相关文章推荐
- javacpp-opencv图像处理之1:实时视频添加文字水印并截取视频图像保存成图片,实现文字水印的字体、位置、大小、粗度、翻转、平滑等操作
- 图像拉普拉斯金字塔(laplacian pyramid)并从金字塔重建原图 matlab程序实现
- 图像拉普拉斯金字塔融合(Laplacian Pyramid Blending)
- javacpp-opencv图像处理之1:实时视频添加文字水印并截取视频图像保存成图片,实现文字水印的字体、位置、大小、粗度、翻转、平滑等操作
- opencv3_java 图形图像的均衡Equalize equalizeHist
- opencv3_java 摄像头图形图像检测DetectObjectsCamera videoioVideoCapture
- OpenCV_(Laplacian Transform to find the edges)图像拉普拉斯变换查找边缘 图像识别
- 图像拉普拉斯金字塔融合(Laplacian Pyramid Blending)
- opencv3_java 图形图像模块化Mozaic Imgproc.resize
- 图像拉普拉斯金字塔融合(Laplacian Pyramid Blending)
- matlab laplacian of gaussian(拉普拉斯高斯) 图像滤波
- 图像拉普拉斯金字塔融合(Laplacian Pyramid Blending)
- opencv3_java 图形图像的高斯模糊GaussianBlur GaussianBlur
- 图像拉普拉斯金字塔融合(Laplacian Pyramid Blending)
- 图像融合之拉普拉斯融合(laplacian blending)
- opencv3_java 图形图像的膨胀Dilate dilate
- opencv3_java 在图形图像上画线LinesOnImage Imgproc.line
- 神奇的拉普拉斯平滑(Laplacian Smoothing)及其在正则化上的应用~
- 图像拉普拉斯金字塔融合(Laplacian Pyramid Blending)
- 基于Eigen库的离散拉普拉斯平滑(Discretized Laplacian Smoothing)的C++非稀疏矩阵实现