Skip to content

Transform_threshold_v31

Adrian Quintana edited this page Dec 11, 2017 · 1 revision

!xmipp_transform_threshold (v3.1)

Usage

Threshold volumes and images

See also Transform_mask_v3 Transform_morphology_v3

Parameters

$``: Input file: metadata, stack, volume or image. $--mode &lt;modeoverwrite> where <mode> can be:

    • $--label &lt;image_labelimage> $-o, --output &lt;output_file> $--oroot &lt;root> $--save_metadata_stack &lt;output_md> $: Store the original image filename in the output metadata in column imageOriginal. $: Preserve the columns from the input metadata. Some of the column values can be changed by the program. $``: Select pixels meeting where <mode> can be:
    • $--substitute &lt;substitutionModevalue> where <substitutionMode> can be:

Examples and notes

Threshold a volume below a threshold

xmipp_transform_threshold -i volume.vol -o volumeThresholded.vol --select below 0.01 --substitute value 0
Generate a binary mask based on a threshold and apply it
xmipp_transform_threshold -i volume.vol -o mask.vol --select below 0.5 --substitute binarize
xmipp_transform_morphology -i mask.vol --dil
xmipp_transform_mask -i volume.vol -o volumeMasked.vol --mask mask.vol

User's comments

Clone this wiki locally