initial commit

This commit is contained in:
Dmitriy Anisimov
2014-09-13 18:28:41 +04:00
parent cff5e3ee88
commit 1007c06d44
159 changed files with 118 additions and 5119 deletions

View File

@@ -11,12 +11,12 @@ static void help()
{
cout << "\nThis program demonstrates line finding with the Hough transform.\n"
"Usage:\n"
"./houghlines <image_name>, Default is pic1.png\n" << endl;
"./houghlines <image_name>, Default is ../data/pic1.png\n" << endl;
}
int main(int argc, char** argv)
{
const char* filename = argc >= 2 ? argv[1] : "pic1.png";
const char* filename = argc >= 2 ? argv[1] : "../data/pic1.png";
Mat src = imread(filename, 0);
if(src.empty())