Skip to content

Transform_downsample_v31

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

!xmipp_transform_downsample (v3.1)

Usage

Downsample a micrograph. For volumes use xmipp_transform_geometry. There are several downsampling methods. The most general and recommended is Fourier. Fourier downsampling puts a window in Fourier space. This is the best downsampling that can be performed. Altermatively, smoothing makes color dithering which is pretty good for visualization, but it modifies the particle spectrum. Binning with a rectangle kernel modifies the spectrum of the micrographs and is not recommended. You may see the effects of the different downsampling schemes at this article.

The downsampling factor (--step) is the factor by which the micrograph will be reduced. For instance, a downsampling by 2 will reduce the image size to one half. Using Fourier and smooth you may use non-integer downsampling factors, and the image size will be reduced by 1/factor

See also Transform_geometry_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. $``: Downsampling factor. factor=2 reduces the image size to one half. Fourier and smooth support non-integer downsampling factors. Rectangular binning must use integer factors. $--method &lt;mthfourier> where <mth> can be:

Examples and notes

xmipp_transform_downsample -i micrograph.tif -o downsampledMicrograph.tif --step 2

User's comments

Clone this wiki locally