Exemplo n.º 1
0
/* Copies source array to destination array */
func Copy(src, dst, mask *IplImage) {
	C.cvCopy(unsafe.Pointer(src), unsafe.Pointer(dst), unsafe.Pointer(mask))
}
Exemplo n.º 2
0
/******* Copy / Clone *******/
func (img *Image) CopyTo(dest *Image) {
	dest.InitializeAs(img)
	C.cvCopy(img.ptr, dest.ptr, nil)
}