Documentation for Algorithm::getList() is strange (Bug #1972)


Added by Shervin Emami almost 13 years ago. Updated almost 13 years ago.


Status:Done Start date:2012-05-22
Priority:Low Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:documentation
Target version:2.4.1
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

In section 2.1 of the refmanual (page 51) in OpenCV v2.4.0 and including latest SVN #8410, it shows Algorithm::getList() twice, and both of their function names say Algorithm::read() instead of Algorithm::getList().

And perhaps this sample code could be added to the documentation (or one of the same programs):

    vector<string> algorithms;
    Algorithm::getList(algorithms);
    cout << "Algorithms: " << (int)algorithms.size() << endl;
    for (int i=0; i<(int)algorithms.size(); i++) {
        cout << algorithms[i] << endl;
    }

Associated revisions

Revision 01169ec8
Added by Vadim Pisarevsky almost 13 years ago

fixed description of Algorithm::getList(); added sample, thanks to Shervin Emami (ticket #1972)

Revision 5cc4d23d
Added by Vadim Pisarevsky almost 13 years ago

fixed description of cv::invert() (ticket #1972)

Revision b5cdc03b
Added by Andrey Pavlenko about 11 years ago

Merge pull request #1972 from alalek:ocl_queue_cleanup_hung

History

Updated by Vadim Pisarevsky almost 13 years ago

thanks! fixed the description and added your sample in r8437

  • Status changed from Open to Done
  • Target version set to 2.4.1
  • Assignee set to Vadim Pisarevsky

Updated by Shervin Emami almost 13 years ago

Thanks, but there is still a duplicate "getList()" below it. eg: there are 2 getList() sections in "http://opencv.itseez.com/trunk/modules/core/doc/basic_structures.html#algorithm-getlist"

Updated by Vadim Pisarevsky almost 13 years ago

oh,right. thanks! fixed in r8447

Also available in: Atom PDF