Compare commits
2
Commits
1d78a43447
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
42f659c3c9 | ||
|
|
07ede89d54 |
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
@@ -25,13 +25,22 @@ image_reversal = imadjust(image , [0 0 0; 1 1 1], [1 1 1; 0 0 0]);
|
||||
|
||||
% 展示照片
|
||||
figure;
|
||||
subplot(1,3,1);
|
||||
imshow(image);
|
||||
title('Original Image'); % 原图
|
||||
subplot(1,3,2);
|
||||
|
||||
figure;
|
||||
subplot(1,2,1);
|
||||
imshow(image);
|
||||
title('Original Image'); % 原图
|
||||
subplot(1,2,2);
|
||||
imshow(image_gray);
|
||||
title('Grayed Image'); % 灰度化图像
|
||||
subplot(1,3,3);
|
||||
|
||||
figure;
|
||||
subplot(1,2,1);
|
||||
imshow(image_gray);
|
||||
title('Grayed Image'); % 灰度化图像
|
||||
subplot(1,2,2);
|
||||
imshow(image_imbinarize);
|
||||
title('Binary Image'); % 二值化图像
|
||||
|
||||
|
||||
Reference in new issue
Block a user