- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
matlab常用命令(Matlab command)
matlab常用命令(Matlab command)
A couple of intimate articles have been combined:
Http:///share/detail/5611700, and /shareshow/blog/item/ed2a0ef4e4eea3e37609d7bc.html
Thanks for saying ~!
% imshow
Imshow is used to display pictures, such as
I = imread (moon.tif);
figure, imshow (I);
Sometimes, in order to process data, the read picture information is converted to higher precision,
I = Double (imread (moon.tif));
In order to ensure accuracy, after the operation of the image matrix I, the data type will change from Unit8 to double. If you run imshow (I) directly, well see a white image. This is because when imshow () displays the image, the double is thought to be white in the 0~1 range, or greater than 1, while the imshow shows the 0~255 range when the uint8 type is displayed. The double data passing through the range of 0-255 is abnormally displayed as a white image.
There are two solutions:
1 imshow (I/256); - transforms an image matrix to 0-1
2 imshow (I, []); - automatically adjust the range of data for display.
From the experimental results, the two methods have solved the problem, but from the image shown, the second methods show a strong picture of black and white contrast!
+++++++++++++++++++++++++++++++++++++++
IMSHOW (I), displays, the, grayscale, image, I.
IMSHOW (I [LOW HIGH]) displays the grayscale image I, specifying the display range for I in [LOW HIGH]. The value LOW (and any value less than LOW displays as black), the value HIGH (and any value greater than HIGH displays white. Values in) as between are displayed as intermediate shades of gray, using the default number of gray levels.
If you use an empty matrix (for[LOW HIGH] IMSHOW uses []), [min (I (:) (max) (I: that))]; is the, minimum value in I is displayed as black, and the maximum value is displayed as white.
+++++++++++++++++++++++++++++++++++++++
The image is y, why is imshow (uint8 (y)) and imshow (y, []) when the images show different results?
Answer:
Imshow (uint8 (y)) is in accordance with th
您可能关注的文档
- SpecialSciDBS使用指南(The SpecialSciDBS usage guide).doc
- solomo(solomo).doc
- SPSS教程_CHAP13_主成分分析与因子分析(SPSS tutorial _CHAP13_ principal component analysis and factor analysis).doc
- spss中英文对照表(SPSS in both Chinese and English).doc
- SPS(SPS).doc
- SQE 试 题 试 卷(SQE test test volume).doc
- SP入行面试38个必答问题(SP is required to interview 38 questions).doc
- SQL 2000和Sql 2005相互转换(SQL 2000 and SQL 2005 interconvert).doc
- SQL Server SA口令解答(SQL Server SA password solution).doc
- SQL Server 不存在或拒绝访问。(SQL Server does not exist or deny access.).doc
- Matlab画图设置线宽和字号(Matlab picture setting line width and font size).doc
- Matlab数理统计工具箱应用简介(Matlab mathematical statistics toolbox application introduction).doc
- MATLAB画图坐标轴变换与设定(MATLAB drawing coordinate axis transformation and setting).doc
- matlab绘图常见命令(Matlab drawing common commands).doc
- Matlab语言与线性电路的符号仿真(Matlab language and linear circuit symbol simulation).doc
- MATLAB遗传算法工具箱及应用(MATLAB genetic algorithm toolbox and application).doc
- MAX+PLUS2的库元件(MAX + PLUS2 library components).doc
- MAX1232(MAX1232).doc
- max常见材质参数(Max common material parameters).doc
- Maya2009下载地址(Maya2009 download address).doc
文档评论(0)