The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
4 views

How to Access rows and columns of Vector<Mat> Images on Open cv for Android?

I was going through some code on open cv using Android.Can any one show me hoe i am gonna access the rows and columns of a vector Mat of image?Its declared and the columns and rows are accessed as ...
0
votes
0answers
5 views

Android - Open cv : Errors while Accessing the rows and columns of a vector of Mat image

I was online searching about Face recognition on Andoid and and found this project >>> https://github.com/Ajay191191/Opencv-Face-Recognition I have fixed lots of errors including configurations but ...
3
votes
1answer
22 views

cv::Mat matrix, HOW TO Reduce digits to the right of the decimal point in cv::Mat?

I have an app that prints a 3x3 cv::Mat on the iPhone screen. I need to reduce the decimals, as the screen is not so big, see: [1.004596557012473, -0.003116992336797859, 5.936915104939593; ...
0
votes
1answer
18 views

MATLAB: Opening and Editing Files nested in folders in folders

I'm working on a project where I need to pull files from this expansive directory with many subfolders nested in folders. I'm a complete novice when it comes to using matlab and directories, and I ...
0
votes
0answers
11 views

How to remove a part of the plot in matlab?

I have obtained a 2D plot (pcolor) of stress variation in x-y plane. My plot coordinates are x from 0 to 3 and y from 0 to 2. Now i want to remove only a certain portion of plot (y from -5 to +5) and ...
2
votes
1answer
21 views

Does a const Mat reference in OpenCV make sense?

In the following function foo(const Mat& img) img can be changed in the function without even a warning by the compiler. Why? Does it mean const Mat reference don't make any sense?
1
vote
1answer
43 views

Removing selected rows from opencv::Mat?

For some reasons I need to filter out rows of a Mat. (I need to filter out some descriptors of ORB) Which way do you suggest me? I haven't find any method to remove a single row from a Mat. So I was ...
0
votes
0answers
37 views

Pad array with last element

I have a matrix of a Mat object, I have to pad bigger Mat object with the last elements of every rows and cols of the original object around the original array. In This is the way I tried but ...
0
votes
0answers
23 views

Bitmap to Mat gives wrong colors back

So I make a bitmap from a blob with the next code: byte[] blob = contact.getMP(); ByteArrayInputStream inputStream = new ByteArrayInputStream(blob); Bitmap bitmap = ...
0
votes
0answers
23 views

Print opencv matrix content in Java

I have openCV matrix in Java and I would like to print out the content of it.I tried the toString() function as follows descriptor.toString() so I could achieve this form ...
0
votes
0answers
41 views

Convert String to Mat Java

I have a String saved that is full with Keypoints, but I need to use this string in the descriptor, which only takes Mat. How can I change my String to a Mat? String log = "[KeyPoint [pt={123.0, ...
0
votes
2answers
33 views

pass Mat to CvMat* segmentation fault

I want to pass a value to a pointer variable, namely from type Mat to CvMat*? So I have something like the following and want to pass it to the variable Si;; Mat S=(Mat_<double>(1, 3) ...
0
votes
1answer
33 views

how to write an opencv function that take one image as paramater and returns 2 images

i wanna build an opencv function that takes one IplImage image as parameter and returns 2 IplImage images. is this doable in opencv (c++). I prefer if it's using IplImage but i will appreciate other ...
0
votes
2answers
57 views

cv::mat to UIImage conversion not recovering exact image

I am using this function to convert cv::mat to UIImage. -(UIImage *)UIImageFromCVMat:(cv::Mat)cvMat { NSData *data = [NSData dataWithBytes:cvMat.data length:cvMat.elemSize()*cvMat.total()]; ...
-1
votes
1answer
39 views

How to inialize and access the entries in Mat scalars matrix in openCV using C++ interface?

I am trying to do some basic algebraic operations on matrices. I would like to use the class Mat from openCV. I used the following simple code which wouldn't work: void main() { float data[2][5] ...

1 2 3 4 5
15 30 50 per page