cv::Mat::at<_Tp>(cv::Vec<int,n>) is defined but is not implemented. (Bug #1521)


Added by Kazuki Matsuda about 13 years ago. Updated about 13 years ago.


Status:Done Start date:
Priority:Blocker Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:core
Target version:2.4.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

This code is well formed and successfully compiled, but cannot be linked.

 1#include <opencv2/opencv.hpp>
 2
 3int main(int argc, char* argv[])
 4{
 5  cv::Mat_<uint8_t> img(128, 128);
 6  cv::Mat img2    = img.clone();;
 7
 8  img.operator()(cv::Vec2i(0,0));
 9  img2.at<uint8_t>(cv::Vec2i(0,0));
10
11  return 0;
12}

cause cv::Mat::at<typename>(cv::Vec<int,n>) is defined but not implemented on core.hpp.

I think we should remove its definition or write its implementation.


core.hpp.patch - patch for remove definition (1.5 kB) Kazuki Matsuda, 2011-12-18 02:25 am


Associated revisions

Revision 676f1923
Added by Vadim Pisarevsky about 13 years ago

added the abstract cv::Algorithm class; low-level exp & fastAtan etc. functions for more efficient SIFT implementation; fixed bug #1521

Revision f68b73f8
Added by Roman Donchenko over 11 years ago

Merge pull request #1521 from nailbiter:optimCG

History

Updated by Vadim Pisarevsky about 13 years ago

thanks! fixed in r7199

  • Status changed from Open to Done
  • (deleted custom field) set to fixed

Updated by Andrey Kamaev about 13 years ago

  • Target version set to 2.4.0
  • Description changed from This code is well formed and successfully compiled, but cannot be linked. &... to This code is well formed and successfully compiled, but cannot be linked. &l... More

Also available in: Atom PDF