how to separate/crop certain ROI in my image

2 views (last 30 days)
nazreen rusli
nazreen rusli on 10 May 2016
Commented: KSSV on 11 May 2016
Hi there,
I have problem with cropping certain ROI in my image...For instance, in my attach file, I have a face image in grayscale....so, what I need to do is crop only on a nose area....what is the built-in function or any sample codes that I can use? I believe many people have done a similar work with me but I couldn't find any of them yet...
Please let me know if anyone knows about it..Thank you in advance

Answers (2)

KSSV
KSSV on 10 May 2016
I = imread('157.png');
[I2, rect] = imcrop(I);

nazreen rusli
nazreen rusli on 11 May 2016
Thank you for your answer Dr. However, what i need is I want to crop it automatically... Any idea on what features can I use to identify the nose in the image then automatically crop it...
  1 Comment
KSSV
KSSV on 11 May 2016
Yuu must know the range where your ROI lies and give the range...

Sign in to comment.

Categories

Find more on Image Processing and Computer Vision in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!