A few changes to comply with upstream requirements for merge.
authorJason Newton <jason@utopiacompression.com>
Tue, 27 Nov 2012 10:25:52 +0000 (02:25 -0800)
committerJason Newton <jason@utopiacompression.com>
Tue, 27 Nov 2012 10:31:38 +0000 (02:31 -0800)
commit00bdca76846cffea00febfb533f77ccb96d18592
treefd649e3fd208e63e9e15a86b8201f7df90708dce
parentd5aa679d3fdc1c778bcfc50d8340877c9bfa9def
A few changes to comply with upstream requirements for merge.

-Change input/output order from (out Labeled, in Image) -> (in Image, Out Labeled) and convert
to Input/OutputArrays in the process.

-Adopt OutputArray for statistics export so that the algorithm is "wrapper friendly" and not requiring a new struct in
language bindings at the expense of using doubles for everything and slowing statistics computation down..
modules/imgproc/include/opencv2/imgproc/imgproc.hpp
modules/imgproc/src/connectedcomponents.cpp
modules/python/src2/cv2.cpp
samples/cpp/connected_components.cpp