Opencv Normalize image function returns different matrices for Python and C++ -
i normalizing float32 image uint8 between 0 , 255, using normalize function available in opencv using c++ (version 2.4.13) , python (version 3.2). image matrices before normalization same in python , c++. normalize() function returns different matrices. unable understand why.
python: final_output_img initialised array of zeros of same size output_img , of type uint8.
cv2.normalize(output_img, final_output_img, 0, 255, cv2.norm_minmax, dtype = 0)
c++:
normalize( temp, temp, 0, 255, norm_minmax, cv_8uc1 )
Comments
Post a Comment