Debian Codegraph @

doc/features/image/menu_create.rst

raw
1 .. _ima-menu-create:
2
3 Create Images
4 =============
5
6 This section describes how to create new images from various mathematical models.
7
8 .. figure:: /images/shots/i_create.png
9
10 Screenshot of the "Create" menu.
11
12 When the "Image Panel" is selected, the menus and toolbars are updated to
13 provide image-related actions.
14
15 The "Create" menu allows you to create new images from various models (see below).
16
17 New image
18 ^^^^^^^^^
19
20 Create a new image from various models
21 (supported datatypes: uint8, uint16, int16, float32, float64):
22
23 .. list-table::
24 :header-rows: 1
25 :widths: 10, 20, 70
26 :class: longtable
27
28 * - Icon
29 - Model
30 - Equation
31 * - .. image:: ../../../datalab/data/icons/create/2d-zero.svg
32 :width: 30px
33 - Zero
34 - :math:`z[i] = 0`
35 * - .. image:: ../../../datalab/data/icons/create/2d-normal.svg
36 :width: 30px
37 - Normal distribution
38 - :math:`z[i]` is normally distributed with configurable mean and standard deviation
39 * - .. image:: ../../../datalab/data/icons/create/2d-poisson.svg
40 :width: 30px
41 - Poisson distribution
42 - :math:`z[i]` is Poisson distributed with configurable mean
43 * - .. image:: ../../../datalab/data/icons/create/2d-uniform.svg
44 :width: 30px
45 - Uniform distribution
46 - :math:`z[i]` is uniformly distributed between two configurable bounds
47 * - .. image:: ../../../datalab/data/icons/create/2d-gaussian.svg
48 :width: 30px
49 - 2D Gaussian
50 - :math:`z = A \cdot \exp\left(-\dfrac{\left(\sqrt{\left(x-x_0\right)^2+\left(y-y_0\right)^2}-\mu\right)^2}{2\sigma^2}\right)`
51 * - .. image:: ../../../datalab/data/icons/create/2d-ramp.svg
52 :width: 30px
53 - 2D Ramp
54 - :math:`z = A (x - x_0) + B (y - y_0) + C`
55 * - .. image:: ../../../datalab/data/icons/create/checkerboard.svg
56 :width: 30px
57 - Checkerboard
58 - Alternating square pattern for calibration and spatial frequency analysis
59 * - .. image:: ../../../datalab/data/icons/create/grating.svg
60 :width: 30px
61 - Sinusoidal grating
62 - :math:`z = A \sin(2\pi(f_x \cdot x + f_y \cdot y) + \varphi) + C`
63 * - .. image:: ../../../datalab/data/icons/create/ring.svg
64 :width: 30px
65 - Ring pattern
66 - Concentric circular rings for radial analysis
67 * - .. image:: ../../../datalab/data/icons/create/siemens.svg
68 :width: 30px
69 - Siemens star
70 - Radial spoke pattern for resolution testing
71 * - .. image:: ../../../datalab/data/icons/create/2d-sinc.svg
72 :width: 30px
73 - 2D sinc
74 - :math:`z = A \cdot \mathrm{sinc}\left(\dfrac{\sqrt{(x-x_0)^2+(y-y_0)^2}}{\sigma}\right) + C`