You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Given a set of line coordinates:
X = [startx1 endx1; startx2 endx2;...]
Y = [starty1 endy1; starty2 endy2;...]
and a wanted image resolution, this code will generate the sparse matrix HUE, and the images BW, RGB and HSV, all with the desired resolution.
I made this to simplify edge-analysis of image-edge-lines gained from hough-transformation. (But you could also paint with it, as I did when making the screen-shot.)
Cite As
Jan Heldal (2026). Draw color-coded lines in image. (https://se.mathworks.com/matlabcentral/fileexchange/34834-draw-color-coded-lines-in-image), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.72 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
