Plotting Euclidean distance versus Boundary Pixel Index

1 回表示 (過去 30 日間)
Shirah
Shirah 2013 年 6 月 26 日
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 件のコメント
Shirah
Shirah 2013 年 6 月 27 日
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.

サインインしてコメントする。

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by