Skip to content

Image_resize_v31

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

!xmipp_image_resize (v3.1)

Usage

Resize image or volume dimensions. You can select different ways to resize your image/volumes.

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. $``: for 2D-images: do not apply transformation stored in metadata $--factor, -n &lt;n0.5> $ or`--dim, -d <x> <y`x> <z=x> $ or`--fourier, -f <x> <y`x> <z=x> <thr=1> $ or`--pyramid, -p <levels`1> $`--interp <interpolation_type`spline> where <interpolation_type> can be:

Examples and notes

Resize a group of images to half size

xmipp_image_resize -i images.xmd --factor 0.5 --oroot halvedOriginal
For pyramid resizing(increase volume size 4 times):
xmipp_image_resize -i input/bacteriorhodopsin.vol --pyramid 2 -o bdr_x4.vol
Resize from 128 to 64 using Fourier
xmipp_image_resize -i images.xmd --fourier 64 --oroot halvedFourierDim

User's comments

Clone this wiki locally