Added the "Interoperability with OpenCV 1" tutorial.

This commit is contained in:
Bernat Gabor
2011-08-08 05:58:10 +00:00
parent b486a96601
commit ed801d3e65
5 changed files with 156 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ int main( int argc, char** argv )
vector<Mat> planes; // Use the STL's vector structure to store multiple Mat objects
split(I_YUV, planes); // split the image into separate color planes (Y U V)
#if 0 // change it to 0 if you want to see a blurred and noisy version of this processing
#if 1 // change it to 0 if you want to see a blurred and noisy version of this processing
// Mat scanning
// Method 1. process Y plane using an iterator
MatIterator_<uchar> it = planes[0].begin<uchar>(), it_end = planes[0].end<uchar>();