Created
May 22, 2015 13:39
-
-
Save codeOfRobin/530ad0e6058e10e9801b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int const max_BINARY_value = 2147483647; | |
cv::Mat src_gray=[self cvMatFromUIImage:img.image]; | |
cv::Mat dst; | |
dst=src_gray; | |
cv::cvtColor(src_gray, dst, cv::COLOR_RGB2GRAY); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment