필터 지우기
필터 지우기

Algorithm to find repeated pixel values in an image

조회 수: 1 (최근 30일)
Mounika M
Mounika M 2012년 12월 21일
Hello friends! I need to build an algorithm that finds similar intensity valued pixels in an image.For example,the intensities within the range of 25-27 need to be identified in an image.What will be the efficient algorithm ?

답변 (2개)

Doug Hull
Doug Hull 2012년 12월 21일
im = imread('pout.tif');
vi = (im > 60) & (im < 80);
imshow(vi)

Image Analyst
Image Analyst 2012년 12월 21일
Doug's method is exactly what I would have given for a grayscale image. I don't know if you have a color image but the question is not so clear in the case of a color image since there are 3 "intensities" in a 3 color image, plus some other definitions of intensity if you go to other color spaces (like my avatar). In that case, see my File Exchange particularly the Delta E demo. Delta E is a color difference.

카테고리

Help CenterFile Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by