Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Selecting high intensity histogram from a single image?

1 Ansicht (letzte 30 Tage)
Haseeb Hassan
Haseeb Hassan am 4 Mär. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Dear Readers,
I have splitted a single image into 4 splitted images. I am interested to find the historam of each image, and then want authomatically select the high intensity histogram region/or high intensty region. The code is as following. Image has been also attached.
clear all;
close all;
I=imread('1.jpg');
subplot 334
imshow(I);
[r c p]= size(I);%r-rows,c-columns,p-planes
A=I(1:r/2,1:c/2,:);
B=I(1:r/2,c/2+1:c,:);
C=I(r/2+1:r,1:c/2,:);
D=I(r/2+1:r,c/2+1:c,:);
subplot 332
imshow(A);
title('Image part 1');
subplot 333
imshow(B);
title('Image part 2');
subplot 335
imshow(C);
title('Image part 3');
subplot 336
imshow(D);
title('Image part 4');
Capture.PNG

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by