Advertisement

基于阴影检测及平衡亮度差消除算法的MATLAB完整程序分享

阅读量:

完整代码:

clc;
clear;
close all;
warning off;
addpath(genpath(pwd));

I = imread('1.png'); % 此处导入待检测的图片
[x, y, z] = size(I); % 获取图像维度信息
figure('Name', 'Processing Steps'), subplot(3,2,1), imshow(I), title(['Image 1: Original Image']);

I=uint8(I);
temp1=I;

Assign half intensity as the value of I divided by two; set the subplot to position (3 rows, 2 columns) and index 1; display the image with half intensity; set the title of the image to 'Image 2: Half Intensity Image'.

$Double_inten

全部评论 (0)

还没有任何评论哟~