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