1 | initial version |
In the cvCloneImage function do not need create header & data for destination image because cvCloneImage create and return it.
In the cvCopyImage you have to create destination image and cvCopyImage copy image data from source to destination image