<< imdistransf Image Transforms imhoughc >>

IPCV >> Image Transforms > imhough

imhough

Image Hough transformation

Syntax

[HM, rho, th] = imhough(S)

Parameters

S :

Source Image

HM :

Hough Matrix

rho :

Distance from center to the point

th :

Angle from the center to the point

Description

Applies Hough transformation to an image.

Examples

S = imread(fullpath(getIPCVpath() + "/images/2lines.png"));
[HM, rho, th] = imhough(S);
scf();Sgrayplot(th,rho,HM',strf="021");
xset("colormap",hot(64))

See also

Authors


Report an issue
<< imdistransf Image Transforms imhoughc >>