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
0 answers

Matlab - Set Resizeable to False with impoly

I'm trying to disable resizing of an ROI created with impoly in Matlab. This link seems to work for ellipse etc, but not for a polygon! -> http://uk.mathworks.com/help/images/ref/imroi.setresizable.html Any help would be greatly appreciated…
0
votes
0 answers

Instead of quadratic ROI , I need an ellipse ROI in java(eclipse)

My object is elliptical, and so I need an ellipse ROI. for Quadratic I know that I can change the range of width and height, but I have no idea how can I choose the ellipse like the bellow pic region in eclipse.
aziiii
  • 1
  • 1
  • 7
0
votes
1 answer

How do I find pixel intensity in ROI and color based on intensity?

I have an image in a GUI where I draw a ROI. I wish to find the various intensities of pixels with the ROI, and change their color (r, b, g) based on their intensity. How can I do this? Here is the code I use for the ROI. r = impoly; mask =…
user8866926
0
votes
1 answer

perform edge detection on roi

eight.jpg I use the eight image from matlab eight.tif and i have the following code: FullImage = imread('eight.tif'); roi_col = [50 50 250 250]; roi_row = [200 50 50 200]; ROI_help1 = roipoly(FullImage,roi_col,roi_row); roi_col = [100 70 200…
0
votes
1 answer

how to get Matrix(ROI) in openCV using by line that inclined

I already tried to search about openCV ROI function, but All of them used rectangle roi function. I want to get roi using by inclined line that get from hough transform function. My situation is next : I have multiple vertical lines(little…
amatuer
  • 3
  • 4
0
votes
1 answer

Image Filter on ROI with Java2D

i want apply some filters [image filter] on Region Of Interest that user selected. i need API for getting pixels of this area [polygon or freehand also Rectangle] and apply filter.any Suggestion for this work ?
mehdi shahdoost
  • 1,469
  • 5
  • 17
  • 27
0
votes
1 answer

How to make program wait for user to place ROI on image, to proceed - Java

I am writing a plug-in where the user must place an ROI on the image (live image-feed from a camera on the microscope), and once this ROI is placed, the program must perform an action on this ROI. I have tried the new WaitForUserDialog("Please…
Sara
  • 3
  • 3
0
votes
1 answer

ROI handles dont change their position while/after dragging

heyho situation i have multiple scatterplots in a viewbox in pyqtgraph. since i want to 'cut something out' of it, i create a PolyLineROI somewhere in the plot with initial three handles. when i start dragging the whole thing to its destination (and…
0
votes
1 answer

Matlab freehand ROI pixel selection

I am trying to use imfreehand(...) to replace a selected region in one image with the corresponding region in another image. This is my code so far: % Sample images: I1=imread('office_1.jpg'); I2=imread('office_5.jpg'); imshow(I1) h =…
Ciprian
  • 27
  • 3
0
votes
1 answer

Widget is appearing next to image?

I am attempting to put pyqtgraph ROI widgets (information here) on top of a .PNG image. When I import the image into the program, it comes out rotated and flipped the wrong way. I assume this is a bug. To attempt to fix it, I have rotated the image…
Jaden
  • 265
  • 3
  • 16
0
votes
1 answer

Copy just the selected Area from an image without the other contents in the bounding rectangle?

I am using ImageJ API in java. I got an array of ROIs from Particle Analyser tool. I need to get just the detected area into another image(just a white or transparent bg). How can I do that?
Arun Baby
  • 67
  • 6
0
votes
0 answers

Matlab: Local application of medfilt2

As part of a larger image processing pipeline I have lots of RGB images where local regions should be smoothed with medfilt2. The regions are given by non-zero pixels of a gray mask with the same size and are less than 10% of the whole image area.…
0
votes
1 answer

Cannot print the value of tensor

I got the error like below when i run the code. I wanna know what in the value of the Tensor named as"feat". Traceback (most recent call last): File "croptest.py", line 80, in print (sess.run(feat)) File…
Go Go Gadget 2
  • 148
  • 1
  • 2
  • 10
0
votes
1 answer

Get ImagePlus objects from multiple ROIs using ImageJ

I'm using ImageJ's Java API and need to calculate some data based on multiple selected ROIs (regions of interest). First I get an instance of the current ROI Manager by using RoiManager roiMng = RoiManager.getInstance(); Then, I get all ROIs in…
user2402616
  • 1,434
  • 4
  • 22
  • 38
0
votes
0 answers

how to extract ROI using stencil buffer

What I want to do is that extracting where main avatar is using stencil buffer. I'm using planeshift which is opensource of 3D MMORPG game and this game uses crystalspace as rendering engine. What I want to get is as below : =====in stencil…
John
  • 17
  • 1
  • 5