aimsalgo  5.1.2
Neuroimaging image processing
distspheric.h File Reference
#include <aims/config/aimsalgo_config.h>
#include <vector>
Include dependency graph for distspheric.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Continous distribution

Returns a unit vector closed to another one in a solid angle.

Parameters
vecaxis of the cone where to get another vector
theta_maxaperture of the cone
AimsVector< float, 3 > AimsPointInSolidAngle (const AimsVector< float, 3 > &vec, float theta_max)
 
Discrete distribution.

Returns a vector of uniformly distributed points on a unit sphere.

The construction of that distribution starts from an icosahedron (20 facets, 12 points) and iterates a subdivision of each triangle into 4 sub-triangles.

Parameters
minpointminimum number of points in the distribution (12 at least)
std::vector< AimsVector< float, 3 > * > AimsIcosahedronDiscreteSphericDistribution (int minpoint)
 

Function Documentation

◆ AimsIcosahedronDiscreteSphericDistribution()

std::vector<AimsVector<float,3>* > AimsIcosahedronDiscreteSphericDistribution ( int  minpoint)

◆ AimsPointInSolidAngle()

AimsVector<float,3> AimsPointInSolidAngle ( const AimsVector< float, 3 > &  vec,
float  theta_max 
)