An image whose white pixels are represented by white
crosses.
function call:
[out_img1]=vsg('Point2Cross',in_img1);
Arguments:
in_img1
input image, 3 channel RGB, 1 channel greyscale or binary image, or
DICOM image.
Description:
out_img1 – An image of the
same size as the input image. For every pixel with a value of 255 in the
input image, a cross 5 pixels high and 5 pixels wide is drawn on the
output image, centred at the position of the input pixel. Each colour
plane is treated separately, so red, green and blue crosses may be drawn
if the 3 planes don’t have the same
“white” (255) pixels.
Example:
img1 = openimage('lake.jpg');
h=figure;image(uint8(img1));set(h,'Name','Input image');
[out_img1]=vsg('Point2Cross',img1);
h=figure; image(uint8(out_img1));set(h,'Name','Point2Cross
image');
Notes: