Minor modifications following review by Johannes

This commit is contained in:
Emmanuelle Gouillart
2013-08-24 07:53:16 +02:00
parent 29212a31a7
commit ebe1a18656
2 changed files with 5 additions and 6 deletions
+2 -4
View File
@@ -2,9 +2,7 @@ Getting started
---------------
``scikit-image`` is an image processing Python package that works with
:mod:`numpy` arrays. The package is imported as ``skimage``:
::
:mod:`numpy` arrays. The package is imported as ``skimage``: ::
>>> import skimage
@@ -16,7 +14,7 @@ Most functions of ``skimage`` are found within submodules: ::
A list of submodules and functions is found on the `API reference
<http://scikit-image.org/docs/0.8.0/api/api.html>`_ webpage.
Within ``scikit-image``, images are represented as NumPy arrays, for
Within scikit-image, images are represented as NumPy arrays, for
example 2-D arrays for grayscale 2-D images ::
>>> type(camera)
+3 -2
View File
@@ -30,8 +30,9 @@ modify pixel values: ::
>>> # Turn to black pixel on 3rd line and 10th column
>>> camera[3, 10] = 0
Be careful that the first dimension corresponds to lines, while the
second dimension (fastest varying dimension) stands for columns.
Be careful that the first dimension (``camera.shape[0]``) corresponds to
lines, while the second dimension (``camera.shape[1]``) stands for
columns.
Beyond individual pixels, it is possible to access / modify values of
whole sets of pixels, using the different indexing possibilities of