Questions tagged [roi]

Region Of Interest, a region of an image on which algorithms are executed on.

Region Of Interest (ROI) is a selected subset of a data set identified for a particular purpose and is commonly used in many application areas. The data set could be any of the following:

  • 1D data set: a time or frequency interval on a waveform
  • 2D data set: the boundaries of an object on an image
  • 3D data set: the contours or surfaces outlining an object (a.k.a. the Volume of Interest (VOI)) in a volume
  • 4D data set: the outline of an object at or during a particular time interval in a time-volume

Tag Usage:

An ROI on an image can be defined in different formats, like a , a or a set of . The tag is commonly used in question related to or . An ROI can be defined to:

  • Restrict the region of the data set that an algorithm is applied to and avoid unnecessary calculations. (e.g., in an )
  • Identify/Annotate a part of data set. (e.g., locate moving objects in )
  • Extract additional information from the data set. (e.g., measure size of a tumor on a medical image)

An Example:

ROI locates the boundaries of a registration plate (it's Persian), this area will be used for ANPR:

enter image description here

Additional Reading:

Region of Interest on Wikipedia

441 questions
0
votes
1 answer

Working with Opencv Sobel results

I use OpenCV cvSobel () to find vertical lines inside image - it works good. But don't understand, possible or not to work with Sobel results? I need get demention (height) of some founded same vertical lines and, if it found more than 5 same…
WorkStudio
  • 3
  • 1
  • 4
0
votes
1 answer

My confusion with region of interest

I was looking into the region of interest tutorial set here and there are a few things that escape my understanding. The example given to create a binary mask for setting the ROI is img = imread('pout.tif'); h_im = imshow(img); e =…
StuckInPhDNoMore
  • 2,507
  • 4
  • 41
  • 73
0
votes
1 answer

Converting location into binary masks and filtering the image with such masks

Say that we have an image which pixels were labeled 1 and 2. How can we do the following in MATLAB? Convert the locations of 1s and 2s into binary masks Filter the image with those masks Thanks.
Simplicity
  • 47,404
  • 98
  • 256
  • 385
0
votes
1 answer

Giving specific values to pixels in some selected region

I'm trying to do the following in MATLAB: Select some region of interest Give the pixels in that region the value 1 for instance I'm not sure, would imfreehand be a starting point here for selecting the region of interest. What then? How can this…
Simplicity
  • 47,404
  • 98
  • 256
  • 385
0
votes
1 answer

OpenCV C++ set ROI from a rectangular area

Anyone know how to set ROI based on image bellow? I used Hough Transform to detect the white line and draw the red line into the image. What I need to do is to set the ROI in the rectangle. Since Hough Transform unable to get location of each…
user2649244
  • 111
  • 2
  • 7
0
votes
1 answer

Filling a specific region with a colour

As a follow up to my question here, I want to ask if fill could work? I just didn't figure out what would be the values of X and Y be provided the question shown in the link.
Simplicity
  • 47,404
  • 98
  • 256
  • 385
0
votes
3 answers

Using imfreehand within your program

For instance, I start my program as follows reading some image: I=input('image name: ','s'); img=double(imread(I)); I'm planning to work only on some portion of that image. So, I noticed that I may need h=imfreehand for this purpose. Thus, I have…
Simplicity
  • 47,404
  • 98
  • 256
  • 385
0
votes
1 answer

to draw ROIs and to calculate mean difference

I have two CT image . How can I draw multiple ROIs on both image and calculate mean difference between each the corresponding ROIs with matlab ? I've used the 'imrect' or 'imellipse' but this commands creates the Mask which makes the image as…
0
votes
1 answer

Runtime error message Index was outside the bounds of the array. for Visual Basic 2010

I am computing the ROI with a moving rectangle and extracting the ROI to compute the standard deviation, mean, area and Pixel value coordinates X and Y in a seperate form2 by clicking the mouse. At this juncture I am trying to pass a function from…
dirty_sanchez
  • 69
  • 1
  • 1
  • 12
0
votes
2 answers

How to overlay a RGB ROI on top of a Greyscale Image in a GUIDE Axes?

I am trying to figure out how to overlay a RGB ROI on top of a Greyscale image. I am able to accomplish this using a figure. Here is my code for accomplishing this. mask=map>0;%map is the ROI im =im2double(dicomImage); …
David Hassan
  • 155
  • 1
  • 10
0
votes
1 answer

Setting roi to eyes and mouth only in camera capture and further processing

I am making a drowsiness detection system. so for that i want to set the ROI of the camera capture to eyes and mouth only and i further want to note their characteristics. i am able to set the ROI manually but i want the ROI to be set automatically…
0
votes
2 answers

Fix Size ROI for all images in Matlab

I have multiple images and I am using imcrop function to take ROI in image. The problem with imcrop is it gives me different size of ROI on each image. I would like to take ROI of same size for each image. There is a option in imcrop by which I can…
user2179080
  • 11
  • 2
  • 3
0
votes
3 answers

Setting a rectangular ROI given a centre pixel value using OpenCV in C++

I am am trying to create a rectangular ROI on an image with the location of a certain pixel being the center of the rectangle . How should I go about doing it ? image=…
user1926691
  • 173
  • 1
  • 3
  • 17
0
votes
1 answer

Detecting when a face enters ROI in opencv

I have a face tracking program that reads video from a camera and draws a rectangle around the persons face. What I want to do is have the program recognise when the face enters a particular region of the frame, and initialise some other action.…
JM92
  • 1,063
  • 3
  • 13
  • 22
0
votes
0 answers

Why my OpenCV ROI does not change?

I try to loop on an image to create several ROIs (their number can be changed) but it appears that the system can only chose one. I need that because I will try to make a LBP face detector. Here is my loop and the displaying (it's the forst time I…
baptiste
  • 1,107
  • 2
  • 15
  • 30