Error with createBackgroundSubtractor with OpenCV 3.1 and extra module contrib
Hello ! I just installed opencv 3.1, and I wanted to use the function createBackgroundSubtractorMOG. I saw on this post that it was moved to an extra module, so I installed it ( post :...
View ArticleHow to implement CLAHE algorithm in android using opencv 3?
hello, i am new in opencv, i trying to convert grayscale bitmap to CLAHE but i can't. i use this code ImageView img; Bitmap original, grayscale, histogram, resize, threshold; int fixedwidth = 480; int...
View Articlebuild opencv_contrib module for iOS, opencv_xfeatures2d fail
I build framework for OpenCV with opencv_contrib module. OpenCV 3.1 Xcode 7.2.1 I refer http://answers.opencv.org/question/40392/how-to-build-opencv_contrib-module-for-ios/ . but link is not effective....
View ArticleModule nonfree - Features2D + Homography to find a known object - OpenCV 3.1
Hi. Im learning opencv so im trying to run the oficial example Features2D + Homography to find a known object....
View ArticleHow to build opencv 3.1 with CUDA 7.5 and contrib modules?
System: - Windows 8.1 Pro 64 bit - Visual Studio 2013 Professional - CUDA Toolkit 7.5 64 bit - Newest version of OpenCV master and contrib source files from the official git repo I read just about...
View Articlecv:Mat Encoding (RGB vs BGR)
How is the encoding information stored in the in a cv:Mat? Like how it can be known if it is an RGB or a BGR image? (there are other possibilities) As far as I know, it is only the channel number what...
View ArticleImage processing in Unity. Roi and dilate
Hi! I am working with the Opencv Unity plugin. I am trying to make a ROI and using dilate function, but i don't know how to do it. I dont understand how the type Mat works exactly, so if anyone could...
View ArticleHow to put a label of type string in a matrix (KNN)
This line put a label for a trainData mat train_labels.push_back(new Mat (1,1,CvType.CV_32FC1,new Scalar(i))) I would put a string label instead of a float label .is it possible ?
View ArticleInstall opencv 3.0.0 in linux RHEL with python2.7
Hi All, Am trying to install opencv 3.0.0 with python 2.7.6 in virtual environment of Red Hat Enterprise Linux Server release 6.7 (Santiago). when am trying to install image I/O packages using...
View ArticleVirtual reality with opencv and Visual C++
Hi I would like to create a virtual environment using visual C++. I am looking for a suitable library, applied for drawing 3d objects. I would like to draw complex 3D objects. I would like to move...
View Articleimwrite changes the channels when saving
I'm reading an image and doing some processing on the blue channel without changing the Red nor the green channels. When i finished processing the blue channel, i merged back the three channels into...
View ArticleSpecular Highlights detection
Hi guys, I am interested to find a way to detect and remove the specularities from a given indoors image. For example give the following image:  you...
View Articlecv::viz::viz3d Crashes soon after Mouse Interaction OS X
I'm am trying to run a cv::viz thread outside of my main thread to visualize a stream of 3D points.  Notice that missing are the typical 3 buttons for...
View ArticleProjection matrix for voxel carving
I am trying to perform space carving/voxel carving with projection matrices generated in opencv My approach consist in: 1. Camera calibration using chessboard to get the intrinsic matrix K 2. I use...
View ArticleHow can I sort the matrix acc. to the first column?
I have a Mat. I want to change the order of its rows, based on the value of their first element. So a row that begins with 1 will be placed before a row beginning with 2 etc. If two rows begin with...
View ArticleDeconstructor of an SVM object
This question might apply to other objects as well. I need to deconstruct a CvSVM object because I fear the risk of memory leakage. I know that in opencv Mat objects can be explicitly destroyed using...
View ArticleWriting jpeg 2000 images with 16 bit
Hi all, I know there has been a post about OpenCV's issue with writing jp2 images with 16 bit depth, but I'm posting this here in case there has been a workaround since the last post. All I did was to...
View ArticleWhy there are two versions of OpenCV 3.x and 2.4.xx ?
Why there are two versions of openCV 3.x and 2.4.xx ? I 'm still confused , which one should I select , the two versions seems to be active , is there any plan to stop one of them , what is the rule...
View Articlemotion indicator
Hello,how can i build a simple motion indicator?For example; i want it to show a single value between let's say 1-100 where 1 would be no motion at all and 100 would be huge amounts of movement like...
View Article