Все вопросы: [opencv]

98 вопросов

похожие теги: opencv-mat
3
голосов
1ответов
2595 просмотров

cvCanny and float 32 bit (IPL_DEPTH_32F) problem

I have some problems with OpenCVs cvCanny(...) and the Image data types it can handle. Well, maybe you guys/gals know a solution. I have a 32 bit float image and I want to perform cvCanny on it. The problem is cvCanny can only handle "IPL_DEPTH_8S" or U (signed / unsigned short), or at least tha...

6
голосов
2ответов
7322 просмотров

Convert float array image to a format usable for opencv

i wonder if there is a easy way to convert my float array image to iplimage, which can be handled by opencv. Of course i could create an empty iplimage with the same size and just copy ever pixel from my float array image to the emplty iplimage, but is there more elegant solution to this. Maybe a...

7
голосов
8ответов
10944 просмотров

OpenCV on Embedded Platform

Can some suggest a test/development embedded platform to use with OpenCV. I would like to develop an embedded video analytics solution, but I don't know where to start. Some suggestion/ideas/hw starter kits? Maybe some Pc-104 solutions with Intel Atom? Has someone made some test about performanc...

0
голосов
2ответов
1426 просмотров

Changing RGB values

I am trying to change a part of an image with another image I couldn't find the merging function so I just occur that can I change the rgb values of the part I want to change with the other images RGB values is it possible Thanks for suggestions

66
голосов
5ответов
167731 просмотров

Convert RGB to Black & White in OpenCV

I would like to know how to convert an RGB image into a black & white (binary) image. After conversion, how can I save the modified image to disk?

0
голосов
2ответов
657 просмотров

Heap currupted error in VS2005 with OpenCV?

I'm getting an error called, "corruption of the heap" when I try to debug this simple code, CvCapture* capture = cvCaptureFromFile("1.avi"); if( capture ) { cvNamedWindow( "Motion", 1 ); while(true) { //Grab the f...

7
голосов
4ответов
18573 просмотров

Place an image on an image

