Ask Your Question

tenac's profile - activity

2014-01-28 03:13:42 -0600 received badge  Supporter (source)
2014-01-27 11:27:49 -0600 received badge  Editor (source)
2014-01-27 11:25:54 -0600 asked a question 3rdparty libs comprehension question


I built OpenCV 2.4.3 with CMake and Visual Studio 2010 and everything worked fine. When I finally run the 'INSTALL' project, dll, libs and include files are copied to the respective destination folder.

Howerver, in the openCV solution file there also exist an 3rdparty folder including IlmInmf, libjasper, libjpeg, libpng, libtiff and zlib projects, which are additionally compiled but not copied to the installation folder. So I was wondering if i have to copy them manually or if their functionality is already included in the opencv libs?


2013-06-11 10:06:56 -0600 received badge  Critic (source)
2013-06-11 08:25:57 -0600 asked a question Check if binary mask is not empty?


Is there an efficient way to check if a binary mask is not empty, i.e. there is at least one non-zero pixel? I know the function countNonZero() but it causes a slight overhead for my intention since I am not interested in the actual pixel count. Therefore it would be possible to early terminate if any 'true' pixel is found - something like the Matlab function any()...