iplimage is one of the basic data structures used in OpenCV to store information about the images.
Questions tagged [iplimage]
160 questions
0
votes
1 answer
conversion of cvMat to IplImage
I have two programs, one which accepts an Image as a matrix and does the processing like tracking objects using contour detection.The second program takes image as an array(IplImage) and counting no. of objects.But I want to merge these programs to…

user1386438
- 51
- 4
0
votes
1 answer
Copy grayscale, color and canny images(3) all into one large IplImage:Opencv Error?
I've a source code(test.cpp) that supposed to display three images(color, grayscale and canny) copied to a large image from a avi file(frame by frame) and showed in a single window. I'm using OpenCV library with c++ compiler(gnu) on linux…
user991511
0
votes
2 answers
What is the best way to be able to use Mat object as IplImage object and vice versa?
I am really confused by using Mat and IplImage objects in OpenCV. I read a lot of questions and answers here but I am still in trouble with these 2 types.
Many times, I need converting them to each other that is what makes me lost in those…

Horizon1710
- 792
- 10
- 28
-1
votes
1 answer
How to compare two image with c
I'd like to implement an algorithm capable of comparing two images using the C api of OpenCV 3.0.0 .
The image are captured by webcam so they have the same resolution (don't worry is small) and the same file format (jpeg) (but we can change it if we…

Andrea
- 1
- 1
-1
votes
1 answer
opencv IplImage assign IpImage
void GrayFilterCommand::apply_filter(IplImage* image) {
if (!image) {
throw ....
}
IplImage *gray_image = cvCreateImage(cvGetSize(image), IPL_DEPTH_8U, 1);
if (!gray_image) {
throw ....
}
cvCvtColor(image, gray_image, CV_BGR2GRAY);
image =…

russianstudent
- 129
- 2
- 12
-1
votes
1 answer
What is the equivalent function for " cvWriteFrame " to use Mat - image type?
What is the equivalent function for " cvWriteFrame " to use Mat - image type ?
In IplImage it can be done using like below:
CvVideoWriter *writer;
IplImage* frame = " IMAGE ";
cvWriteFrame(writer, frame);
How to write video for Mat Files.

RoboMe
- 113
- 2
- 13
-1
votes
3 answers
Contrast & brightness of images using IplImage
Please have a look at the following code
using namespace cv;
double alpha = 1.6;
int beta = 50;
int i = 0;
IplImage* input_img = cvLoadImage("c:\\Moori.jpg", CV_LOAD_IMAGE_GRAYSCALE);
IplImage* imageGray = cvCreateImage(cvSize(input_img->width,…

IRFAN
- 21
- 4
-1
votes
1 answer
How can I put an image with the Asset Manager into a IplImage?
I have a problem with my pictures which need to be loaded. The problem is that they are in the asset folder and I tried to load them with the path:
static String objectFilename = "file:///android_asset/sblinksoben.png";
After that I tried to load…

Sander
- 73
- 2
- 10
-2
votes
1 answer
Set IplImage from object Bitmap and get result from IplImage to be a jIntArray
I am working on android / JNI / Opencv. I need to read a jObject set to be a Bitmap, send it to be an IplImage * inside a function then the output will be converted back to jintArray. This is my code:
JNIEXPORT void JNICALL…

capitalmotions360
- 17
- 2
-2
votes
1 answer
opencv python transfer ((uchar*)(img->imageData img->widthStep*i))[j];
I tried to transfer opencv c++ code to python.
but i got no idea how to change this line below:
((uchar*)(img->imageData + img->widthStep*i))[j];
when i write it like this:
(img.imageData + img.widthStep * i)[j]
it occurs this Error…

Frankjs
- 565
- 1
- 4
- 14