Plot on an image- addMarkerLines2Img

Plot a curve line/points on an image
720 Downloads
Updated 28 Aug 2014

View License

This functions allows marking objects of interest/path/trajectory on an image, returning the marked image. The functionality is similar to usage of plot with a background image, but here plot command is not used. The resulting image can thus be used- saved as image file, added to a video, processed etc.. To achieve connection between trajectory points (plot style) calculate dense trajectory without holed. mask2poly does this for mask borders.
Similar functionality is available as part of the Computer Vision Toolbox.

Cite As

Nikolay S. (2024). Plot on an image- addMarkerLines2Img (https://www.mathworks.com/matlabcentral/fileexchange/37427-plot-on-an-image-addmarkerlines2img), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: implot- image plot

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.0.0

Added markerOpacity input parameter
Supporting lineColor numeric triplet inputs together with characters

1.1.0.0

Added lineStyle functionality, filling gaps between trajectory points

1.0.0.0