a little knowledge of opencv

来源:互联网 发布:网络女主播被骗26万 编辑:程序博客网 时间:2024/05/17 21:50

in my course Adveranced processing of Img, I have finished my lab1, grey level tranformation.
based on opencv3.1, visual studio 2015, I used my own code to access threshold transformation, gama transformation, logarithm transformation and complementary tranformation.
In opencv 3.0 , there is no need to use IplImage, the container Mat can fully take the place of it .
Here are several functions of container Mat:
imread(“name”,int 0or1) 0:grey level. 1: not grey
imshow(“name of window”, picture)
Mat.ptr(i), get the pointer of line i;

0 0