Draw line on an image

The function draws a line on an image by modifying the actual pixel values.

You are now following this Submission

The function draws a line on an image by modifying the actual pixel values. It is not an overlap as one can do by using the plot function or anything belonging to the graphical library.

Cite As

Tiberiu Visan (2026). Draw line on an image (https://www.mathworks.com/matlabcentral/fileexchange/37637-draw-line-on-an-image), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Images in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

The function returns the image with the line superimposed.

1.0.0.0