An image sampling framework for the ITK
This document describes the implementation of image samplers using the Insight Toolkit ITK url{www.itk.org}. Image samplers take a set of `picks’ from an image and store them in an array. A sample consists of the location of the pick (a point) and the corresponding image intensity (a value). Image samplers are useful for image registration, where samples are drawn from the fixed image in order to compute the similarity measure. Together with an image sampler base class, we introduce the following image samplers: 1) a full sampler that draws all voxel coordinates from the input image, 2) a grid sampler that draws samples from a user-specified regular voxel grid, 3 and 4) two random samplers that uniformly draw a user-specified number of samples from the input image.This paper is accompanied with the source code, input data, parameters and output data that the authors used for validating the algorithm described in this paper.