How to crop the circular ROI (already done) from the image ? I want to eliminate the black background for calculating average RGB values, so that i can calculate average luminance from the image.

조회 수: 2 (최근 30일)
clear all
clc
hdr=hdrread('testfile.hdr');
rgb=tonemap(hdr);
figure;
imshow(rgb)
roi = drawcircle('Center',[400 400],'Radius',398);
BW=createMask(roi);
  댓글 수: 1
Omer Akatekin
Omer Akatekin 2021년 3월 22일
Are you doing for tunnel lighting access zone calculation ? because it seems to what i am trying to design app for these nowadays

댓글을 달려면 로그인하십시오.

답변 (1개)

Abhishek Gupta
Abhishek Gupta 2021년 2월 15일
Hi,
Referring to the following MATLAB Answer, which might help you in resolving the issue: -

Community Treasure Hunt

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

Start Hunting!

Translated by