Info

この質問は閉じられています。 編集または回答するには再度開いてください。

error in cropping image

1 回表示 (過去 30 日間)
FIR
FIR 2013 年 2 月 14 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 日
Code that uses "clear all" is always improperly designed.

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by