Code covered by the BSD License
-
RGBCircle(image, y, x, rad, c...
RGBCircle Draws a circle or ellipse on a RGB image.
-
cfresize(im, longDimSize)
CFRESIZE resize the image if its long dimension is bigger then longDimSize
-
circlefinder(im, radMin, radM...
CIRCLEFINDER finds circles in an RGB or grayscale image.
-
extractcircles(houghTrans, tr...
EXTRACTCIRCLES extract circles from transformed image.
-
houghtransform(im, radVec)
HOUGHTRANSFORM circle hough transform on a binary image im.
-
nonmaxsup1d(x, thresh)
finds the maxima points in x with value > thresh
-
nonmaxsuppts(cim, radius, thr...
NONMAXSUPPTS - Non-maximal suppression for features/corners
-
example.m
-
example2.m
-
View all files
|
|
| cfresize(im, longDimSize)
|
function [im scale] = cfresize(im, longDimSize)
%CFRESIZE resize the image if its long dimension is bigger then longDimSize
% [im scale] = cfresize(im,longDimSize); scales the image so its long
% dimension is logDimSize long. (only if its bigger)
s = size(im);
scale = min(longDimSize/max(s),1);
im = imresize(im, scale);
|
|
Contact us