Ask Your Question

curtis newton's profile - activity

2018-07-31 03:26:29 -0600 received badge  Notable Question (source)
2017-06-09 13:20:53 -0600 received badge  Popular Question (source)
2016-03-15 07:56:06 -0600 received badge  Popular Question (source)
2014-09-09 12:13:14 -0600 asked a question DescriptorMatcher::create how to add crosscheck=true

Hello,

is there a way to add cross-checking = true parameter

using DescriptorMatcher::create ?

reagards

2014-09-09 11:36:58 -0600 commented question setup a stereo rig

actually, I find between 60 and 150 matches, I'll try to add some angle to it

2014-09-09 03:48:39 -0600 commented question setup a stereo rig

nop, it is hard plastic. besides, even if the image content does not change and the camera stay put, I get the same issue, even if the features matches are filtered to be consistents

2014-09-08 14:17:55 -0600 asked a question setup a stereo rig

Hello,

I built a stereo camera rig, and I wanted to do triangulation (find X(3d) from xL and xR)

but althought I have good features matches, the fundamental matrix gets sometimes right, sometimes out of whack, no matter what algo I use(ransac, 7pts, 8pts, lmds) if I check xL.t() * F * xR, I get sometimes results close to 0 (barely) sometimes way more than 1

so is it possible that becos of my two cameras are parallel ? should I turn them to some focal point, I though about making it variable, but I would have to recalibrate the rig all the time

the other solution, is to use only one camera and to triangulate from consecutive images (robot moving in 3D space)

any advice is welcome

I can provide the code if needed, but I am pretty sure it is not the issue

image description

2014-09-08 14:09:37 -0600 commented question crazy float number from image pixels

ok I missed that reading the doc thx

2014-09-08 11:31:39 -0600 asked a question crazy float number from image pixels

hello,

I am trying to get pixels values from an image

if I use this line : Vec3b col = imageSource.at<vec3bf>(kp.y, kp.x); I get regular color bytes values

If I use shis one : Vec3f col = imageSource.at<vec3f>(kp.y, kp.x); rgb values are like 1.1234e36 or something

so I would expect values from 0.0 to 1.0 or 0.0 to 255.0 but e+36 ??

I'll go for the bytes version, but the float seemed neat as they are intended for opengl colors floats

2014-09-04 10:00:43 -0600 commented question ubuntu compilation error with 2.4.5

@StevenPuttemans thx for letting me hanging there, hopefully I created another post besides I need highgui cos of imread and imwrite, so I am screwed

2014-09-04 03:49:08 -0600 asked a question ubuntu compilation error with 2.4.5

hello,

I try to add comments to the following thread , but the site is not working or so anyone could look at the issue related in this thread ? :

http://answers.opencv.org/question/40348/error-compiling-245-on-ubuntu/?answer=41017#post-id-41017

appreciate

I tried compiling without the gui wich caused the error, but I got some other error

