Chapter 4. Calculation of images

Table of Contents

AimsLinearComb: sum 2 activation maps

AimsLinearComb: sum 2 activation maps

HELP: command help for AimsLinearComb

DATA: no data.

EXAMPLE: Sum of 2 activation maps. For instance, if you have 2 binary activation maps which have been obtained by functional analysis, and if you want to do a fusion of both, then you can create a new volume which will be the sum of map_I and map_II.

prompt% AimsLinearComb -i map_I.img -j map_II.img -o map_I+II.img
	options parsed
	i1      : map_I.img
	a       : 1
	b       : 1
	c       : 1
	d       : 1
	e       : 0
	i2      : map_II.img
	fileout : map_I+II.img
	type    :
	Reading image map_I.img...
	done
	reading image map_II.img...
	done
	processing...
	done
	writing result...
	done

Figure 4.1. Sum of 2 activation maps

Sum of 2 activation maps

NOTE: image dimensions must be the same.

NOTE: you can use this command line to add several volumes; first add up map_I and map_II to create map_I+II and if you have a third volume, map_III to fusion with map_I and map_II, then you can use AimsLinearComb with map_I+II and map_III.

NOTE: advanced use, you can use multiplicative and divisor coefficients for each volume.