|
FORCE_INLINE bool | is_index_filename (const std::string &path) |
|
template<class HeaderType > |
FORCE_INLINE bool | is_index_image (const HeaderType &in) |
|
template<class HeaderType > |
FORCE_INLINE void | check_index_image (const HeaderType &index) |
|
template<class HeaderType > |
FORCE_INLINE bool | is_data_file (const HeaderType &in) |
|
FORCE_INLINE bool | is_directions_filename (const std::string &path) |
|
template<class HeaderType > |
FORCE_INLINE bool | is_directions_file (const HeaderType &in) |
|
template<class HeaderType > |
FORCE_INLINE void | check_data_file (const HeaderType &in) |
|
FORCE_INLINE std::string | get_fixel_directory (const std::string &fixel_file) |
|
template<class IndexHeaderType > |
FORCE_INLINE index_type | get_number_of_fixels (IndexHeaderType &index_header) |
|
template<class IndexHeaderType , class DataHeaderType > |
FORCE_INLINE bool | fixels_match (const IndexHeaderType &index_header, const DataHeaderType &data_header) |
|
FORCE_INLINE void | check_fixel_size (const Header &index_h, const Header &data_h) |
|
FORCE_INLINE void | check_fixel_directory (const std::string &path, bool create_if_missing=false, bool check_if_empty=false) |
|
FORCE_INLINE Header | find_index_header (const std::string &fixel_directory_path) |
|
FORCE_INLINE vector< Header > | find_data_headers (const std::string &fixel_directory_path, const Header &index_header, const bool include_directions=false) |
|
FORCE_INLINE Header | find_directions_header (const std::string fixel_directory_path) |
|
template<class IndexHeaderType > |
FORCE_INLINE Header | data_header_from_index (IndexHeaderType &index) |
| Generate a header for a sparse data file (Nx1x1) using an index image as a template. More...
|
|
template<class IndexHeaderType > |
FORCE_INLINE Header | directions_header_from_index (IndexHeaderType &index) |
| Generate a header for a fixel directions data file (Nx3x1) using an index image as a template. More...
|
|
FORCE_INLINE void | copy_fixel_file (const std::string &input_file_path, const std::string &output_directory) |
| Copy a file from one fixel directory into another. More...
|
|
FORCE_INLINE void | copy_index_file (const std::string &input_directory, const std::string &output_directory) |
| Copy the index file from one fixel directory into another. More...
|
|
FORCE_INLINE void | copy_directions_file (const std::string &input_directory, const std::string &output_directory) |
| Copy the directions file from one fixel directory into another. More...
|
|
FORCE_INLINE void | copy_index_and_directions_file (const std::string &input_directory, const std::string &output_directory) |
|
FORCE_INLINE void | copy_all_data_files (const std::string &input_directory, const std::string &output_directory) |
| Copy all data files in a fixel directory into another directory. Data files do not include the index or directions file. More...
|
|
template<class ValueType > |
Image< ValueType > | open_fixel_data_file (const std::string &input_file) |
| open a data file. checks that a user has not input a fixel directory or index image More...
|
|
const std::string | n_fixels_key ("nfixels") |
|
template<class IndexType > |
FORCE_INLINE LoopFixelsInVoxel | Loop (IndexType &index) |
|