Medical Imaging Interaction Toolkit  2018.4.99-86eb38db
Medical Imaging Interaction Toolkit
Image Cropper Plugin
crop.svg
Icon of the Image Cropper Plugin.

Usage

The Image Cropper Plugin allows to crop subvolumes out of your original image volume by defining a cubic bounding box.

This box can be placed at an arbitrary position in the volume and can be easily adjusted by using the handles on each of the faces. Touching the handles changes the size of the box whereas touching the box itself changes its position.

As soon as the bounding box is placed at the desired position, pressing the button 'Crop' creates a new image assigned to the original image as child node containing only the selected subvolume. The size of the subvolume equals the size of the bounding box. Pressing the "Mask" button keeps the original image size but masks out the area not contained within the bounding box bounds. In case of 3D+t images the whole time series is cropped by default.

BoundingBox_ImageCropperView.png
Bounding Box.
Basic_ImageCropperView.png
Basic Settings.

Advanced settings

In the advanced settings view you find additional features to manipulate the bounding box.

Advanced_ImageCropperView.png
Advanced Settings.

Overwrite original image

By enabling this checkbox the image is replaced by the cropped subvolume. Be careful to use this option since there is no undo action available.

Crop current time step only

If this checkbox is enabled the xD + t image is reduced to a xD image (e.g., 3D+t –> 3D) with the time step visible in the widget. This is useful if you want to extract a single image or its corresponding subvolume of the time series. The whole time series is cropped by default using the timeGeometry of the time step visible in the widget.

Current issues

Cropping 2D images is not supported unless the are 3D images containing only a single slice. The user will be notified by a warning and the input is handled as a single label image.

Right now changing the shape or rotation of the bounding box is not supported but might be integrated in the future.