error in cropping image

I have detected surf features, when i try to imcrop the surf detected region, the cropped image does not have that surf point.
plz assist where i made wrong
i need the crooped image with surf points
clc
clear all
close all
[p,f]=uigetfile();
I=imread(strcat(f,p));
I1=rgb2gray(I);
points = detectSURFFeatures(I1);
imshow(I); hold on;
plot(points.selectStrongest(10))
S=imcrop((plot(points.selectStrongest(10))));
figure,imshow(S)

댓글 수: 1

Walter Roberson
Walter Roberson 2013년 2월 14일
Please only indent code and not text when you are posting.

답변 (1개)

Walter Roberson
Walter Roberson 2013년 2월 14일

0 개 추천

Code that uses "clear all" is always improperly designed.

이 질문은 마감되었습니다.

태그

질문:

FIR
2013년 2월 14일

마감:

2021년 8월 20일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by