Package pycv :: Package cs :: Package cv :: Module cv
[hide private]
[frames] | no frames]

Module cv

source code

Functions [hide private]
 
fromIplImage(img)
Convert a POINTER(IplImage) into numpy.array
source code
 
fromCvMat(mat)
Convert a POINTER(CvMat) into numpy.array
source code
Variables [hide private]
  datapath = 'M:\\utils\\Python25\\lib\\site-packages\\pycv\\cs\...
  _dict_opencvdepth2dtype = {1: 'bool', 8: 'uint8', 16: 'uint16'...
  _dict_opencvmat2dtype = {0: 'uint8', 1: 'int8', 2: 'uint16', 3...
Function Details [hide private]

fromIplImage(img)

source code 

Convert a POINTER(IplImage) into numpy.array

Input:

img: a POINTER(IplImage)

Output:

img2: a numpy.array

fromCvMat(mat)

source code 

Convert a POINTER(CvMat) into numpy.array

Input:

mat: a POINTER(CvMat)

Output:

mat2: a numpy.array


Variables Details [hide private]

datapath

Value:
'M:\\utils\\Python25\\lib\\site-packages\\pycv\\cs\\cv\\data'

_dict_opencvdepth2dtype

Value:
{1: 'bool',
 8: 'uint8',
 16: 'uint16',
 32: 'float32',
 64: 'float64',
 2147483656: 'int8',
 2147483664: 'int16',
 2147483680: 'int32'}

_dict_opencvmat2dtype

Value:
{0: 'uint8',
 1: 'int8',
 2: 'uint16',
 3: 'int16',
 4: 'int32',
 5: 'float32',
 6: 'float64'}