
上QQ阅读APP看书,第一时间看更新
Using scikit-image's astronaut dataset
The following code block shows how we can load the astronaut image from the scikit-image library's image datasets with the data module. The module contains a few other popular datasets, such as cameraman, which can be loaded similarly:
im = data.astronaut()
imshow(im), show()
The next figure shows the output of the preceding code:
