You can filter images by applying standard image filters, arithmetic operations, and Deep Learning models trained for denoising, super-resolution, and segmentation.
The Image Processing panel appears in a contextual window that includes a preview window and the Data Properties and Settings panel.
See Importing Image Files for information about importing image data.
Image filtering is one of the most fundamental operations of image processing and can greatly improve image quality and yield information that otherwise would have been missed. You should note that some filters are known for detecting or preserving edges, while others are typically used for smoothing or denoising. You should also note that filter performance is dependent both on the input image and on the parameters selected for filtering, such as kernel shape and size, iterations, and interpretation. See Image Filters and Settings for descriptions of the standard image filters available in Dragonfly and Dragonfly Pro and their settings.
Sometimes the best results may be obtained by applying two or more filters sequentially. For example, you may need to preserve edges while smoothing uniform yet noisy areas. In the Image Processing panel, you can simply add sequential filtering operations to create a composite filter. However, you should be careful to note your order of operations as some filters may be contradictory and may not always be simply applied sequentially.
If an operations box is not available, click the Add Operation button.
An output name, based on the input dataset and selected operation, appears automatically in the Output box.
You can rename the output, if required, Simply click inside the output box and then enter the required name.
Changing the output data type to float may be required to prevent unwanted loss of precision or clipping. For example, the Laplacian filter normally produces negative values. If an unsigned data type is used as the output, the negative values will be lost. This could produce an incomprehensible result. Note that "Default" is the data type of the first input.
You can use the interactive text annotations or the tools on the Manipulate and Window Leveling panels to make your adjustments (see Text Annotations, Using the Manipulate Tools, and Window Leveling). You should note that previews are applied to the visible portion of the original image only.
The synchronize options — Zoom, Position, and Window Level — are available on the Scenes Views Synchronizer panel, shown below.
See Synchronizing Scenes Views for information about synchronizing previews with the original image.
The computed preview appears in the preview window (see Previewing Operations).
Click the Add Operation button to add an operation. You can use the output of an operation as the input to another operation.
The comprehensive filters provide the option to process image data with deep learning models trained for tasks such as denoising, segmentation, and image enhancement (see Comprehensive Filters).
You should note that a selection of trained and untrained deep learning models are available for download in the Infinite Toolbox (see Infinite Toolbox). You will need to download or create at least one model before you can access the comprehensive filters.
If an operations box is not available, click the Add Operation button.
You should note that the Deep Learning Denoiser requires both the original data that you need to process and a variation of the original data that was processed with a comparable denoising filter. You should also note that the second input must have the same geometry as the first.
An output name, based on the input dataset and selected operation, appears automatically in the Output box.
You can rename the output, if required, Simply click inside the output box and then enter the required name.
Changing the output data type to float may be required to prevent unwanted loss of precision or clipping. For example, the Laplacian filter normally produces negative values. If an unsigned data type is used as the output, the negative values will be lost. This could produce an incomprehensible result. Note that "Default" is the data type of the first input.
You can use the interactive text annotations or the tools on the Manipulate and Window Leveling panels to make your adjustments (see Text Annotations, Using the Manipulate Tools, and Window Leveling). You should note that previews are applied to the visible portion of the original image only.
The synchronize options — Zoom, Position, and Window Level — are available on the Scenes Views Synchronizer panel, shown below.
See Synchronizing Scenes Views for information about synchronizing previews with the original image.
The computed preview appears in the preview window (see Previewing Operations).
Click the Add Operation button to add an operation. You can use the output of an operation as the input to another operation.
The Arithmetic filter allows you to select a number of inputs and then write an expression to produce an output. For example, addition can be used to add components from one image into another image, subtraction can be used for change detection, and multiplication can be used to increase the average gray level of an image by multiplying it with a constant. See Arithmetic Operations for additional information about applying arithmetic operations.
If an operations box is not available, click the Add Operation button.
An output name, based on the input dataset and operation, appears automatically in the Outputs box.
You can rename the output, if required, Simply click inside the output box and then enter the required name.
To avoid any wrapping of pixel values, all calculations for arithmetic operations are done in float and all outputs are set automatically to the float data type. You should note that if you set an output as another data type when working with the Advanced options, all calculations will still be done in float. However, in such cases, the output data values may be clipped.
The convention for identifying each input within an expression is simply "A" for the first dataset, "B" for the second dataset, "C" for the third, and so on.
You can use the interactive text annotations or the tools on the Manipulate and Window Leveling panels to make your adjustments (see Text Annotations, Using the Manipulate Tools, and Window Leveling). You should note that previews are applied to the visible portion of an image only.
The computed preview appears in the preview window (see Previewing Operations).
The synchronize options — Zoom, Position, and Window Level — are available on the Scene Views Synchronizer panel, shown below.
See Synchronizing Scenes Views for information about synchronizing previews with the original image.
Click the Add Operation button to add an operation. You can use the output of an operation as the input to another operation.
You can create previews in the Image Processing contextual window to evaluate the effects of applying selected operations at their current settings. This arrangement allows you to decide whether to proceed with the current filter or filter combination and their settings, or to adjust the selected filter or filter combination. Note that previews are limited to the currently displayed slice and the visible part of the image. To facilitate reviews, you can synchronize image stacking, pan position, and window leveling between the original dataset and filtering previews.
Previews for the Normalization and Histogram Balancing filters are calculated for the whole image stack. This is required in case these filters are used in a series of operations.
If you need to evaluate filtering at different steps in a series of operations, you can fuse multiple previews in the Preview window. Toggling visibility or changing opacity will allow you view the different previews.
When synchronized, the preview window will be synchronized with the view of the original image (see Synchronizing Scenes Views for more information about the synchronize options).
You can use the interactive text annotations or the tools on the Manipulate and Window Leveling panels to make your adjustments (see Text Annotations, Using the Manipulate Tools, and Window Leveling). You should note that previews are applied to the visible portion of an image only.
The selected operation is highlighted in the Image Processing panel.
The computed preview appears in the preview window.
You can apply a 2D LUT to help visualize filtering effects (see 2D Settings). You can also add annotations, such as rulers and regions, to quantitatively evaluate filtering effects. For example, you can evaluate shading correction by comparing the intensity profiles of the original dataset with the filtered image (see Profiling Intensity).
Processing operations can be applied by one of two mechanisms — either at the input so that the original image data is modifier, or at the output, so that a new dataset is created.
To remove an output, simply click the "X" box on the right. If required, you can also add an output clicking the Add Output button.
After processing is complete, the results will be available in the Data Properties and Settings panel.