Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

error in cropping image

6 Ansichten (letzte 30 Tage)
FIR
FIR am 14 Feb. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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 Kommentar
Walter Roberson
Walter Roberson am 14 Feb. 2013
Please only indent code and not text when you are posting.

Antworten (1)

Walter Roberson
Walter Roberson am 14 Feb. 2013
Code that uses "clear all" is always improperly designed.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by