您的位置:首页 > 其它

introduction to computer vision

2015-11-21 11:25 169 查看
introduction

ps0

ps0

imread

imwirte

zeros(size()) generates a double matrix, and when imwrite the maxtrix to file, matlab will convert double to [0,1], and convert to [0, 255], and finally the image will be black or white.

uint8

im2uint8

the color image has 3 channels, and the monochrome image has one channel. we can check the number of channels of the image to check whether the image is monochrome or not.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: