⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dispimg.m

📁 kmeans clustering in matlab
💻 M
字号:
function dispimg(img)% displays an intensity image (on any intensity scale) using a gray-scale colormap% with 256 colors. The intensity data are scaled to use the full colormap, i.e.,% the darkest pixel is mapped to 1 and the brightest to 256% first create a temporary image which maps the darkest pixel to% 1 and the brightest pixel to 256, using the utility function scale.my = scale(img,-Inf,Inf,1,256);% now plot the image.....figure;   image(y);colormap(gray(256)); 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -