image_2d_laplacian.m 192 B

12345678910
  1. clear all; clc; close all;
  2. img = imread('test_image.jpg');
  3. img = double(img);
  4. figure;
  5. imagesc(img); axis off;
  6. figure;
  7. d2u = abs(4*del2(img, 1, 1));
  8. imagesc(d2u); colormap('gray'); axis off;