Merge pull request #16853 from SimpleVlad:note

Add link to article for sample "Intelligent scissors"

* Add link to article

* Add autors name

* Fix whitespace
This commit is contained in:
Dizhenin Vlad 2020-03-20 00:39:54 +03:00 committed by GitHub
parent 847190b5b8
commit 8ac333697d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,7 +189,10 @@ int main( int argc, const char** argv )
const int EDGE_THRESHOLD_LOW = 50; const int EDGE_THRESHOLD_LOW = 50;
const int EDGE_THRESHOLD_HIGH = 100; const int EDGE_THRESHOLD_HIGH = 100;
CommandLineParser parser(argc, argv, keys); CommandLineParser parser(argc, argv, keys);
parser.about("\nThis program demonstrates implementation of 'intelligent scissors' algorithm\n" parser.about("\nThis program demonstrates implementation of 'Intelligent Scissors' algorithm designed\n"
"by Eric N. Mortensen and William A. Barrett, and described in article\n"
"'Intelligent Scissors for Image Composition':\n"
"http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.138.3811&rep=rep1&type=pdf\n"
"To start drawing a new contour select a pixel, click LEFT mouse button.\n" "To start drawing a new contour select a pixel, click LEFT mouse button.\n"
"To fix a path click LEFT mouse button again.\n" "To fix a path click LEFT mouse button again.\n"
"To finish drawing a contour click RIGHT mouse button.\n"); "To finish drawing a contour click RIGHT mouse button.\n");