Skip to content

CenterImage

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

Center image

Purpose

This program allows you to center a set of images (preferably with a good SNR, e.g., class averages). After calling the program, all classes will be centered and they will tend to show the same orientation (see example below).

The program centers the images by comparing the image with its X, Y, and XY mirrors. The orientation is determined by comparing the image with its X mirror.

Usage


$ center_image ...


Parameters

  • `` Input image or selfile. If no output flag is given, then the input images will be rewritten

  • `` In case of a single image

  • `` Extension of the new images, in case of a selfile

  • `` Rootname of the new images, in case of a selfile.

  • -iter [N10] = Number of centering iterations

  • `` Limit the maximum shift to 1/3 of the image size

Examples ad notes


$ center_image -i imgs.sel


In the following example you have the images before and after centering

/aligned.jpg

USER's COMMENTS

--Main.CoSS - 21 Aug 2009

Clone this wiki locally