how can i create a ROI in image for SIFT features extraction !?
    2 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    

hello, I extracted sift features frome this img ,but i wanna just extract the features in the region of eye and mouth , so how can i eliminate the edge features using ROI 
thanks in advance ! 
0 comentarios
Respuestas (1)
  yanqi liu
      
 el 18 de Oct. de 2021
        clc; clear all; close all;
femDetector1 = vision.CascadeObjectDetector('EyePairBig');
femDetector2 = vision.CascadeObjectDetector('Mouth','UseROI',true);
I = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/769211/image.png');
bboxes = femDetector1(I);
bboxes2 = femDetector2(I,round([1 size(I,1)*2/3 size(I,2)-1 size(I,1)/3]));
I2 = insertObjectAnnotation(I,'rectangle',bboxes,'Eye');   
I2 = insertObjectAnnotation(I2,'rectangle',bboxes2,'Mouth');   
figure
imshow(I2)
Ver también
Categorías
				Más información sobre Feature Detection and Extraction en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