I want to place an image on a captured video frame at the coordinates which I determined. I asked that before and I have been told to use cvCopy and cvSetImageROI but I dont want to crop on those coordinates I want to add another image. Maybe it's the right way but I didn't understand it (if i...

3
голосов
2ответов
7703 просмотров

Convert RGB IplImage to 3 arrays

I need some C++/pointer help. When I create an RGB IplImage and I want to access i,j I use the following C++ class taken from: http://www.cs.iit.edu/~agam/cs512/lect-notes/opencv-intro/opencv-intro.html template<class T> class Image { private: IplImage* imgp; public: Image(IplImag...

3
голосов
1ответов
7460 просмотров

openCV combining an image to another image on given coordinates

i wrote a face & eye detection code next step is put an image to the coordinates of the detected eye (for ex: eye patch, eye glasses) i couldn't find the function to combine the source frame and the image I want to add any suggestions thanks

0
голосов
1ответов
878 просмотров

OpenCV in Eclipse on Fedora Library issues

I'm trying to compile a small OpenCV program using Eclipse. I'm limited in library locations, as I'm running them on a University shared server. I have a fully working makefile, with which I can compile and run the program from the terminal as intended, however when using Eclipse, it compiles fin...

1
голосов
1ответов
8118 просмотров

How to read a EAN-13 bar-code from an image in C?

I would like to read a EAN-13 bar-code from an image in C. I found the OpenCV library that should help me to compute the image as well as an article about an iPhone App that can read Sudoku. But in an other hand, I found an opensource library to read DataMatrix bar-code. I would like to join an...

3
голосов
2ответов
5374 просмотров

What does the function CvPoint2D32f in OpenCV

CvPoint2D32f I want to know what this function does, for example: CvPoint2D32f center = cvPoint2D32f(src->width/2,src->height/2);

0
голосов
3ответов
794 просмотров

what 2 & 3 mean in this and how can i change them CvMat* rot = cvCreateMat(2,3,CV_32FC1)

What do 2 & 3 mean in this and how can I change them? CvMat* rot = cvCreateMat(2,3,CV_32FC1) When I change these two values I get an openCV GUI error handler. size of input arguments do not match() in function cvConvertScale.\cxconvert.cpp(1601) I want to understand what that means Update: ...

1
голосов
1ответов
1190 просмотров

New PythonInterface for OpenCV

Hi I'm trying to install OpenCV 2.0 with new PythonInterface. But I always fail. There is only SWIG python interface. And also it seems to be that the PythonInterface was not installed. To build the OpenCV I use: ./configure --without-ffmpeg (I also tried --with-python and without-swig) make s...

2
голосов
1ответов
4398 просмотров

OpenCV: Fetch color, intensity and texture of an image

I'm new to OpenCV and just started sifting through the APIs. I intend to fetch the color, intensity and texture values of each pixel constituting the image. I was fiddling with the structure - IplImage to start with but couldn't make much progress. Please let me know of any means to do this. c...

0
голосов
1ответов
4407 просмотров

OpenCV can't read image!

I am using this code: #include <stdlib.h> #include <stdio.h> #include <math.h> #include <cv.h> #include <highgui.h> #include <cxcore.h> #include <cxtypes.h> int main(int argc, char* argv[]) { IplImage* img = cvLoadImage( "dow2oc8.png" ); cvNamedWindo...

1
голосов
1ответов
236 просмотров

Missing cxcore110d.dll?

When I try to run a opencv hellow world program I get an error saying that the cxcore110d.dll file is not installed and that I need to reinstall the program, but the dll is C:\Program Files (x86)\OpenCV\bin. Any one know who to fix this? The folder is referenced (maybe thats the wrong term) in th...

0
голосов
2ответов
521 просмотров

Call stack corruption between boundaries

This feels a lot like finding a needle in a hay stack but here goes. I'm building a Windows Mobile 6.1 application. Specifically I'm trying to port over the OpenCV framework. Having successfully (doubtfully) compiled OpenCV for the ARM4I architecture, I'm trying it out in a simple hello world st...

1
голосов
2ответов
3771 просмотров

how can i do object detection in c#.net using opencv?

I am trying to do a project "Object detection" I selected the language C#.net. Can I use OpenCV library to do this project in c#.net? If so, what will be the steps and what are the functions in OpenCV library can I use? Please anybody help me... thanx

4
голосов
3ответов
10202 просмотров

How to Install OpenCV2.0 in Mac OS 10.6.1 (Snow Leopard)

I am not a Unix guy, so I have been trying to install openCV 2.0 for days with out success. I just downloaded the opencv library form sourceforge from this page: http://sourceforge.net/projects/opencvlibrary/ Does any one know the exact unix terminal commands for installing it? please don't say ...

3
голосов
3ответов
719 просмотров

Recognizing striked out handwritten words

I am working on handwriting recognition and related stuff on visual studio platform and using openCV libraries. Input is in the form of binary scanned .tif images. Currently I went into a roadblock trying to figure out a way to recognize striked out words as in you strike out (cancel) words usin...

1
голосов
1ответов
1427 просмотров

webcam access using opencv with processing in an applet or application

I made a small sketch with processing using opencv to face detect and track. But when I export as an application and start it nothing happens, same as an applet. First I exported the applet and thought this must be a security issue, and struggled with some hack for processing to sign your java ap...

0
голосов
2ответов
2789 просмотров

Compile OpenCV with ffMpeg support

I'm having problems compiling OpenCV with ffMpeg support under Debian. I downloaded new ffMpeg and installed it, downloaded opencv-1.1pre1.tar.gz and unpacked it. then ./configure --enable-apps --enable-shared --with-ffmpeg --with-gnu-ld --without-quicktime CFLAGS=-I/usr/local/include CPPFLAG...

9
голосов
3ответов
8572 просмотров

OpenCV Vs ImageMagick?

I have an upcoming project which is about image segmentation i.e. to group the pixels constituting the image into clusters based on certain visual properties of the pixel. We plan to do it in C++ and have zeroed in on two image processing/manipulation libraries - OpenCV and ImageMagick. I'm read...

4
голосов
3ответов
14867 просмотров

Alpha channel in OpenCV

does OpenCV support alpha-channel? Or is there any way to work with transparent png? I need to merge two images, where the first one is background and the second one is image which was rotated by cvWarpAffine. I can do this by merging pixels one by one and omit pixels with some value, which I set...

5
голосов
4ответов
15512 просмотров

Compressing IplImage to JPEG using libjpeg in OpenCV

So I have this problem. I have an IplImage that i want to compress to JPEG and do something with it. I use libjpeg. I found a lot of answers "read through examples and docs" and such and did that. And successfully written a function for that. FILE* convert2jpeg(IplImage* frame) { FILE* outstrea...

1
голосов
3ответов
4476 просмотров

cvLoadImage() fails whem loading *.jpg

I am trying to load a JPEG image using the cvLoadImage function and it fails. I get the output "image not loaded" (see the code below). However a window appears but no picture. When trying to load png pictures the cvLoadImage operation is successful, i.e. the picture is presented in a window. Is ...

0
голосов
1ответов
1668 просмотров

Qt + OpenCV + eclipse (on windows)

can anyone please help me with a tutorial for integrating Qt and OpenCV on eclipse IDE? (windows). Qt works just fine, OpenCV works just fine, but together - no good.. I'm losing my mind here.. Thanks!

1
голосов
1ответов
3264 просмотров

OpenCV highgui110.dll Link Error

i encounter an error like Error 1 fatal error LNK1107: invalid or corrupt file: cannot read at 0x2C8 C:\Program Files\OpenCV\bin\highgui110.dll Additional Include Directories C:\Program Files\OpenCV\cxcore\include C:\Program Files\OpenCV\otherlibs\highgui C:\Program Files\OpenCV\cv\include ...

7
голосов
2ответов
6340 просмотров

How to test proximity of lines (Hough transform) in OpenCV

(This is a follow-up from this previous question). I was able to successfully use OpenCV / Hough transforms to detect lines in pictures (scanned text); at first it would detect many many lines (at least one line per line of text), but by adjusting the 'threshold' parameter via trial-and-error, i...