Be the first to rate this file! 6 Downloads (last 30 days) File Size: 1.56 KB File ID: #42270

Add Visible Line over Images (Modifed Version of the one in Doug's MATLAB Video Tutorials)

by

 

This is a modified version of the one shared in Doug's MATLAB Video Tutorials

| Watch this File

File Information
Description

It can be difficult to see a line that is drawn over an image. The line is often lost in the background colors. That is why cursors are colored as they are, so that they are visible on any background. I demonstrate some code that makes a line more visible with the same technique.

You can get the original version @ http://blogs.mathworks.com/videos/2013/06/10/making-a-line-visible-over-an-image-in-matlab

I have made some tweaks - removed the returning values, adjust some errors and conditions and also added comments for the first time users..

A quick help for you guys too
% Making a line visible over an image in MATLAB
% x : X axis co-ordinates of the points on the line
% y : Y axis co-ordinates of the points on the line
% innerThickness : Thickness of the black line (inner line)
% outerThickness : Thickness of the white line (outer line)

Set innerThickness value to a value equal to or lower than zero and no inner line would be present in the output figure.

Set outerThickness value to less than the innerThickness value and no outer line would be present in the output figure.

Do share your feedbacks.. :)

MATLAB release MATLAB 7.13 (R2011b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us