Straighten
Structures, originating from images captured in a µCT scanner may appear slightly bowed or warped. Straightening these structures is especially interesting in the case of flat geometries and can be used to make the structure in the image lie flat again.

To do so, a surface with a given Surface Degree (between 2 and 10) of a polynomial surface used for interpolation is fitted through the structure and aligned to a plane.
Select the Plane for Straighten in which the structure lies, either in the X-Y, X-Z, or Y-Z direction, or allow the direction to be estimated Automatically.

To compute the automatic alignment to a plane, you have to select which materials should be taken into account for this.
You can select either the complete structure (All Solid Materials), an individual material (Chosen Material), or a choice of Material IDs can be made (Chosen Material IDs).
For your convenience, all Material IDs which denote solids and porous solids are shown at the bottom of the panel.
New voxels are created during the straightening that were not part of the original domain. Under Undecided Material ID select the Material ID to be assigned to the yet undecided voxels.

The bow of a granular structure is removed by applying the straightening here. The bow can be seen in the 2D Cross Section Visualization section. The first and last X-slices are shown here. Compare the two slices to observe the bow in both slices and in the X-direction. Applying the Straightening with the default settings produces a straightened structure, which is shown in both 2D and 3D.