17 #include "SamplingSchemeQSpaceRandomEstimationCLP.h" 24 main (
int argc,
char const* argv[])
30 typedef SamplingType::Pointer SamplingPointer;
32 utlGlobalException(_NumberOfSamples.size()==0,
"should give the numbers of samples in shells");
34 SamplingPointer scheme = SamplingType::New();
35 scheme->GenerateFromRandomPoints(_NumberOfSamples);
38 WriterType::Pointer writer = WriterType::New();
39 writer->SetSampling(scheme);
40 writer->SetOrientationFile(_OutputOrientations);
41 writer->SaveSingleShellOn();
42 writer->SaveAllShellsInOneFileOff();
helper functions specifically used in dmritool
#define utlGlobalException(cond, expout)
this class describes sampling in Q space.
int main(int argc, char const *argv[])
randome generator for single and multiple shell sampling scheme
write orientations and b values (single/multiple shells) into text files