func (img *IplImage) Reshape(channels, rows, _type int) *Mat {
	total := img.Width() * img.Height()
	header := CreateMat(rows, total/rows, _type)
	n := C.cvReshape(unsafe.Pointer(img), (*C.CvMat)(header), C.int(channels), C.int(rows))
	return (*Mat)(n)
}
func (img *IplImage) Reshape(channels, rows, _type int) *Mat {
	total := img.Width() * img.Height()
	header := CreateMat(rows, total/rows, _type)
	n := C.cvReshape(unsafe.Pointer(img), (*C.CvMat)(header), C.int(channels), C.int(rows))
	return (*Mat)(n)
}
func ( img * IplImage ) Reshape ( channels , rows , _type int ) * Mat { total := img . Width ( ) * img . Height ( ) header := CreateMat ( rows , total / rows , _type ) n := C . cvReshape ( unsafe . Pointer ( img ) , ( * C . CvMat ) ( header ) , C . int ( channels ) , C . int ( rows ) ) return ( * Mat ) ( n ) }
/*
Reshape changes shape of the image without copying data. A value of `0` means
that channels or rows remain unchanged.
*/
/ * Reshape changes shape of the image without copying data . A value of 0 means that channels or rows remain unchanged .