opencv-mat Questions
6
Solved
I am kind of confused with type() method of Mat object in OpenCV.If I have following lines:
mat = imread("C:\someimage.jpg");
type = mat.type();
and type = 16, how do I find out what typ...
Shangrila asked 16/4, 2012 at 0:51
5
Solved
I know this might be very rudimentary, but I am new to OpenCV. Could you please tell me how to obtain the size of a matrix in OpenCV?. I googled and I am still searching, but if any of you know the...
Nanceynanchang asked 25/12, 2012 at 6:15
1
Solved
#include <iostream>
#include <opencv2/opencv.hpp>
using namespace std;
using namespace cv;
int main() {
Mat a = (Mat_<double>(3, 3) << 0, 1, 2, 3, 4, 5, 6, 7, 8);
cout ...
Adept asked 5/7, 2017 at 13:35
1
Solved
I'd like to create an OpenCV 3-channel Mat using data allocated elsewhere where the pixels of each channel are together, unlike the data for an OpenCV Mat where the data from different channels is ...
Scevo asked 3/4, 2017 at 11:52
2
Solved
when I try to create a cv::Mat and release it afterwards (code below), I still have (according to valgrind) a memory leak by about 1 Byte per Pixel.
Does anyone know how to free the memory of an c...
Abbott asked 5/9, 2016 at 14:20
6
Solved
I have an image converted in a CvMat Matrix say CVMat source. Once I get a region of interest from source I want the rest of the algorithm to be applied to that region of interest only. For that I ...
Birnbaum asked 25/11, 2011 at 9:47
3
Solved
I have a couple of images in Mat objects all with same dimensions
I'd like to create one bix cv::Mat object to hold them all
So the dimension of the new matrix is: widthNew = widthOld x number of ...
Montenegro asked 13/6, 2012 at 16:27
1
© 2022 - 2024 — McMap. All rights reserved.