필터 지우기
필터 지우기

how to split a gray image into dark, middle and bright pixels

조회 수: 1 (최근 30일)
Elysi Cochin
Elysi Cochin 2014년 7월 14일
편집: Elysi Cochin 2014년 7월 15일
how to split a gray image into dark, middle and bright pixels

채택된 답변

Image Analyst
Image Analyst 2014년 7월 14일
You would have to know the algorithm they're using because there are quite a few gray levels that seem to be in all three classes. I think there is quite a bit of overlap in what they call dark, middle, and bright.
  댓글 수: 2
Elysi Cochin
Elysi Cochin 2014년 7월 14일
can you tell any simple method...
Image Analyst
Image Analyst 2014년 7월 14일
Simple method is thresholding
darkPixels = grayImage(grayImage < 100));
middlePixels = grayImage((grayImage >= 100) & (grayImage <= 200));
brightPixels = grayImage(grayImage > 200));

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

추가 답변 (0개)

카테고리

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