Edge Tracking a beam between two images
10 views (last 30 days)
Show older comments
Hi, I am looking into tracking the edge of a beam which slightly moves between two images. I currently have been given a code which uses 'phase singularity tracking' which works but was wondering if there was a code which can simply track the edges of the beam in these images? I am pretty new to Matlab and have currently tried to use intensity of white to black across a line of pixels to try and pick up the beam edge and I require another technique (I have seen edge detection examples but can they be applied for tracking?).
Many Thanks, Graham
0 Comments
Accepted Answer
Sean de Wolski
on 22 Feb 2011
An edge filter should work just fine on this.
doc edge
or you do a simple threshold:
Imask = I<50;
the_edges = bwperim(Imask);
2 Comments
Sean de Wolski
on 22 Feb 2011
Well you could use bwboundaries to get the pixels on each edge and compare them directly.
Or you could stack all of your slices together in a 3D image volume, edge it, and figure out the change in the edge using a gradient or other technique.
More Answers (2)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!