当前位置:网站首页>scikit-image图像处理笔记
scikit-image图像处理笔记
2022-08-05 05:25:00 【ProfSnail】
scikit-image内置部分数据集,以及图像处理方法。介绍几个学来感觉有用的函数和方法。
参考资料:《Python图像处理实战》
安装方法:pip install scikit-image
导入方法:
from skimage.io import imread, imsave, imshow, show, imread_collection, imshow_collection
from skimage import color, viewer, exposure, img_as_float, data
from skimage.transform import SimilarityTransform, warp, swirl
from skimage.util import invert, random_noise, montage
使用scikit-image内置的数据集
im = data.astronaut()
imshow(im), show()
一次性同时读取和显示多个图像:
imread_collection? =>
Signature:
imread_collection(
load_pattern,
conserve_memory=True,
plugin=None,
**plugin_args,
)
Docstring:
Load a collection of images.
Parameters
----------
load_pattern : str or list
List of objects to load. These are usually filenames, but may
vary depending on the currently active plugin. See the docstring
for ``ImageCollection`` for the default behaviour of this parameter.
conserve_memory : bool, optional
If True, never keep more than one in memory at a specific
time. Otherwise, images will be cached once they are loaded.
Returns
-------
ic : ImageCollection
Collection of images.
Other Parameters
----------------
plugin_args : keywords
Passed to the given plugin.
File: c:\users\zhang\appdata\local\programs\python\python37\lib\site-packages\skimage\io\_io.py
Type: function
使用方法:
ic = imread_collection(ic = imread_collection(['images/69015.jpg','images/210088.jpg', 'images/cat1.png'])
imshow_collection(ic)
# <Figure size 640x480 with 4 Axes>
show()
边栏推荐
- Insight into the general trend of the Internet, after reading this article, you will have a thorough understanding of Chinese domain names
- D46_Force applied to rigid body
- ROS2下使用ROS1 bag的方法
- The future of cloud gaming
- 初识网页与浏览器
- Browser Storage WebStorage
- 网络排错基础-学习笔记
- What?CDN cache acceleration only works for accelerating static content?
- Advantages of overseas servers
- 七种让盒子水平垂直居中的方法
猜你喜欢
By solving these three problems, the operation and maintenance efficiency will exceed 90% of the hospital
BIO, NIO, AIO practical study notes (easy to understand theory)
传输层协议
el-autocomplete使用
人人AI(吴恩达系列)
Take you in-depth understanding of cookies
Teach you simple steps to achieve industrial raspberries pie properly installed RS232 USB drive
VLAN介绍与实验
The 25 best free games on mobile in 2020
selenium学习
随机推荐
DevOps - Understanding Learning
Xiaodu Xiaodu is here!
【考研结束第一天,过于空虚,想对自己进行总结一下】
Tencent Cloud Message Queue CMQ
Quick question and quick answer - FAQ of Tencent Cloud Server
NAT experiment
CIPU, what impact does it have on the cloud computing industry?
Dry!Teach you to use industrial raspberries pie combining CODESYS configuration EtherCAT master station
numpy.random使用文档
Autoware--Beike Tianhui rfans lidar uses the camera & lidar joint calibration file to verify the fusion effect of point cloud images
Difference between link and @improt
Come, come, let you understand how Cocos Creator reads and writes JSON files
单片机期末复习大题
滚动条问题,未解决
Shadowless Cloud Desktop
input详解之文件上传
请问下通过flink sql读取hologres 的两张表的 binlog,然后如何进行join?
The future of cloud gaming
[Problem has been resolved]-Virtual machine error contains a file system with errors check forced
product learning materials