Function puma::compute_orientationRC(puma::Workspace *, puma::Cutoff, int, puma::MatVec3<double> *, bool, int)

Function Documentation

bool puma::compute_orientationRC(puma::Workspace *grayWS, puma::Cutoff voidRange, int degreeAccuracy, puma::MatVec3<double> *direction, bool print = true, int numThreads = 0)

Function to compute the orientation using Ray Casting (i.e. find longest direction for EVERY solid voxel) - without refinement

Parameters
  • grayWS – the input workspace to serve as a mask according to the cutoff

  • voidRange – the grayscale range to discard, according to the input ws

  • degreeAccuracy – angular accuracy at which to shoot rays in every direction

  • direction – the output orientation field

  • print – whether to print progress, optional

  • numThreads – number of threads to use, optional

Returns

true if successful, false if failing