Hi,
I have this piece of code that compiles well but ends with segmentation fault:
IplImage* image_in;
cv_bridge::CvImagePtr cv_im_ptr;
image_in->imageData = (char *) cv_im_ptr->image.data;
So far I fail to see why this goes wrong. Hints and suggestions welcome.