roi Questions

2

I am trying to trace boundaries of objects using a manual ROI selection and to plot there outlines back on the original image in grayscale. I noticed that I have a shift of the outline compered to ...
Baptistry asked 2/1, 2022 at 21:12

3

I want to cover a image with a transparent solid color overlay in the shape of a black-white mask Currently I'm using the following java code to implement this. redImg = new Mat(image.size(), im...
Bereniceberenson asked 14/6, 2017 at 3:47

3

Solved

I'm using OpenCV to get a small rectangular ROI from a large image and save the ROI to a file. Sometimes, the ROI goes out of bounds of the image. I need a way to make the resulting Mat show the po...
Aube asked 3/2, 2017 at 5:31

3

Solved

I am trying to get a region of an image (ROI) using opencv python. The version of opencv used is 2.4.3. However when I try to call the API cv2.SetImageROI it returns this error AttributeError: 'mo...
Viv asked 15/3, 2013 at 4:38

3

I am trying to implement a license plate recognition software using the ideas from http://iamabhik.wordpress.com/category/opencv/. I implemented the plate location using opencv in python, using &qu...
Jonas asked 31/1, 2012 at 18:4

3

Solved

How can I crop an image and only keep the bottom half of it? I tried: Mat cropped frame = frame(Rect(frame.cols/2, 0, frame.cols, frame.rows/2)); but it gives me an error. I also tried: doubl...
Psittacosis asked 29/7, 2016 at 18:24

1

I am using CIFilter for editing video and images with Swift 3.0. Its working fine, for whole image or video.But I want to apply filter to only selected area. I found, It can be done through ROI ...
Bradfordbradlee asked 4/5, 2018 at 12:2

3

Solved

I want to limit a SurfFeatureDetector to a set of regions (mask). For a test I define only a single mask: Mat srcImage; //RGB source image Mat mask = Mat::zeros(srcImage.size(), srcImage.type()); ...
Pearliepearline asked 3/5, 2013 at 18:10

1

Solved

I tried to give all input in this function but it comes out problem like below , i not sure what is the empty [] is . There are 2 image image in RGB and the original code is from https://github.com...
Yonita asked 7/12, 2017 at 11:53

2

Solved

Im trying to find contours in a specific area of the image. Is it possible to just show the contours inside the ROI and not the contours in the rest of the image? I read in another similar post tha...
Pneumonia asked 2/2, 2017 at 14:22

3

Solved

I am trying to display 2 images horizontally adjacent to each other in the same window using OpenCV. I have tried using adjustROI function for this.Image 1 has 1088 pixels width and 2208 pixels he...
Sherwin asked 30/10, 2012 at 5:16

2

Solved

I have a 4-channel image (.png, .tif) like this one: I am using OpenCV, and I would like to add padding of type BORDER_REFLECT around the flower. copyMakeBorder is not useful, since it adds padd...
Guntar asked 16/3, 2016 at 18:29

2

Solved

I'm very new to OpenCV (started using it two days ago), I'm trying to cut a hand image from a depth image got from Kinect, I need the hand image for gesture recognition. I have the image as a cv::M...
Doublestop asked 4/7, 2011 at 0:1

1

Solved

I was using the tensorflow android example which has a placeholder for the location of a ROI (see tensorflow/examples/android/src/.../Classifier.java), but it is not used. I would like to be able t...
Morty asked 22/12, 2015 at 0:44

2

Solved

I'd like to draw a white filled polygon, with arbitrary angle, in a black IplImage. I know there exists function such as createCircle, but I can't find something similar for polygons. I found this...
Doralynne asked 31/1, 2012 at 15:31

3

Solved

I need to copy a cv::Mat image (source) to an ROI of another (Destination) cv::Mat image. I found this reference, but it seems that it does not work for my case. Do you have any pointers how could...
Preliminaries asked 7/5, 2012 at 11:38

2

Solved

Working on Face Detection and Recognition, and after successfully detecting a face, I just want to crop the face and save it somewhere in the drive to give it for the recognition code. I am having ...
Situation asked 15/4, 2013 at 11:31

3

Solved

as the title says i'm trying to find the number of non-zero pixels in a certain area of a cv::Mat, namely within a RotatedRect. For a regular Rect one could simply use countNonZeroPixels on a ROI....
Improvise asked 11/7, 2011 at 16:24

2

I'm tried to use both of the methods but it seems like Adaptive threshold seems to be giving a better result. I used cvSmooth( temp, dst,CV_GAUSSIAN,9,9, 0); on the original image then only i ...
Plating asked 18/3, 2014 at 4:55

1

Solved

I have two points in an image, centre left eye (X, Y) and centre right eye (X, Y). I have drawn circles around both eyes using cv::circle, and this is fine. But what I'm now trying to do is get the...
Hurlee asked 8/10, 2014 at 7:4

2

Solved

I am trying to detect whether 2 Regions of Interest (CvRects) are intersecting one another in OpenCV. I can obviously manually type several (or rather a lot of) conditions to be checked but that wo...
Heisel asked 3/1, 2012 at 14:55

4

Solved

I have a RotatedRect, I want to do some image processing in the rotated region (say extract the color histogram). How can I get the ROI? I mean get the region(pixels) so that I can do processing. ...
Poetics asked 26/10, 2012 at 3:56

2

Solved

I have a GUI with two axes. The first axes has a low-resolution image. What I would like to do is select an area on the first axes using IMRECT and then display that area as a high-resolution ima...
Faerie asked 13/9, 2012 at 14:28

9

Solved

Currently, our organization does not practice Continuous Integration. In order for us to get an CI server up and running, I will need to produce a document demonstrating the return on the investm...
Extender asked 26/3, 2010 at 14:11

1

Solved

I want to copy a part of an image which is not rectangle with C++ opencv. The corner points of the part is known in the image. I want to paste it in a another image in exact location. Can anybody p...
Ulotrichous asked 28/2, 2014 at 10:56

© 2022 - 2024 — McMap. All rights reserved.