Quantcast
Browsing all 41027 articles
Browse latest View live

cuda::meanShiftSegmentation - Assertion Failed Error

Hi. I'm new to using CUDA with OpenCV so this might be a very simple error but I'm kinda stuck. My code is the following: #include #include #include #include #include using namespace cv; int main( int...

View Article


How to segment an image into three parts using openCV 2.0 in DEV C++ 4.9.9.2

I have a problem in splitting the image into three parts. I need to convert the image into binary and split into three parts. These parts are needed for the further continuation of the project. I need...

View Article


What is the equivalent of cv::Mat in python?

I am trying to convert a openCV c++ code in python.I want to convert the following in python. cv::Mat skinCrCbHist = cv::Mat::zeros(cv::Size(256,256),CV_8UC1); Please help!!

View Article

Error when following instructions

I have followed exactly the instructions indicated at http://docs.opencv.org/2.4/doc/tutorials/introduction/linux_eclipse/linux_eclipse.html for a Kubuntu 15.10 Using Eclipse 3.8. Every thing went...

View Article

import cv2 fails (opencv 3.1 build from source,linux)

Hello, I build opencv 3.1 from source on manjaro linux. I used cmake-gui then make and sudo make install without visible problems. I can find cv2: $ pwd /usr/local/lib/python2.7/site-packages...

View Article


Change width of trackbar

Hi, is there a way to influence the width of the trackbars? My trackbars go from 0 - 500 but the width is to small to increment e.g. by 1 The code is something like that:...

View Article

Extract parts from image

I have tried to use ROI to extract parts of image, but I haven't succeded. I have an image which contains rectangles - outlines of detected moving object.![Input](/upfiles/14551123202156282.jpg) This...

View Article

Building Opencv 3 + contrib for ios: incomplete type 'cv::Mat'

Trying to build opencv3 with opencv_contrib for iOS (only keeping 'text' module there for simplicity but it doesn't really matter). And getting 20 errors like these> error: incomplete type...

View Article


unable to read memory

I use opencv 3.1.0 and have a function at myClass.cpp below; void initialize(Mat frame); and i call the function from main like; myClass temp = myClass::myClass(); temp.initialize(current_frame);...

View Article


Reprojection error with opencv

Hi, I'm looking for a method to obtain all the reprojection errors in a calibration. I know that the functions calibrateCamera and StereoCalibrate returns the final reprojection error but I need the...

View Article

'cv::Exception' in calcOpticalFlowFarneback

There is an exception in running the below : When I debugged I found that the code is crashing in the function call calcOpticalFlowFarneback(). I have just run the sample code written below. Could...

View Article

Video / Image exploratory data analysis: OpenCV a good starting point

Forgive the novice question but is OpenCV a good set of tools to start exploring a dataset of images/video or are there other tools that users would recommend instead to get a feel for a new dataset of...

View Article

Numpy Arrays

I am using python bindings to convert a project ,initially made in C++ , in python. The following is the snapshot of some part of the code : cv::Mat debugImage; CvCapture* capture; cv::Mat frame;...

View Article


How we can detect all object in the image

Hi ,I hope you are fine ,I want to ask you about the detection of object in the image ,how we can detect all object in the image, i had used haartraining and surf but just for ne object ,is it...

View Article

Convert double[2048]to Mat

I have a spectrometer that receives an address and throws 2048 doubles into memory starting at that address. I would like to run it 500 times and at the end have a 500x2048 Mat file where each row...

View Article


how to install opencv

1. after downloading , how to install opencv

View Article

Calibration of images to obtain a top-view for points that lie on a same plane

Same question: http://stackoverflow.com/questions/34461821/calibration-of-images-to-obtain-a-top-view-for-points-that-lie-on-a-same-plane Though, the below code is from Matlab. I am open to any...

View Article


Estimate white background

Hi, I have image with white uneven background (due to lighting). I'm trying to estimate background color and transform image into image with true white background. For this I estimated white color for...

View Article

EM->getCovs

Hi there, I wanna use cv::ml::EM module. However, when I get covariance after estimating GMM in debug mode, there is an error. Error message is "Exception thrown at 0x00007FFBA36AD225...

View Article

Is the function distanceTransform still supported?

I'm trying to use the function distanceTransform(...). However, my compiler keeps saying: namespace cv has no member distanceTransform Is this function still supported? Is it possible that I'm missing...

View Article
Browsing all 41027 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>