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
|
|
|
| 29 Mar 2009 |
Etna
|
|
|
| 01 Mar 2012 |
Nikhil Jarwal
|
|
|
| Updates |
| 19 Mar 2007 |
New File with comments |
| 19 Mar 2007 |
New file with comments and help |
|
Contact us at files@mathworks.com