User Details
- User Since
- Aug 1 2016, 12:10 PM (454 w, 2 d)
- Roles
- Disabled
Aug 2 2016
Added a pinput parameter entireHotSpotInImage, which determines whether the whole sphere is in the image included ( = 1 ) or only the midpoint of the sphere is inside the image.
The class name is MultiGaussianImageSource and can be found in the directory MINT\Mint_Bin\CMakeExternals\Source\MITK\Modules\ImageStatistics.
This class generates a image, which pixel intensities are the values of a multigauss function (a sum of 3D gauss functions). The class allows calculating a spherical region of defined size which has a maximal mean value and returns the position and the mean value. Furthermore it can calculate the maximal und minimal pixel intensities and whose indices in the founded sphere.
The test programm (mitkMultiGaussianTest.cpp) creates a .xml file with the following information:
- image size and number of gauss functions
- a description of each gauss function: the expectancy value in three axis, the deviation in three axis and the altitude
- a region of interest ( here equal to the whole image )
- statistic, i.e. hot spot value (peak and peakOptimized) and its coordinates; maximum and minimum value and whose coordinates.
This test program has an 14 inputs:
- output filename
- number of images to be generate
- image size ( in three coordinates)
- number of gaussians to be generate
- minimal/maximal daviation for one gauss function
- minimal/maximal altitude for one gauss function
- image spacing ( in three coordinates).
The input list could be extended, for example with a variable region of interest or a min/max expectancy value (here is the min/max expectancy value equal the size of the image +/- 7).
For generating the gaussian image change the way we calculate the value in each voxel:
instead of taking the value at the voxel's midpoint we calculate the mean value in the voxel with an integral of the gaussians over the voxel's boundary.
The class name is MultiGaussianImageSource and can be found in the directory MINT\Mint_Bin\CMakeExternals\Source\MITK\Modules\ImageStatistics.
This class generates a image, which pixel intensities are the values of a multigauss function (a sum of 3D gauss functions). The class allows calculating a spherical region of defined size which has a maximal mean value and returns the position and the mean value. Furthermore it can calculate the maximal und minimal pixel intensities and whose indices in the founded sphere.
The test programm (mitkMultiGaussianTest.cpp) creates a .xml file with the following information:
- image size and number of gauss functions
- a description of each gauss function: the expectancy value in three axis, the deviation in three axis and the altitude
- a region of interest ( here equal to the whole image )
- statistic, i.e. hot spot value (peak and peakOptimized) and its coordinates; maximum and minimum value and whose coordinates.
This test program has an 14 inputs:
- output filename
- number of images to be generate
- image size ( in three coordinates)
- number of gaussians to be generate
- minimal/maximal daviation for one gauss function
- minimal/maximal altitude for one gauss function
- image spacing ( in three coordinates).
The input list could be extended, for example with a variable region of interest or a min/max expectancy value (here is the min/max expectancy value equal the size of the image +/- 7).
Added a subdivision of the sphere in cuboids wiht octrees to calculate analytical the integral over gaussian with the value tabel of the normal distribution (http://www.stat.tamu.edu/~lzhou/stat302/standardnormaltable.pdf).
We needed a cuboid because the antiderivativ can not be given in an explicit way and therefore we are not able to subsitude in the integral with spherical coordinates.