Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Find element position with a limit condition in android

Hi,

I would like to know if there is a way to do this function(from Matlab) in opencv:

 [R_max_G2 , C_max_G2] = find(max_G2 > 76);

My problem is that i don't want to use 2D for loop or ather kind of loop.

I just want to know if there is another combination in opencv to do this.

This function find the elements in max_G2 that greater than 76 and place their location in R_max_G2 and C_max_G2 arrays;

click to hide/show revision 2
retagged

updated 2013-09-30 06:09:15 -0600

berak gravatar image

Find element position with a limit condition in android

Hi,

I would like to know if there is a way to do this function(from Matlab) in opencv:

 [R_max_G2 , C_max_G2] = find(max_G2 > 76);

My problem is that i don't want to use 2D for loop or ather kind of loop.

I just want to know if there is another combination in opencv to do this.

This function find the elements in max_G2 that greater than 76 and place their location in R_max_G2 and C_max_G2 arrays;