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

Write ImageJ ROI file from R

In R, I have a matrix that equals an image, where each cell is 0 if it is background and >0 if it is a ROI. Each ROI has its distinct number, so if it spans several matrix cells all these cells will have the same number. I want to generate ROI files…
NicolasH2
  • 774
  • 5
  • 20
0
votes
0 answers

ROI solver that is applicable for a general objective function (F_objective) and binary variables

Is there any ROI solver in R that is applicable for a general (nonlinear) objective function (F_objective) and binary variables?
Alex
  • 77
  • 1
  • 6
0
votes
1 answer

How to access the inner and outer pixels of a circle ROI on an image?

I'm trying to solve a problem and am quite stuck on how to approach it. I have an image and I want to get all the pixels inside the circle area of interest. The radius of the circle is 150 pixels and the centre point of the ROI is [256, 256]. I have…
MSmithy
  • 3
  • 1
0
votes
2 answers

MultiClass Object Detection and Classification using Fast R-CNN

I'm trying to make model (VGG-16) that uses Fast R-CNN for object detection. In short, I want to find object on image and put bounding box where object is. I already tried multiple way's of getting that, but all the time I'm getting some error's,…
0
votes
2 answers

I'm trying to calculate the ROI with product revenue and cost, but still given me the wrong value

I'm trying to calculate the ROI with product revenue and cost: but it gives me the wrong value: I tried to use SUM on both sides, but it keep saying that the formula is invalid:
0
votes
0 answers

Wrong Region of Interest ROI obtained

I am trying to obtain a ROI of a Picture using Emgu, But am getting the wrong region in the second PictureBox I am getting this https://ibb.co/sHN4kGQ I got the code…
dwk
  • 25
  • 5
0
votes
1 answer

ROI solver multiple argument objective function

I'm trying to find an optimal solution for g40 and g60, such that change=0.01 Below is my code, however i'm getting the error Error in .check_function_for_sanity(F, n) : cannot evaluate function 'F' using 'n' = 2 parameters I tried to look for a…
0
votes
2 answers

ROI detection - Deep learning -References

I know nothing on the subject of deep learning. I am looking for references to build a deep learning algorithm to detect ROI in given images. My goal is to compare deep learning algorithms with usual image processing algorithms I have already…
DarkBulle
  • 125
  • 3
0
votes
1 answer

Why can't I successfully draw the region of interest in a matplotlib color map embedded in a pyqt5 gui?

I'm trying to draw a region of interest on a color map that is embedded in a pyqt5 gui. This is an example of what I want. import sys from PyQt5.QtWidgets import (QWidget, QPushButton, QHBoxLayout, QVBoxLayout,…
color_blue
  • 31
  • 6
0
votes
1 answer

Difference between region of interest & viewport

I am doing some research on adaptive streaming of omnidirectional video and wanted to know what the difference is between "viewport" and "region-of-interest." I've seen it used in the same context so I'm not exactly sure if they describe the same…
0
votes
1 answer

Unable to draw rectangle over webcam video OpenCV C++

Im trying to create a rectangle ROI over webcam video. But this code is crashing #include "opencv2/opencv.hpp" #include #include using namespace std; using namespace cv; int main(){ VideoCapture cap(0); …
0
votes
1 answer

Efficient way to get ROI from original image using contours found in mask

the task that I'm trying to accomplish is isolating certain objects in an image through finding contours in the mask of the image, then taking each contour (based on area) and isolating it , and then using this contour to crop the same region in the…
0
votes
0 answers

Python doesn't updated global list - RectangleSelector

I am trying to draw a square Region of Interest on a processed TIFF image and to get coords of the rectangle. To do this, I wrote this code : click = [0,0] release = [0,0] def line_select_callback(eclick, erelease): x1 = eclick.xdata …
0
votes
1 answer

How to find and highlight the brightest region an image in Matlab?

Dears, I would like to kindly ask you for support. My goal is to find the brightest region of the RGB image and highlight it without additional tools. Please see my example below. rgbImage = imread( 'Zoom1_WhiteImage.png'…
Tomáš
  • 35
  • 6
0
votes
1 answer

How to find the same ROI for the same text with different colors?

I am trying to find ROIs on these two images: I'm using this code for image #1: image_1 = image1 corr1 = [] gray = cv2.cvtColor(image_1, cv2.COLOR_BGR2GRAY) blur = cv2.GaussianBlur(gray, (1,1), 1) thresh =…
anim esh
  • 23
  • 6