Compare commits

..
2 Commits
Author SHA1 Message Date
Cx330 42f659c3c9 优化图像展示 2025-05-30 15:20:33 +08:00
Cx330 07ede89d54 修改实验一二照片路径 2025-05-28 19:36:44 +08:00
3 changed files with 12 additions and 3 deletions

No files matched your search

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

+12 -3
View File
@@ -25,13 +25,22 @@ image_reversal = imadjust(image , [0 0 0; 1 1 1], [1 1 1; 0 0 0]);
% 展示照片 % 展示照片
figure; figure;
subplot(1,3,1);
imshow(image); imshow(image);
title('Original 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); imshow(image_gray);
title('Grayed Image'); % 灰度化图像 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); imshow(image_imbinarize);
title('Binary Image'); % 二值化图像 title('Binary Image'); % 二值化图像