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
Error Header File To Convert IplImage to Bitmap
I'm a newbie in OpenCV, an currently following a totorial to display an image using Windows Form App (Visual C++ 2008). The tutorial instruct me to make a header file independently (its called cvToBitmap.h) before applying it on the stdafx.h of the…

anjaryes
- 111
- 1
- 3
- 14
0
votes
2 answers
Converting to Floating Point Image from .tif
I am relatively new to C++ and coding in general and have run into a problem when attempting to convert an image to a floating point image. I am attempting to do this to eliminate round off errors with calculating the mean and standard deviation of…

VeniVici
- 45
- 1
- 6
0
votes
3 answers
How to convert 8 bit IplImage to 24 bit IplImage in OpenCV?
I have an 8 bit IplImage and I want to convert it to a 24 bit IplImage. How can I do this?

Pixel
- 121
- 2
- 19
0
votes
1 answer
how to write an opencv function that take one image as paramater and returns 2 images
i wanna build an opencv function that takes one IplImage image as parameter and returns 2 IplImage images. is this doable in opencv (c++). I prefer if it's using IplImage but i will appreciate other options

Nermeeno Alami
- 69
- 1
- 4
- 9
0
votes
1 answer
Can't open socket C++
I'm trying to send images (using IlpImage library) to VLan (media player) through the network so it can play streaming images and "make" a video.
I'm trying to open a socket but the value of "serversock" gives me always -1 and I don't understand…

xatz
- 425
- 1
- 6
- 14
0
votes
1 answer
Open CV : IplImage is undefined
I am very new in open cv. I want to display a picture. Here is my code:
#include "stdafx.h"
#include
#include
#include
int main( int argc, char** argv ) {
IplImage* img = cvLoadImage(…

cagin
- 5,772
- 14
- 74
- 130
0
votes
1 answer
Segmentation fault in ROS application with iplmage
I'm trying to detect a blob on a video feed with cvBlob lib in my ROS node.
I think, I made a mistake with pointers, but I can't figure out where.
Moreover, do I have to free some of this variable?
Mat& corridorProces(Mat& resultImg)
{
Mat…

Elod
- 499
- 9
- 25
0
votes
1 answer
using cvSetMouseCallback in javacv
I'm fairly new to programming and I have been doing some image processing using javacv but I am having trouble finding a coordinate using a mouse event for an iplimage. I basically want to get a (x,y) coordinate of an iplimage using the left click…

A yousef
- 3
- 4
0
votes
1 answer
cvFlip() flickers or returns null
I'm doing a project which involves taking a live camera feed and displaying it on a window for the user.
As the camera image is the wrong way round by default, I'm flipping it using cvFlip (so the computer screen is like a mirror) like so:
while…

David Omid
- 647
- 6
- 19
0
votes
1 answer
Image width and widthstep, now what?
I have a question dealing with the use of an image's width and widthstep.
I have the dimensions as well as the image data as a QByteArray. I also have the widthstep. My question is how to use the widthstep to properly populate the Ipl Image since…

user1830899
- 11
- 3
0
votes
3 answers
Passing IplImage * to function, original not getting updated
I am having trouble passing IplImage* parameters in functions. This is for a school project and unfortunately am not supposed to edit the files doing the calling to my filter functions. In the main, the image is brought in as a command line…

jrpharis
- 81
- 1
- 1
- 11
0
votes
1 answer
Different pixel value extraction using IplImage (C++) and BufferedImage (JAVA)
I'm currently converting a code that I've done in JAVA into C++ that uses some machine learning algorithm.
The problem is that some pixel values are different if I load the image under java with respect to loading them in C++ (OpenCV).
The JAVA code…

user1735256
- 11
0
votes
1 answer
OpenCV and (not) returning IplImages, when is it okay, when not?
is it okay to do something like this, the code snippet is of course not complete, just to show what I mean:
void draw(IplImage* image){
cvLine(image,cvPoint(20,20),cvPoint(100,100),cvScalar(0,0,255),1);}
int…

user1331044
- 83
- 1
- 11
0
votes
0 answers
Square of each element of imageData in OpenCV's IplImage
I'm using the OpenCV C APIs. Now I need to implement the following Matlab code in C using OpenCV.
Matlab Code:
function [cx, cy] = foe(Vx, Vy)
ofs = 10;
% get sub image (using offsets at border) --> STEP 1
subVx = Vx(ofs:end-ofs,…

ameyazing
- 403
- 12
- 24
0
votes
3 answers
Fastest method to convert IplImage IPL_DEPTH_32S to QImage Format_RGB32
What is the fastest method to convert IplImage IPL_DEPTH_32S to QImage Format_RGB32?
I need to catch pictures from cam and show it on form with frequency 30 frames in second. I tried to use QImage constructor:
QImage qImage((uchar *)…

Robotex
- 1,064
- 6
- 17
- 41