double derivative of an image

3 ビュー (過去 30 日間)
Meghna Chaudhary
Meghna Chaudhary 2019 年 4 月 29 日
コメント済み: darova 2019 年 5 月 13 日
hello,
i am working on an image in which i need to find out the inner most points of it. can i apply the concept of laplacian operator to find the same?
and please help me even if there is any other method with the help of which i can find them.
thank you.
points.png
  2 件のコメント
Jan
Jan 2019 年 4 月 29 日
編集済み: Jan 2019 年 4 月 29 日
Please start with an exact definition of "innermost points". Does the margin paly a role? How to handle multiple "innermost points" e.g. if the input is a circle or a hexagon? Why are the red marked points the solution and not these green ones:
points.png
Meghna Chaudhary
Meghna Chaudhary 2019 年 4 月 29 日
innermost points are the points that lie in the concave portion of the image (highlighted with red circles).
red circles in here are the points i want to extract. this is not the result.
is there any specific code i can use to obtain the same and avoid any other point.

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

採用された回答

darova
darova 2019 年 4 月 29 日
What about manually drawing line?
clc, clear
I = imread('original image.png');
I = rgb2gray(I);
I = im2bw(I);
imshow(I)
h = msgbox('Draw line');
waitfor(h)
line = imline;
xy = line.getPosition;
L = sqrt( sum(diff(xy).^2,2) );
  4 件のコメント
Meghna Chaudhary
Meghna Chaudhary 2019 年 5 月 13 日
thank you darova.
darova
darova 2019 年 5 月 13 日
you are welcome

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by