i need to know the extrema points between 2 connected components

1 vue (au cours des 30 derniers jours)
Anthony Chahine
Anthony Chahine le 6 Mar 2015
Commenté : Image Analyst le 14 Mar 2015
guide bar orientation must be normalized to be parallel with the actual search direction because the orientation of the guide bar is unambiguous.i know that This ambiguity can be done by searching the nearest extrema points between the two guide bars, as image2,when these extrema points are known, we can form a reference vector from the extrema point to the centroid of the guide bar.
The dot product of the reference vector and the bar orientation tells us if the bar orientation is defined in “right” or “wrong” direction. If the dot product is positive, the directions of these vectors correlate, when the original bar orientation can be used as search direction. Otherwise, we must change the bar orientation vector to the opposite direction. so i need to know the right direction v=[cos(phi);-sin(phi)] of each bar
  1 commentaire
Anthony Chahine
Anthony Chahine le 8 Mar 2015
guide bar orientation must be normalized to be parallel with the actual search direction because the orientation of the guide bar is unambiguous.i know that This ambiguity can be done by searching the nearest extrema points between the two guide bars, as image2,when these extrema points are known, we can form a reference vector from the extrema point to the centroid of the guide bar.
The dot product of the reference vector and the bar orientation tells us if the bar orientation is defined in “right” or “wrong” direction. If the dot product is positive, the directions of these vectors correlate, when the original bar orientation can be used as search direction. Otherwise, we must change the bar orientation vector to the opposite direction. so i need to know the right direction v=[cos(phi);-sin(phi)] of each ba

Connectez-vous pour commenter.

Réponses (2)

Image Analyst
Image Analyst le 8 Mar 2015
I have a demo to find the farthest points. See attached file, below the image.
  2 commentaires
Image Analyst
Image Analyst le 8 Mar 2015
It gives the two points farthest within a single blob, but the concept is the same and it will be straightforward for you to look between two blobs.
Anthony Chahine
Anthony Chahine le 14 Mar 2015
i tried with it, but it can't give me what i really need.

Connectez-vous pour commenter.


Anthony Chahine
Anthony Chahine le 14 Mar 2015
guide bar orientation must be normalized to be parallel with the actual search direction because the orientation of the guide bar is unambiguous.i know that This ambiguity can be done by searching the nearest extrema points between the two guide bars, as image2,when these extrema points are known, we can form a reference vector from the extrema point to the centroid of the guide bar.
The dot product of the reference vector and the bar orientation tells us if the bar orientation is defined in “right” or “wrong” direction. If the dot product is positive, the directions of these vectors correlate, when the original bar orientation can be used as search direction. Otherwise, we must change the bar orientation vector to the opposite direction.
so i need to know the right direction v=[cos(phi);-sin(phi)] of each bar!!
  1 commentaire
Image Analyst
Image Analyst le 14 Mar 2015
Try hough to get the lines. See the example on the gantry crane and do something similar.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Line Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by