Ask Your Question

BALAKRISHANAN NAGARAJAN's profile - activity

2018-10-28 10:22:05 -0600 marked best answer How to concat Mat1's top half with Mat2's bottom half

Hi All,

Greeting.

I have a 2 mats, in opencv android

Mat1 = Mat(width,height,CvType.cv.8U); Mat2 = Mat(width,height,CvType.cv.8U);

I did submat on Mat1 & Mat2. Mat3 = Mat1.submat(0,height/2,0,width); Mat4 = Mat2.submat(height/2,height,0,width);

Created Array list Mat5 to hold Mat3 & Mat4.

When i Tried vconcat(Mat5,DstMat); i am getting Assertion failed error. Please tell me whether the approach i did was correct or any thing anything went wrong.

Thanks in Advance.

2018-10-28 10:01:11 -0600 answered a question How to concat Mat1's top half with Mat2's bottom half

@berak. Sorry for not sharing the code. i figured it by my self. On Mat2 I have done Imgprog to convert inputFrames to R

2018-10-26 05:37:44 -0600 commented answer How to concat Mat1's top half with Mat2's bottom half

Here both the Mat's width remains same as it is vconcat. I didnt make any mistake on that.

2018-10-26 05:25:08 -0600 commented answer How to concat Mat1's top half with Mat2's bottom half

No prob :). Hope now you understood my problem. Any guess on resolution please.

2018-10-26 05:13:09 -0600 commented answer How to concat Mat1's top half with Mat2's bottom half

Thanks for your swift reply. In the above Mat5 is array of list. it holds Mat3 and Mat4. I am aware of using it. When i

2018-10-26 05:01:03 -0600 asked a question How to concat Mat1's top half with Mat2's bottom half

How to concat Mat1's top half with Mat2's bottom half Hi All, Greeting. I have a 2 mats, in opencv android Mat1 = Mat