Description of a fiber. More...
#include <vector>
#include <cassert>
#include "unscented_kalman_filter.h"
#include "linalg.h"
#include <vnl/vnl_matrix.h>
Go to the source code of this file.
Classes | |
struct | Fiber |
Points of a fiber, and scalars corresponding to the points. More... | |
struct | BranchingSeedAffiliation |
Which fibers belong together. More... | |
Functions | |
void | PostProcessFibers (const std::vector< Fiber > &raw_primary, const std::vector< Fiber > &raw_branch, const std::vector< BranchingSeedAffiliation > &branching_seed_affiliation, const bool branches_only, std::vector< Fiber > &fibers) |
Joins two fibers originating from the same seed point. | |
Variables | |
const int | MINIMUM_NUM_POINTS_ON_FIBER = 10 |
const int | FIBER_TAIL_THRESHOLD = 5 |
Description of a fiber.
void PostProcessFibers | ( | const std::vector< Fiber > & | raw_primary, | |
const std::vector< Fiber > & | raw_branch, | |||
const std::vector< BranchingSeedAffiliation > & | branching_seed_affiliation, | |||
const bool | branches_only, | |||
std::vector< Fiber > & | fibers | |||
) |
Joins two fibers originating from the same seed point.
A pair of two primary fibers are started from each seed point in two opposite directions. This functions joins them up pairly to form complete primary fibers, and eliminates fibers that are too short. Besides, each branch is back traced to form a whole fiber
const int FIBER_TAIL_THRESHOLD = 5 |
Used to get rid of branches, that start near the end of primary fibers. See fiber.cc:70.
const int MINIMUM_NUM_POINTS_ON_FIBER = 10 |
The minimum number of points on a fiber. Fiber with fewer points are rejected