Ask Your Question

Revision history [back]

OpenCV Features2d.drawMatches set transparent matchColor

I am working on one OpenCV Android Project in which i want to compare one stored image with the frame detected in camera and thus showing matched and difference keypoints from both images. And Here i am getting both the matched and differences keypoints in the app currently between 2 images but i need to make the matched keypoints color transparent in below method call:

Scalar GREEN = new Scalar(0, 255, 0, 128);

Features2d.drawMatches(img1, keypoints1, aInputFrame, keypoints2, goodMatches, outputImg, GREEN, RED, drawnMatches, Features2d.DRAW_RICH_KEYPOINTS);


I want to make the GREEN color as transparent so as to display only difference keypoints in the App between two images.

Hope to get quick response from everyone of you.

Regards - Kudoss!!!

click to hide/show revision 2
retagged

updated 2017-12-20 05:32:36 -0500

berak gravatar image

OpenCV Features2d.drawMatches set transparent matchColor

I am working on one OpenCV Android Project in which i want to compare one stored image with the frame detected in camera and thus showing matched and difference keypoints from both images. And Here i am getting both the matched and differences keypoints in the app currently between 2 images but i need to make the matched keypoints color transparent in below method call:

Scalar GREEN = new Scalar(0, 255, 0, 128);

Features2d.drawMatches(img1, keypoints1, aInputFrame, keypoints2, goodMatches, outputImg, GREEN, RED, drawnMatches, Features2d.DRAW_RICH_KEYPOINTS);


I want to make the GREEN color as transparent so as to display only difference keypoints in the App between two images.

Hope to get quick response from everyone of you.

Regards - Kudoss!!!

click to hide/show revision 3
retagged

updated 2017-12-20 05:32:43 -0500

berak gravatar image

OpenCV Features2d.drawMatches set transparent matchColor

I am working on one OpenCV Android Project in which i want to compare one stored image with the frame detected in camera and thus showing matched and difference keypoints from both images. And Here i am getting both the matched and differences keypoints in the app currently between 2 images but i need to make the matched keypoints color transparent in below method call:

Scalar GREEN = new Scalar(0, 255, 0, 128);

Features2d.drawMatches(img1, keypoints1, aInputFrame, keypoints2, goodMatches, outputImg, GREEN, RED, drawnMatches, Features2d.DRAW_RICH_KEYPOINTS);


I want to make the GREEN color as transparent so as to display only difference keypoints in the App between two images.

Hope to get quick response from everyone of you.

Regards - Kudoss!!!

OpenCV Features2d.drawMatches set transparent matchColor

I am working on one OpenCV Android Project in which i want to compare one stored image with the frame detected in camera and thus showing matched and difference keypoints from both images. And Here i am getting both the matched and differences keypoints in the app currently between 2 images but i need to make the matched keypoints color transparent in below method call:

Scalar GREEN = new Scalar(0, 255, 0, 128);

Features2d.drawMatches(img1, keypoints1, aInputFrame, keypoints2, goodMatches, outputImg, GREEN, RED, drawnMatches, Features2d.DRAW_RICH_KEYPOINTS);


I want to make the GREEN color as transparent so as to display only difference keypoints in the App between two images.

Hope to get quick response from everyone of you.

Regards - Kudoss!!!

OpenCV Features2d.drawMatches set transparent matchColor

I am working on one OpenCV Android Project in which i want to compare one stored image with the frame detected in camera and thus showing matched and difference keypoints from both images. And Here i am getting both the matched and differences keypoints in the app currently between 2 images but i need to make the matched keypoints color transparent in below method call:

Scalar GREEN = new Scalar(0, 255, 0, 128);

Features2d.drawMatches(img1, keypoints1, aInputFrame, keypoints2, goodMatches, outputImg, GREEN, RED, drawnMatches, Features2d.DRAW_RICH_KEYPOINTS);


I want to make the GREEN color as transparent so as to display only difference keypoints in the App between two images.

Hope to get quick response from everyone of you.

Regards - Kudoss!!!

click to hide/show revision 6
retagged

OpenCV Features2d.drawMatches set transparent matchColor

I am working on one OpenCV Android Project in which i want to compare one stored image with the frame detected in camera and thus showing matched and difference keypoints from both images. And Here i am getting both the matched and differences keypoints in the app currently between 2 images but i need to make the matched keypoints color transparent in below method call:

Scalar GREEN = new Scalar(0, 255, 0, 128);

Features2d.drawMatches(img1, keypoints1, aInputFrame, keypoints2, goodMatches, outputImg, GREEN, RED, drawnMatches, Features2d.DRAW_RICH_KEYPOINTS);


I want to make the GREEN color as transparent so as to display only difference keypoints in the App between two images.

Hope to get quick response from everyone of you.

Regards - Kudoss!!!