Edge Tracking a beam between two images
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Sean de Wolski
2011-2-22
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 个评论
Sean de Wolski
2011-2-22
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.
更多回答(2 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!