2015-02-10 37 views

回答

0

如果你使用opencv2,你可以這樣做:

Size size(100,100);//the dst image size,e.g.100x100 
Mat dst;//dst image 
Mat src;//src image 
resize(src,dst,size);//resize image