No BSD License  

Highlights from
Area of interest selection in an image

3.33333

3.3 | 3 ratings Rate this file 9 Downloads (last 30 days) File Size: 1.65 KB File ID: #14306
image thumbnail

Area of interest selection in an image

by Gaurav Sehgal

 

16 Mar 2007 (Updated 19 Mar 2007)

This code enables a user to manually select an area in an image for further processing

| Watch this File

File Information
Description

In this code, the user selection the area of interest on an image, by dragging the rectangle of size specified in the code around the image by holding the left button of mouse and leaving the left button at a desired area. This program takes the grayscale image as input and outputs the cropped selected region of the image and the coordinates of the top left hand side of the image.
For example: [I2,dataX,dataYY] = AreaSelection(b)
where b - greyscale input image
      I2 - cropped output image
      dataX- Top left hand side X coordinate of the image
      dataYY - Top left hand side Y coordinate of the image

Required Products Image Processing Toolbox
MATLAB release MATLAB 6.5 (R13)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
16 Mar 2007 Jos x@y.z

No help, no comments. Do you really expect users to decipher your code, before they can use it?

29 Mar 2009 Etna  
01 Mar 2012 Nikhil Jarwal  
Please login to add a comment or rating.
Updates
19 Mar 2007

New File with comments

19 Mar 2007

New file with comments and help

Tag Activity for this File
Tag Applied By Date/Time
gui Gaurav Sehgal 22 Oct 2008 09:04:44
display Gaurav Sehgal 22 Oct 2008 09:04:44
annotation Gaurav Sehgal 22 Oct 2008 09:04:44
area Gaurav Sehgal 22 Oct 2008 09:04:44
interest Gaurav Sehgal 22 Oct 2008 09:04:44
image Gaurav Sehgal 22 Oct 2008 09:04:44

Contact us at files@mathworks.com