Find element position with a limit condition in android

asked 2013-09-30 06:03:24 -0500

itay gravatar image

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

berak gravatar image

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;

edit retag flag offensive close merge delete

Comments

hi itay, please don't use hash signs in the tags, as they only lead to annoying duplicates, thank you!

berak gravatar imageberak ( 2013-09-30 06:10:17 -0500 )edit

Sorry but what is hash signs?

itay gravatar imageitay ( 2013-09-30 06:13:02 -0500 )edit

#android <--> android why do people even do that ?

berak gravatar imageberak ( 2013-09-30 06:17:08 -0500 )edit

Ok, i think i get it :) not happen again.

itay gravatar imageitay ( 2013-09-30 06:19:39 -0500 )edit

hey, no fear, again: nice to have you here ;)

berak gravatar imageberak ( 2013-09-30 06:24:38 -0500 )edit