the develop environment is vs2008, the language is c++, when I release the problem,at beginning it run with out problem but after several minutes it stop and show error like that : HEAP[guessModel.exe]: Invalid Address specified to RtlFreeHeap( 003E0000, 7D7C737B ).
who can tell me the reason of the error. thank you very much.
...
I'm having a problem with OpenCV's various parameterization of coordinates used for camera calibration purposes. The problem is that three different sources of information on image distortion formulae apparently give three non-equivalent description of the parameters and equations involved:
(1) In their book "Learning OpenCV…" Bradski ...
generally we display webcam or video motion in opencv windows with :
CvCapture* capture = cvCreateCameraCapture(0);
cvNamedWindow( "title", CV_WINDOW_AUTOSIZE );
cvMoveWindow("title",x,y);
while(1)
{
frame = cvQueryFrame( capture );
if( !frame )
{
break;
}
cvShowImage( "title", frame ...
I have the 3x3 transformation matrix that goes through the cvWarpPerspective, I would like to extract the four corner coordinates value.
CvMat* M;
M = xxxxxxxxxxx ;// Matrix was generated by a certain process
cvWarpPerspective( img, transformed, M, CV_INTER_LINEAR + CV_WARP_FILL_OUTLIERS, cvScalarAll( 0 ) ); //
this creates a compl...
When I use this code to rotate the image, the destination image size remains same and hence the image gets clipped. Please provide me a way/code snippet to resize accordingly (like matlab does in imrotate) so that image does not get clipped and outlier pixels gets filled with all white instead of black. I dont image to be scaled down to ...
I've been using ctypes-opencv for a while.
If I run cvGoodFeaturesToTrack the way it is used in the demo, I get the following error:
OpenCV ERROR: Null pointer (NULL array pointer is passed)
in function cvGetMat, cxarray.cpp(2780)
Terminating the application...
called from cvUnregisterType, cxpersistence.cpp(4933)
Terminating th...
Hi,
I wrote the code for hough transformation and it works well. Also I can crop the eye location of a face. Now I want to detect the iris of the crop image with applying the Hough transformation(cvHoughCircle). However when I try this procedure, the system is not able to find any circle on the image.
Maybe, the reason is, there are noi...
Hi,
I am trying to stich two images together.
In order to do so I extracted sift features and find matches on the two images using this C implementation.
http://web.engr.oregonstate.edu/~hess/index.html
After that I found the homography matrix using the matched points.
http://www.ics.forth.gr/~lourakis/homest/
But if I use this ...
Hi, I am looking to detect an airplane in a image using OpenCV, and I have no idea where to get started.....
I don't know that much about OpenCV so I don't know what approaches I can take. For what I understand I need a haarcascade xml file that defines an airplane image, but there could be other ways I don't know of.
Someone please giv...
Hi,
I am trying to find the easiest way to add, subtract a scalar value with a opencv 2.0 cv::Mat class.
Most of the existing function allows only matrix-matrix and matrix-scalar operations.
I am looking for a scalar-matrix operations.
I am doing it currently by creating a temporary matrix with the same scalar value and doing require...
I have an OpenCV matrix of double (CV_32F) values. I'd like to save it to the disk. I know, I could convert it to an 1-Channel 8-bit IplImage and save it. But that way, I loose precision. Is there a way to save it directly in the 32-bit format, without having to convert it first? It also would be nice, if the resulting file would have an...
I am currently creating an opencv program that identifies a hand in an image and then gets the contour of the hand only, in order for us to get the center (x,y)m in pixels, of the hand.
The problem is that whenever the image or video includes an arm or a face, we can't split or separate the hand from the contours of the arm or the face...
I am working on an image manipulation problem. I have an overhead projector that projects onto a screen, and I have a camera that takes pictures of that. I can establish a 1:1 correspondence between a subset of projector coordinates and a subset of camera pixels by projecting dots on the screen and finding the centers of mass of the re...
The formula says:
Y = 0.299 * R + 0.587 * G + 0.114 * B;
U = -0.14713 * R - 0.28886 * G + 0.436 * B;
V = 0.615 * R - 0.51499 * G - 0.10001 * B;
What if, for example, the U variable becomes negative?
U = -0.14713 * R - 0.28886 * G + 0.436 * B;
Assume maximum values for R and G (ones) and B = 0
So, I am interested in implementing t...
How do I get a .NET Bitmap and an OpenCV image to point to the same chunk of memory? I know that I can copy from one to the other, but I would prefer that they just point to the same pixels.
Bonus points for a solution using Emgu.
...
I have tried two brands of ctypes (ctypes-opencv and another) wrappers for OpenCV (2.0 from svn head), can use Python and OpenCV in the Python console, but whenever I try to import the packages (from ctypes_opencv import *) from another Python file, I get the following error message:
OSError:
dlopen(/usr/local/lib/libcv.dylib, 6):
...
Hi,
What packages do I need to install openCV on ubuntu lucid 10.04 ?
Do I need to do anything else to be able to compile a simple c example
like setting an env variable or changing the path?
Is gcc a good compiler for openCV?
The example I'm trying to compile:
int main( int argc, char** argv ) {
IplImage* img = cvLoadImage( argv[1] ...
Hi,
I'm working on a program that detects circular shapes in images. I decided a Hough Transform would be the best, and I found one in the OpenCV library. The problem is that when I try to use it I get an error that I have no idea how to fix. Is OpenCV for Python not fully implemented? Is there a fix to the library I need for the progra...
I know, that the issue had been widely discussed before, but after 5 hours of inefficient googling I guess I deserve to ask :) By the way, all such problems concerned earlier versions of OpenCV, so..
I've compiled fresh OpenCV 2.1. from source under Ubuntu 9.10. It works fine except of cvCreateVideoWriter, which returns null to the fo...
Hi, i'm trying to do video windowing that is:
show all frames from a video and also some sub-image from each frame. This sub-image can change size and be taken from a different position of the original frame.
So , the code i've written does basically this:
cvQueryFrame to get a new image from the video
Create a new IplImage (img) wi...