Plotting Euclidean distance versus Boundary Pixel Index

1 vue (au cours des 30 derniers jours)
Shirah
Shirah le 26 Juin 2013
Hello,
It says, to find the Euclidean distance of all the boundary pixels with respect to the starting reference point which I have already done.
However, when plotting the distance(y axis) versus index of boundary pixels(x axis), I am not getting the graph as it should be in the paper. Picture (g) on the top is the expected graph to be obtained and at the bottom is the graph which I have got.
<<imageshack-us-a-img849-1584-f7v-png.n>>
<<imageshack-us-a-img560-5245-dony-png.n>>
The index of the pixels is obtained by using the line of code below.
pixelvalue = img_resize(sub2ind(size(img_resize), Col1, Col2))
where img_resize is the resize shape of the original image; Col1 and Col2 are the row and column of the boundary pixel (x and y coordinate).
I will be grateful if someone could guide me where I went wrong or what I need to do.
Thank You.
  1 commentaire
Shirah
Shirah le 27 Juin 2013
Hi again,
According to my research on other published papers, picture (g) is known as a curvegram. However, there is not much info about the curvegram on the net.
So how do I go about plotting the curvegram of Euclidean distance versus index of boundary pixels in matlab. Thank You.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by