From 236274abfda680e08277001f8e8ad6a10f201c32 Mon Sep 17 00:00:00 2001 From: emmanuelle Date: Sat, 22 Nov 2014 18:33:22 +0100 Subject: [PATCH] =?UTF-8?q?Implemented=20St=C3=A9fan's=20minor=20comments.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/source/user_guide/data_types.txt | 1 + doc/source/user_guide/getting_started.txt | 6 +++--- doc/source/user_guide/numpy_images.txt | 4 ++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/source/user_guide/data_types.txt b/doc/source/user_guide/data_types.txt index 43ea8e9b..7d2b9e2f 100644 --- a/doc/source/user_guide/data_types.txt +++ b/doc/source/user_guide/data_types.txt @@ -1,3 +1,4 @@ +.. _data_types: =================================== Image data types and what they mean diff --git a/doc/source/user_guide/getting_started.txt b/doc/source/user_guide/getting_started.txt index 87a9d287..4013e2fa 100644 --- a/doc/source/user_guide/getting_started.txt +++ b/doc/source/user_guide/getting_started.txt @@ -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 diff --git a/doc/source/user_guide/numpy_images.txt b/doc/source/user_guide/numpy_images.txt index c03f703b..60358be5 100644 --- a/doc/source/user_guide/numpy_images.txt +++ b/doc/source/user_guide/numpy_images.txt @@ -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: ::