Resampling and Cropping.

BioImage supports Dynamic Filters. Dynamic filters change data in some way. Currently, BioImage supports Resample, Crop, Histogram, and Median Filtering. These filters can be added, modified, and removed at any time. Filters are added by pressing one of the filter buttons located at the top of the Processing Pane, see item 1 in Figure 2.1.

In this section the resampling and cropping filters will be used. Before adding filters, minimize the Load Data frame by clicking on the black triangle next to the label Data - Unknown. This will hide the Load Data frame's user interface, leaving space for subsequent filters.

Add a resample filter by clicking the Processing Pane's Resample button. A new frame will appear immediately below the Load Data frame as shown in item 2 of Figure 2.3.

The resampling filter resamples and smooths data in each dimension. To produce half as many samples in each dimension, change x1 (multiply by 1) to x0.5 in each dimension. The x0.5 is a magnification factor applied to the dataset along each dimension. Then select a filter type (cubic B-spline is the default).

Click the Processing Pane's Update button to apply the filter. Notice the panes in the Visualizion Pane update with the resampled images.

Add a cropping filter, by clicking the Processing Pane's Crop button. A new frame will appear below the resample filter frame and cropping controls (boxes) will appear within the slice panes.

Figure 2.3. Resample Filter

User Interface for the Resample Filter.

The extents of the cropping boxes present a visual indication of data remaining after the application of the cropping filter. A cropping box can be resized by clicking and dragging a box's corner or side. A box can be moved by clicking and dragging its interior. Figure 2.4 demonstrates use of cropping controls.

Click the Update button to apply the crop filter to the resampled dataset.

Figure 2.4. Adding a crop filter

Adding a crop filter.

Filters are applied sequentially, first to last (top to bottom in the Processing Pane). If a filter parameter is modified, the Update button must be pressed to apply the filter.

To remove a filter click on its delete button, Filter delete button., then press Update. See “Dynamic Filters” for more information regarding dynamic filters and how to insert and delete them.