here is my config line a result

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_EXAMPLES=ON -D WITH_JPEG=ON -D WITH_OPENGL=ON -D WITH_QT=ON -DBUILD_opencv_highgui=OFF ..
-- Detected version of GNU GCC: 48 (408)
-- Found OpenEXR: /usr/lib/arm-linux-gnueabihf/libIlmImf.so
-- checking for module 'gstreamer-base-0.10'
--   package 'gstreamer-base-0.10' not found
-- Looking for linux/videodev.h
-- Looking for linux/videodev.h - not found
-- Looking for linux/videodev2.h
-- Looking for linux/videodev2.h - found
-- Looking for sys/videoio.h
-- Looking for sys/videoio.h - not found
-- Looking for libavformat/avformat.h
-- Looking for libavformat/avformat.h - found
-- Looking for ffmpeg/avformat.h
-- Looking for ffmpeg/avformat.h - not found
-- Could NOT find JNI (missing:  JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) 
-- Module opencv_python disabled because opencv_highgui dependency can't be resolved!
-- Module opencv_videostab disabled because opencv_highgui dependency can't be resolved!
-- 
-- General configuration for OpenCV 2.4.9 =====================================
--   Version control:               2.4.9
-- 
--   Platform:
--     Host:                        Linux 3.4.75 armv7l
--     CMake:                       2.8.12.2
--     CMake generator:             Unix Makefiles
--     CMake build tool:            /usr/bin/make
--     Configuration:               RELEASE
-- 
--   C/C++:
--     Built as dynamic libs?:      YES
--     C++ Compiler:                /usr/bin/c++  (ver 4.8.2)
--     C++ flags (Release):         -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -O3 -DNDEBUG  -DNDEBUG
--     C++ flags (Debug):           -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -g  -O0 -DDEBUG -D_DEBUG
--     C Compiler:                  /usr/bin/cc
--     C flags (Release):           -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -O3 -DNDEBUG  -DNDEBUG
--     C flags (Debug):             -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -g  -O0 -DDEBUG -D_DEBUG
--     Linker flags (Release):      
--     Linker flags (Debug):        
--     Precompiled headers:         YES
-- 
--   OpenCV modules:
--     To be built:                 core flann imgproc features2d calib3d ml video legacy objdetect photo gpu ocl nonfree contrib stitching superres ts
--     Disabled:                    highgui world
--     Disabled by dependency:      python(deps: highgui) videostab(deps: highgui)
--     Unavailable:                 androidcamera dynamicuda java viz
-- 
--   GUI: 
--     QT 5.x:                      YES (ver 5.2.1)
--     QT OpenGL support:           YES (Qt5::OpenGL 5.2.1)
--     OpenGL support:              YES (/usr/lib/arm-linux-gnueabihf/libGLU.so /usr/lib/arm-linux-gnueabihf/libGL.so /usr/lib/arm-linux-gnueabihf/libSM.so /usr/lib/arm-linux-gnueabihf/libICE.so /usr/lib/arm-linux-gnueabihf/libX11.so /usr/lib/arm-linux-gnueabihf/libXext.so)
--     VTK support:                 NO
-- 
--   Media I/O: 
--     ZLib:                        /usr/lib/arm-linux-gnueabihf/libz.so (ver 1.2.8)
--     JPEG:                        /usr/lib/arm-linux-gnueabihf/libjpeg.so (ver )
--     PNG:                         /usr/lib/arm-linux-gnueabihf/libpng ...
(more)
2014-09-03 14:59:25 -0600 answered a question error compiling 2.4.5 on ubuntu

anyone ????

2014-09-01 06:28:21 -0600 commented answer Stereo Calibration (HTC Evo 3D)

i tired but opencv only detects one chess board per image

2014-08-30 11:31:31 -0600 asked a question compile opencv withough gui

hello,

as I cant compile opencv on ubuntu 14.04/arm platform (highgui has errors)

