图像分类SVM


程序对图像进行了很好的分类,好不容易找到的代码。
资源截图
代码片段和文件信息
function [keypointsdescriptors] = computeFeatures(im)
% COMPUTEFEATURES Compute keypoints and descriptors for an image
%   [KEYPOINTS DEscriptORS] = COMPUTEFEAUTRES(IM) computes the
%   keypoints and descriptors from the image IM. KEYPOINTS is a 4 x K
%   matrix with one column for keypoint specifying the XY location
%   the SCALE and the CONTRAST of the keypoint.
%
%   DEscriptORS is a 128 x K matrix of SIFT descriptors of the
%   keypoints.

% Author: Andrea Vedaldi

im = standardizeImage(im) ;
[keypoints descriptors] = vl_phow(im ‘step‘ 4 ‘floatdescriptors‘ true) ;

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)