opencv - How to compute signed difference between two 24 bit images? -


i think if use cvsub(img1,img2,dimg,null) dimg stores absolute values after difference. declared img1,img2,dimg iplimage , both img1 , img2 24 bit image (8 bits/channel).

how can compute signed difference of 2 images?

you can convert images(mat files) cv_8sc1 1 channel images , cv_8sc3 3 channel images convertto , use subtract answer!

note: please use c++ version!


Comments

Popular posts from this blog

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -