Line Hough Transform.
function call:
[out_img1]=vsg('Hough',in_img1);
Arguments:
in_img1
input image, 3 channel
Description:
The Hough function
uses Hough Transform (HT) to detect straight lines from binary image.
out_img1 – An image displaying the Hough transform of the input image. The dimensions are the same as the input image dimensions.
Example:
img=openimage('sixth.bmp');
h=figure;image(uint8(img));set(h,'Name','Input
image');axis
image;
[img] = vsg('Threshold',img,50);
[out_img1]=vsg('Hough',img);
h=figure; imagesc((out_img1(:,:,1)));colormap(gray),set(h,'Name','Hough
image');
axis
image;
Notes:
1. For DICOM images,
the function operates on all slices separately.
2. For