필터 지우기
필터 지우기

How to analyze fraction of an image based on brightness?

조회 수: 1 (최근 30일)
Timothy Campbell
Timothy Campbell 2020년 6월 2일
답변: Sulaymon Eshkabilov 2020년 6월 2일
I have a series of images and we are want to anazlyze their brightness. Basically, how should I proceed with setting a threshold brightness value and then be able to calcalate the % above and below this brightness threshold.

답변 (1개)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2020년 6월 2일
The brighness can be computed as shown here :
If there is a series of images with ordered names (e.g.: img1.png, img2.png, ....) , then you'd need to use [for .. end] loop, e.g.:
Name='img';
Ext = '.png';
for ii=1:n_images
Name_IMG=strcat(Name, num2str(ii), Ext);
AA = imread(Name_IMG);
... % use the commands given in the above link
end

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by