Plotting Euclidean distance versus Boundary Pixel Index

1 visualización (últimos 30 días)
Shirah
Shirah el 26 de Jun. de 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 comentario
Shirah
Shirah el 27 de Jun. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by