diff --git a/doc/src/draw.txt b/doc/src/draw.txt index 49e44b06..1e2ba84f 100644 --- a/doc/src/draw.txt +++ b/doc/src/draw.txt @@ -507,3 +507,4 @@ This is a special case of the flood_fill algorithm that is designed to remove dark borders produced by photocopiers or flatbed scanners around the border of the image. + diff --git a/doc/src/externallibraries.txt b/doc/src/externallibraries.txt index e96682e6..65332003 100644 --- a/doc/src/externallibraries.txt +++ b/doc/src/externallibraries.txt @@ -20,7 +20,7 @@ Numpy Instantiates a Gamera image from a Numeric multi-dimensional array *array*. - + The array must be one of the following types and will map to the corresponding Gamera image type: @@ -107,7 +107,7 @@ an image, you can use numpy, as in the following example: **Example 1:** to_numpy -|to_numpy_plugin_00_00| |to_numpy_plugin_00_01| +|to_numpy_plugin_00_00| |to_numpy_plugin_00_01| .. |to_numpy_plugin_00_00| image:: images/to_numpy_plugin_00_00.png :height: 129 @@ -119,7 +119,7 @@ an image, you can use numpy, as in the following example: **Example 2:** to_numpy -|to_numpy_plugin_01_00| |to_numpy_plugin_01_01| +|to_numpy_plugin_01_00| |to_numpy_plugin_01_01| .. |to_numpy_plugin_01_00| image:: images/to_numpy_plugin_01_00.png :height: 67 @@ -131,7 +131,7 @@ an image, you can use numpy, as in the following example: **Example 3:** to_numpy -|to_numpy_plugin_02_00| |to_numpy_plugin_02_01| +|to_numpy_plugin_02_00| |to_numpy_plugin_02_01| .. |to_numpy_plugin_02_00| image:: images/to_numpy_plugin_02_00.png :height: 99 @@ -143,7 +143,7 @@ an image, you can use numpy, as in the following example: **Example 4:** to_numpy -|to_numpy_plugin_03_00| |to_numpy_plugin_03_01| +|to_numpy_plugin_03_00| |to_numpy_plugin_03_01| .. |to_numpy_plugin_03_00| image:: images/to_numpy_plugin_03_00.png :height: 67 @@ -155,7 +155,7 @@ an image, you can use numpy, as in the following example: **Example 5:** to_numpy -|to_numpy_plugin_04_00| |to_numpy_plugin_04_01| +|to_numpy_plugin_04_00| |to_numpy_plugin_04_01| .. |to_numpy_plugin_04_00| image:: images/to_numpy_plugin_04_00.png :height: 67 @@ -226,7 +226,7 @@ May fail for very large images. **Example 1:** to_pil -|to_pil_plugin_00_00| |to_pil_plugin_00_01| +|to_pil_plugin_00_00| |to_pil_plugin_00_01| .. |to_pil_plugin_00_00| image:: images/to_pil_plugin_00_00.png :height: 129 @@ -238,7 +238,7 @@ May fail for very large images. **Example 2:** to_pil -|to_pil_plugin_01_00| |to_pil_plugin_01_01| +|to_pil_plugin_01_00| |to_pil_plugin_01_01| .. |to_pil_plugin_01_00| image:: images/to_pil_plugin_01_00.png :height: 67 @@ -360,8 +360,9 @@ Encodes the image into a 'buffer' required by wx.Image. *scaled_image* to a wx.Bitmap, you can do so as follows: .. code:: Python - + wximg = wx.EmptyImage(scaled_image.ncols, scaled_image.nrows) scaled_image.to_buffer(wximg.GetDataBuffer()) wxbmp = wx.BitmapFromImage(wximg) + diff --git a/doc/src/features.txt b/doc/src/features.txt index 7020077a..1f9b3d39 100644 --- a/doc/src/features.txt +++ b/doc/src/features.txt @@ -210,20 +210,20 @@ rotated projections at +/- 45 degrees. Fourier descriptor for arbitrary (not necessarily connected) shapes -according to equations (18) and (19) in +according to equations (18) and (19) in C. Dalitz, C. Brandt, S. Goebbels, D. Kolanus: `Fourier Descriptors for Broken Shapes`__. EURASIP Journal on Advances in Signal Processing 2013:161, 2013 - -The coefficient c_0 is used for scale normalisation. The -absolute values of the coefficients A(0), A(N-1) A(1), A(N-2), ... are + +The coefficient c_0 is used for scale normalisation. The +absolute values of the coefficients A(0), A(N-1) A(1), A(N-2), ... are returned. +---------------------------+ - | **Invariant to:** | + | **Invariant to:** | +-------+----------+--------+ - | scale | rotation | mirror | + | scale | rotation | mirror | +-------+----------+--------+ | X | X | | +-------+----------+--------+ @@ -258,17 +258,17 @@ returned. Returns *moments* of the image. -The first two elements of the returned ``FloatVector`` are the +The first two elements of the returned ``FloatVector`` are the center of gravity on *x* and *y* axis normalized by width and height, -respectively. The following seven entries are the +respectively. The following seven entries are the *normalized central moments* (*u20,u02,u11,u30,u12,u21,u03*). For their definition, see Gonzalez, Woods: "Digital Image Processing", Prentice Hall, second edition (2002). +---------------------------+ -| **Invariant to:** | +| **Invariant to:** | +-------+----------+--------+ -| scale | rotation | mirror | +| scale | rotation | mirror | +-------+----------+--------+ | X | | | +-------+----------+--------+ @@ -303,9 +303,9 @@ invariant, it is helpful for distinguishing similar symbols of different size. +---------------------------+ -| **Invariant to:** | +| **Invariant to:** | +-------+----------+--------+ -| scale | rotation | mirror | +| scale | rotation | mirror | +-------+----------+--------+ | | | X | +-------+----------+--------+ @@ -345,9 +345,9 @@ The elements of the returned ``FloatVector`` are: 1. horizontal +---------------------------+ -| **Invariant to:** | +| **Invariant to:** | +-------+----------+--------+ -| scale | rotation | mirror | +| scale | rotation | mirror | +-------+----------+--------+ | X | | X | +-------+----------+--------+ @@ -389,9 +389,9 @@ The elements of the returned ``FloatVector`` are: horizonal ``nholes`` for each of the strips in order top to bottom. +---------------------------+ -| **Invariant to:** | +| **Invariant to:** | +-------+----------+--------+ -| scale | rotation | mirror | +| scale | rotation | mirror | +-------+----------+--------+ | X | | | +-------+----------+--------+ @@ -426,9 +426,9 @@ invariant, it is helpful for distinguishing similar symbols of different size. +---------------------------+ -| **Invariant to:** | +| **Invariant to:** | +-------+----------+--------+ -| scale | rotation | mirror | +| scale | rotation | mirror | +-------+----------+--------+ | | | X | +-------+----------+--------+ @@ -473,9 +473,9 @@ a number of properties: 5. Number of *y*-axis crossings with respect to the *y*-axis through the center of mass +---------------------------+ -| **Invariant to:** | +| **Invariant to:** | +-------+----------+--------+ -| scale | rotation | mirror | +| scale | rotation | mirror | +-------+----------+--------+ | X | | X | +-------+----------+--------+ @@ -510,9 +510,9 @@ the first feature is the first row containing a black pixel, and the second feature is the last row containing a black pixel. +---------------------------+ -| **Invariant to:** | +| **Invariant to:** | +-------+----------+--------+ -| scale | rotation | mirror | +| scale | rotation | mirror | +-------+----------+--------+ | X | | X | +-------+----------+--------+ @@ -546,9 +546,9 @@ The percentage of black pixels within the rectangular bounding box of the image. Result in range (0, 1]. +---------------------------+ -| **Invariant to:** | +| **Invariant to:** | +-------+----------+--------+ -| scale | rotation | mirror | +| scale | rotation | mirror | +-------+----------+--------+ | X | | X | +-------+----------+--------+ @@ -582,9 +582,9 @@ Divides the image into a 4 x 4 grid of 16 regions and calculates the volume within each. This feature is also known as "zoning" method. +---------------------------+ -| **Invariant to:** | +| **Invariant to:** | +-------+----------+--------+ -| scale | rotation | mirror | +| scale | rotation | mirror | +-------+----------+--------+ | X | | | +-------+----------+--------+ @@ -618,9 +618,9 @@ Divides the image into an 8 x 8 grid of 64 regions and calculates the volume within each. This feature is also known as "zoning" method. +---------------------------+ -| **Invariant to:** | +| **Invariant to:** | +-------+----------+--------+ -| scale | rotation | mirror | +| scale | rotation | mirror | +-------+----------+--------+ | X | | | +-------+----------+--------+ @@ -670,9 +670,9 @@ The moments *A00* and *A11* are not computed because these are constant under the used normalization scheme. +---------------------------+ -| **Invariant to:** | +| **Invariant to:** | +-------+----------+--------+ -| scale | rotation | mirror | +| scale | rotation | mirror | +-------+----------+--------+ | X | X | X | +-------+----------+--------+ @@ -723,3 +723,4 @@ The return values are the absolute values of The moments *A00* and *A11* are not computed because these are constant under the used normalization scheme. + diff --git a/doc/src/utility.txt b/doc/src/utility.txt index b1533ff7..6a95bea9 100644 --- a/doc/src/utility.txt +++ b/doc/src/utility.txt @@ -335,3 +335,4 @@ Changes to subimages will affect all other subimages viewing the same data. Returns minimal view so that outside of the view only Pixels with *PixelValue* exists. When no *PixelValue* is given, white is used. +