Create Images#
This section describes how to create new images from various mathematical models.
Screenshot of the “Create” menu.#
When the “Image Panel” is selected, the menus and toolbars are updated to provide image-related actions.
The “Create” menu allows you to create new images from various models (see below).
New image#
Create a new image from various models (supported datatypes: uint8, uint16, int16, float32, float64):
The 2D sinc uses the unnormalized definition \(\mathrm{sinc}(u) = \dfrac{\sin(u)}{u}\), with \(\mathrm{sinc}(0) = 1\), as the cardinal sine signal: it first vanishes at the distance \(\pi \sigma\) from its center.
The Gaussian, ramp, sinusoidal grating, ring pattern, Siemens star and 2D sinc models are computed over a domain \([x_{min}, x_{max}] \times [y_{min}, y_{max}]\). When the Physical coordinates option is enabled (default), this domain defines the image coordinates: the axes show \(x\) and \(y\) as used in the equation, so that centers, widths and spatial frequencies can be read directly on the image (e.g. a sinusoidal grating of frequency \(f_x = 0.1\) shows one period every 10 units along the X axis). When the option is disabled, the image is displayed in pixel coordinates.
Note
Images created with DataLab 1.3 or earlier were displayed in pixel coordinates: they keep these coordinates when their creation parameters are edited or recomputed.