double derivative of an image

3 views (last 30 days)
Meghna Chaudhary
Meghna Chaudhary on 29 Apr 2019
Commented: darova on 13 May 2019
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 Comments
Jan
Jan on 29 Apr 2019
Edited: Jan on 29 Apr 2019
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 on 29 Apr 2019
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.

Sign in to comment.

Accepted Answer

darova
darova on 29 Apr 2019
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 Comments
darova
darova on 13 May 2019
you are welcome

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!