(my previous unresolved thread here http://answers.opencv.org/question/40348/error-compiling-245-on-ubuntu/)

I wanted to know if I could add a compile flag not to use highgui

I use my own anyway

thanks

2014-08-29 10:40:21 -0600 commented answer Epilines not correct

how can you get m & n for matches ? are these key points ? I use c++ and there is no distance variable in keypoints, only in matches

2014-08-29 10:34:41 -0600 commented answer Stereo Calibration (HTC Evo 3D)

great link, but how can I detect multiple chessboard on one image ? didn't even know one could do that findChessboardCorners only detects one chessboard..

2014-08-29 04:50:08 -0600 commented question error compiling 2.4.5 on ubuntu

any idea ?

2014-08-28 12:03:59 -0600 commented question error compiling 2.4.5 on ubuntu

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_EXAMPLES=ON -D WITH_JPEG=ON -D WITH_OPENGL=ON -D WITH_QT=OFF ..

odroid@odroid:~$ uname -a Linux odroid 3.4.75 #1 SMP PREEMPT Thu Jan 2 22:10:03 CST 2014 armv7l armv7l armv7l GNU/Linux

it is an ODROID box, cpu is an arm7/arm15

odroid@odroid:~/WORK/opencv/release$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.1 LTS Release: 14.04 Codename: trusty odroid@odroid:~/WORK/opencv/release$

2014-08-28 08:58:02 -0600 commented question error compiling 2.4.5 on ubuntu

you "sound" like if i was making this up, lol

[ 9%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/bitstrm.cpp.o Linking CXX shared library ../../lib/libopencv_highgui.so /usr/bin/ld: /usr/local/lib/libavcodec.a(avpacket.o): relocation R_ARM_MOVW_ABS_NC against `av_destruct_packet' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libavcodec.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status make[2]: * [lib/libopencv_highgui.so.2.4.9] Error 1 make[1]: [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2 make: ** [all] Error 2

2014-08-28 08:57:03 -0600 commented question error compiling 2.4.5 on ubuntu

I just grabbed the latest 2.4.9 version on ubuntu 14.04 and got exactly the same error :-) so I dont know maybe I am cursed

2014-08-28 05:01:15 -0600 commented answer Stereo Calibration (HTC Evo 3D)

Htc ? yes I use opencv's code, and in fact it works depending on some images set it does not work with too many images, or images that are to much alike, but it is a complete random blind guess if it is going to work or not, a non working set becomes working set by just removing a few images but I can't really figure out the golden rule how to make it work, it took me two days tweaking the image sets to have a decent camera matrix with the result like the one above

2014-08-28 04:56:23 -0600 commented question error compiling 2.4.5 on ubuntu

why? guess (i give you an indice : f@#king ubuntu) I already had these kind of errors( f@#king ARM cpu's) and many other issues trying to compile previous versions of opencv. it takes days and tons of patience to achive that (if possible)

2014-08-27 02:48:33 -0600 commented answer Stereo Calibration (HTC Evo 3D)

yes I thought about the lens having different focales but i use web cams so no auto focus :-) I dont understand why calibration is so random, I get different results with the same set of images the best result i can get is a realy smaller image with the corners completely out of whack so for a 320x200 image i get something like 160x100 working region what a waste.. i thought that croping/aligning one image regarding the other would ask less effort and do the trick but i dont know for sure, i need to calc depth/disparity

2014-08-27 02:45:15 -0600 commented answer error compiling 2.4.5 on ubuntu

yes i did..

2014-08-26 17:39:37 -0600 answered a question Stereo Calibration (HTC Evo 3D)

anyone could answer this ?

i got exactly the same issue

result change all the time, it works nice with opencv example images but for real life tests, it is super hard to have correct matrix setup

2014-08-26 17:37:49 -0600 asked a question stereo calibration help

hello,

i try to do stereo calibration but i get either black images or weird results (distoreted rotated images)

I use stereo_calibration.cpp from opencv 2.4.5

so i got a few questions

  • why do I have different results with the same set of images ?
  • is there a minimum distance between the two cameras?
  • why calibration only use 1 cpu (I got 4 cpus, it could use at leas 2 of them)
  • how could i debug/interpret the resulting matrix ?

please help me thanks

2014-08-26 14:33:19 -0600 asked a question error compiling 2.4.5 on ubuntu

hello ,

trying to compile 2.4.5 from GIT, on Ubuntu

gives this

[code] /usr/bin/ld: /usr/local/lib/libavcodec.a(avpacket.o): relocation R_ARM_MOVW_ABS_NC against `av_destruct_packet' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libavcodec.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status make[2]: * [lib/libopencv_highgui.so.2.4.5] Error 1 make[1]: [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2 make: ** [all] Error 2 [/code]

so i downloaded x264 package and compiled with -pic and -shared option but still get the same issue

please help me out

thanks

2014-08-25 07:24:44 -0600 commented answer Ubuntu - nonfree modules missing

ok, what are the alternative to SURF and SIFT if any ?

2014-08-24 08:31:58 -0600 asked a question Ubuntu - nonfree modules missing

Hello,

i cant use SIFT on Ubuntu / opencv 2.4.5

Netbeans does not find cv::initModule_nonfree();

and there is no opencv2/nonfree directory

i installed all opencv packages

please help me out

thanks

2014-03-03 01:41:51 -0600 asked a question opencv qt4

Hello,

can anyone tell me what version of opencv is compatible (buildable/linkable) with qt4

so far i compile opencv 248 with qt5 but i need qt4(ubuntu leaves me no choices on arm processor) when i compile 248 with qt4 i get nasty errors about opengl redefinition of GLFloats i also tried with 2.4.0 and 2.3.1, still got the same issue seems like it was never meant to compile on ubuntu with qt4

thx

2014-02-28 17:28:37 -0600 asked a question cannot find gpu.hpp

Hello, as i try to compile an opencv code originaly from windows, i get

fatal error: opencv2/gpu/gpu.hpp: No such file or directory

and i cant find that file nowhere in the opencv directory

i got the repository like this

git clone https://github.com/Itseez/opencv.git

so has this been removed ? i cant find anyone having the same issu on the web

plz help me

[i downloaded the stable 2.4.8 and noticed it was there but in the non free section, so is there going to be some alternative in the git repository ?]

2014-02-17 20:41:07 -0600 answered a question cannot add reference to library

yep after copying everything in on rep it works

2014-02-17 20:09:28 -0600 commented question cannot add reference to library

anyone ? i saw other people having the same issue on stackoverflow seems like it is an eclipse bug in some cases (like having workspace on c drive and refering to other project on another drive