how to find central pixel

1 visualización (últimos 30 días)
prem preet
prem preet el 29 de Oct. de 2011
Comentada: Walter Roberson el 8 de En. de 2018
how to find central pixel of red component of coloured image....
plss reply fast
  1 comentario
Image Analyst
Image Analyst el 29 de Oct. de 2011
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.

Iniciar sesión para comentar.

Respuestas (2)

jagkaran
jagkaran el 29 de Oct. de 2011
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 comentarios
Image Analyst
Image Analyst el 29 de Oct. de 2011
That would give an error.
Rashmi.D Jeya kumar
Rashmi.D Jeya kumar el 8 de En. de 2018
how to find center pixel intensity

Iniciar sesión para comentar.


Walter Roberson
Walter Roberson el 8 de En. de 2018
mean_color = [mean2(YourImage(:,:,1)), mean2(YourImage(:,:,2)), mean2(YourImage(:,:,3))];
  2 comentarios
Rashmi.D Jeya kumar
Rashmi.D Jeya kumar el 8 de En. de 2018
will it give center pixel intensity.why taking mean 3 times of a image in above formula sir?
Walter Roberson
Walter Roberson el 8 de En. de 2018
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Images en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by