Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

get memory allocation / normalization

To do normalization using opencv I am using this function:

cvNormalize(Src.data, Src.data, 255, 0, CV_MINMAX);

type of the input is Mat...to be able to use it as a pointer I have used .data but I get memory allocation error when I try this function...

Does anyone have any idea?

Thanks in advance

get memory allocation / error/ normalization

To do normalization using opencv I am using this function:

cvNormalize(Src.data, Src.data, 255, 0, CV_MINMAX);

type of the input is Mat...to be able to use it as a pointer I have used .data but I get memory allocation error when I try this function...

Does anyone have any idea?

Thanks in advance