필터 지우기
필터 지우기

How can I get the pixel values of a region of interest in an color image? I selected ROI using roipoly()

조회 수: 1 (최근 30일)
I am doing a project on image inpainting.
Between the process I need to determine whether a specific region is damaged or not; for that I want to compare a current pixel with a damaged pixel. How can I determine the pixel vale of the region of interest?

답변 (1개)

Image Analyst
Image Analyst 2013년 1월 31일
How interesting that you flag your own question as unclear. So go ahead and clear it up.
For example, you obviously have a picture that you think might have damaged pixels in it. Do you have the image that is a perfect reference image?
The region of interest is what you say it is. What does it mean to you? Does it mean a 5 by 15 window? Does it mean all connected pixels within 42 gray levels of the pixel in question? Or some other definition? There is no one, single definition of region of interest that applies to all images in the universe. You have to define what is "of interest" to you. You specifically, not me or Jan or Walter or anyone else, but to you.

카테고리

Help CenterFile Exchange에서 Explore and Edit Images with Image Viewer App에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by