I have written a matlab function to calculate entropy of image "ent=entropoy(image)
" and convert it to c++ function by matlab
coder.
I do some calculation at ent in c++
file then try to convert all c++ code to matlab function.
I received the
error: 'cannot convert 'uint8* {aka unsigned int*}' to 'const emxArray_uint8_T*'
in entropy function
How declare image 'which input from matlab' in mex function and use it correctly in entropy function?