# Revision history [back]

### make black image in opencv using Iplimage of user specified dimensions

I am new to opencv. I want to make a black image of user specified dimensions . I have found this

Mat atom_image = Mat::zeros( w, w, CV_8UC3 );


for Mat but i want to use IplImage * . Is there any method similar to the above for IplImage . Thanks for any help.

 2 No.2 Revision StevenPuttemans 20029 ●16 ●82 ●207 http://stevenputtemans...

### make black image in opencv using Iplimage of user specified dimensions

I am new to opencv. I want to make a black image of user specified dimensions . I have found this

Mat atom_image = Mat::zeros( w, w, CV_8UC3 );


for Mat but i want to use IplImage * . Is there any method similar to the above for IplImage . Thanks for any help.