wiki:averaging

Version 2 (modified by bpt, 13 years ago) ( diff )

--

Constructing Averages

Make an image and template list file.

This can be done automatically using the 'Make average list' tool on the Average menu. You will be prompted for the image extension, template extension and a file pattern to match. The file pattern can include the wild-card character *, so that for example *.jpg will match all files ending in .jpg, or f*.dat will match all files starting with f and ending with .dat.

Alternatively you can use an editor such as Notepad.exe and write a list of image and template files that you wish to make the average from. e.g.

male1.jpg male1.tem

male2.jpg male2.tem

: :

: :

male100.jpg male100.tem

The image files have either a .pgn, .jpg, .gif, .tif or .bmp format. Template files should have a .tem (TEMplate format) extension ( .dat (DelineATion format) are also supported for backwards compatibility, but their use is not recommended). Save the file with the default extension ('.txt'). The full path name is not required if the list file is in the same directory as the images and templates.

Constructing the average

To construct an average select 'Average Images' from the Average menu of the main window. Select the list file constructed earlier, sit back and watch the average being constructed. A popup will inform you when the average has been built, and you can save the average image and template to disk by selecting Save Right Image from the File menu.

Various options control how the average is constructed. By switching the 'Process Texture' option on 'Texture Process RGB' will apply the wavelet texture algorithm to the intensity image component or to each of the red green and blue components of the image respectively.

Notes:

  1. It is no longer necessary to construct a template separately as this is now performed as part of the image averaging process if 'Auto Average templates is set on the options menu (See next section).
  1. Always type in the desired extension (.dat or .tem) when saving a template file.
  1. Before constructing an average, load an image of the desired average size into the right hand side of the psycho window. Otherwise you will be prompted for
  1. Always type in the desired extension (.pgn, .jpg, gif, .tif or .bmp for images or .tem or .dat for template files) when saving a file.
  1. If an error is thrown during the averaging process it is most likely that an image or template named in the list does not exist or is corrupted.
Note: See TracWiki for help on using the wiki.