필터 지우기
필터 지우기

Image is homogenous,white bright.?

조회 수: 4 (최근 30일)
leena
leena 2016년 6월 15일
댓글: Image Analyst 2016년 7월 5일
Image is homogenous,white bright. can you explain what is homogenous and white bright. I tried
I = imread('circuit.tif');
glcm = graycomatrix(I,'Offset',[2 0]);
stats = graycoprops(glcm,{'contrast','homogeneity'});
I have added input image and i marked the region of interest. I tried bwlabel and extracted the elliptical shape within that red region.I want to check whether the region is
  1. homogeneous bright white
  2. inhomogeneous with or without horizontal bands
  3. inhomogeneous gray
  4. inhomogeneous gray to black
  5. inhomogeneous black
How to write a code to distinguish this

답변 (1개)

Image Analyst
Image Analyst 2016년 6월 15일
I guess homogeneous and bright white would mean that the image is a uniform gray level of 255 or 65535 depending on if it's an 8 or 16 bit image.
  댓글 수: 10
leena
leena 2016년 7월 5일
@ImageAnalyst how inhomogeneous with or without horizontal bands is identified"?how to modify this code?
Image Analyst
Image Analyst 2016년 7월 5일
You need to define some threshold
if std(ROI(:)) > 5 % Or whatever value you want
% It's not homogeneous
else
% It's homogeneous
end

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

Community Treasure Hunt

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

Start Hunting!

Translated by