Ask Your Question

openedcv's profile - activity

2013-10-29 04:04:04 -0600 asked a question matcher tutorial

hi all...

was following the matching tutorial at: http://docs.opencv.org/doc/tutorials/features2d/feature_homography/feature_homography.html#feature-homography

i pretty much used the same code but the results with my own images are not that great. as you can see on the image bellow the mapped key points are not really as densely located as with the example box images. is there a special procedure to follow to prepare the images prior to using this code? i did use grayscale pngs as the example box.png and box_in_scene.png...

here is my result: http://el.net/img/tmp/result.png

thanks...

(also whenever writing a title for a question here an annoying suggest menu is showing up and no matter what or where i am clicking it does not disappear. it just pushes the text of the message to the right)

2013-10-28 08:56:14 -0600 received badge  Student (source)
2013-10-27 22:11:52 -0600 received badge  Editor (source)
2013-10-27 22:08:33 -0600 asked a question brief_match_test

so hi...

i just installed the opencv 2.4.6.1 and compiled the brief_match_test in cpp samples. when i run it with the example images provided (box.png box_in_scene.png) i get :

OpenCV Error: Assertion failed (mtype == type0 || (CV_MAT_CN(mtype) == CV_MAT_CN(type0) && ((1 << type0) & fixedDepthMask) != 0)) in create, file /usr/local/src/opencv-2.4.6.1/modules/core/src/matrix.cpp, line 1486

terminate called after throwing an instance of 'cv::Exception' what(): /usr/local/src/opencv-2.4.6.1/modules/core/src/matrix.cpp:1486: error: (-215) mtype == type0 || (CV_MAT_CN(mtype) == CV_MAT_CN(type0) && ((1 << type0) & fixedDepthMask) != 0) in function create

Aborted

i get that it checks if that expression is true. but if that is the stock code - i haven't changed anything in either the brief_match_test code or the matrix.cpp - and images provided with the samples why would that expression be a problem..

2013-06-04 01:45:41 -0600 answered a question Undefined symbols for architecture x86_64:

helo...

i'm having the same Undefined symbols for architecture x86_64 problem. like this:

Undefined symbols for architecture x86_64:
  "cv::fastMalloc(unsigned long)", referenced from:
      cv::Ptr<_IplImage>::Ptr(_IplImage*) in main.o
  "cv::Mat::deallocate()", referenced from:
      cv::Mat::release() in main.o
  "cv::Mat::Mat(_IplImage const*, bool)", referenced from:
      _main in main.o
  "cv::Ptr<_IplImage>::delete_obj()", referenced from:
      cv::Ptr<_IplImage>::release() in main.o
  "cv::fastFree(void*)", referenced from:
      cv::Ptr<_IplImage>::release() in main.o
      cv::Mat::~Mat() in main.o
  "_cvLoadImage", referenced from:
      _main in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

this i get when trying to compile an example opencv2 code from the 2.4.5 page. just installed it via cmake on os x 10.8.3. was trying xcode by setting up the build settings: using stdlib and correct include and lib paths. linker is complaining about - apparently according to the answer here above - a 32 bit system. but it's wrong:

$ file libopencv_photo.2.4.5.dylib
libopencv_photo.2.4.5.dylib: Mach-O 64-bit dynamically linked shared library x86_64

i'm really getting tired of trying to compile a simple opencv example on os x with xcode. or without xcode. i built and rebuilt everything a few times. had 2.4.2 and now 2.4.5 and always the same crap: Undefined symbols for architecture x86_64

i'd appreciate some help with this. thanks....