how to find central pixel of red component of coloured image....
plss reply fast

댓글 수: 1

Image Analyst
Image Analyst 2011년 10월 29일
Describe what you mean. What does central mean? Is it the pixel at the center of the image, like the pixel at (256,256) of an image 511x511 in size? Or does it mean the average value of the intensities, or the median value. "Central" is very ambigous.

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

답변 (2개)

jagkaran
jagkaran 2011년 10월 29일

0 개 추천

central pixel can be found out by using the line ... med_red (i,j)= median (a2); and same for the other colour component ...
abe tu main baat puch salle ...

댓글 수: 2

Image Analyst
Image Analyst 2011년 10월 29일
That would give an error.
Rashmi.D Jeya kumar
Rashmi.D Jeya kumar 2018년 1월 8일
how to find center pixel intensity

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

Walter Roberson
Walter Roberson 2018년 1월 8일

0 개 추천

mean_color = [mean2(YourImage(:,:,1)), mean2(YourImage(:,:,2)), mean2(YourImage(:,:,3))];

댓글 수: 2

Rashmi.D Jeya kumar
Rashmi.D Jeya kumar 2018년 1월 8일
will it give center pixel intensity.why taking mean 3 times of a image in above formula sir?
Walter Roberson
Walter Roberson 2018년 1월 8일
If you define "center pixel intensity" as being the mean red, green, and blue intensity, then one of the approaches is to take the mean of each color plane individually.
If you were looking for "average brightness" then you would take a different approach.

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

태그

아직 태그를 입력하지 않았습니다.

질문:

2011년 10월 29일

댓글:

2018년 1월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by