Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

how to find the location of the maximum neighboring pixel for each pixel ?

1 vue (au cours des 30 derniers jours)
sheno39
sheno39 le 10 Oct 2013
Clôturé : MATLAB Answer Bot le 20 Août 2021
i have found the maximum neighboring pixel for each pixel of the image and stored in a matrix. Now i have to find the location of the max pixel? can anyone help me?
  3 commentaires
Ashish Uthama
Ashish Uthama le 10 Oct 2013
Sheno39, could you please elaborate? How do you define your neighborhood? (4 connected, 8 connected or something else?) Do you need the relative position of the max for each pixel or the absolute location in the image?
Image Analyst
Image Analyst le 10 Oct 2013
Jan already asked that in the duplicate (prior) question: http://www.mathworks.com/matlabcentral/answers/89643-how-to-find-the-original-index-of-stored-elements-in-an-array-of-an-image I'd also like to know what is to be done with that information, to see if it's really needed or not. For example if they're using dynamic programming checkerboard method to solve a shortest path problem or something like that where the direction from a pixel is needed.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by