Skip to content

ConvertImagesToXmipp

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

Eman to Xmipp


proc2d <eman Images.hed> <Xmipp root name> spider-single
xmipp_selfile_create "<Xmipp root name>" > imgs.sel


Xmipp to Eman


awk '{printf ("proc2d %s <eman images.hed>\n",$1)}' < selfile.sel > runme.sh
chmod 755 runme.sh; ./runme.sh; rm runme.sh


DM3 to Raw


proc2d <dm3 image.dm3> <Xmippimage.xmp> spider-single
xmipp_convert_raw22spi -i <Xmippimage.xmp> -o <micrograph.raw> -generate_inf


Convert multiple images (bash)

Convert all images called .dm3 to .tif


for i in *.dm3; do fn=`echo $i | sed 's/.dm3//'`; xic -i $fn".dm3" -o $fn".tif"; done


-- Main.CoSS - 28 Nov 2008

Clone this wiki locally