Implemented Stéfan's minor comments.

This commit is contained in:
emmanuelle
2014-11-22 18:33:22 +01:00
parent ad3400dd47
commit 236274abfd
3 changed files with 8 additions and 3 deletions
+1
View File
@@ -1,3 +1,4 @@
.. _data_types:
===================================
Image data types and what they mean
+3 -3
View File
@@ -24,12 +24,12 @@ example 2-D arrays for grayscale 2-D images ::
(512, 512)
The :mod:`skimage.data` submodule provides a set of functions returning
model images, that can be used to get started quickly on using
example images, that can be used to get started quickly on using
scikit-image's functions: ::
>>> coins = data.coins()
>>> from skimage import filter
>>> threshold_value = filter.threshold_otsu(coins)
>>> from skimage import filters
>>> threshold_value = filters.threshold_otsu(coins)
>>> threshold_value
107
+4
View File
@@ -21,6 +21,10 @@ Retrieving statistical information about gray values: ::
>>> camera.mean()
118.31400299072266
Numpy arrays representing images can be of different integer of float
numerical types. See :ref:`data_types` for more information about data
types.
Numpy indexing can be used both for looking at pixel values, and to
modify pixel values: ::