From 42f659c3c96018a228c6855b6423b3a20e955ded Mon Sep 17 00:00:00 2001 From: Cx330 <1487537121@qq.com> Date: Fri, 30 May 2025 15:20:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=9B=BE=E5=83=8F=E5=B1=95?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- EXP_one.m | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/EXP_one.m b/EXP_one.m index ac9bf51..411b3d3 100644 --- a/EXP_one.m +++ b/EXP_one.m @@ -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'); % 二值化图像