Seg3D  2.4
Seg3D is a free volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.
All Classes Namespaces Functions Variables Typedefs Enumerator Friends
Public Member Functions | Public Attributes | List of all members
Core::LargeVolumeConverterPrivate Class Reference

Public Member Functions

DataBlockHandle load_file (const boost::filesystem::path &filename, std::string &error)
 
template<class T >
DataBlockHandle load_file_internals (const boost::filesystem::path &filename, std::string &error)
 
bool scan_file (const boost::filesystem::path &filename, std::string &error)
 
bool downsample (DataBlockHandle input, DataBlockHandle output, const IndexVector &input_ratio, const IndexVector &output_ratio)
 
template<class T , class U >
bool downsample_internals (DataBlockHandle input, DataBlockHandle output, const IndexVector &input_ratio, const IndexVector &output_ratio)
 
bool downsample_add (DataBlockHandle input, DataBlockHandle output, const IndexVector &input_ratio, const IndexVector &output_ratio)
 
template<class T , class U >
bool downsample_add_internals (DataBlockHandle input, DataBlockHandle output, const IndexVector &input_ratio, const IndexVector &output_ratio)
 
template<class T >
bool compute_min_max_internals (DataBlockHandle slice, double &min, double &max)
 
bool compute_min_max (DataBlockHandle slice, double &min, double &max)
 
bool process_slice (size_t level, std::string &error)
 
void run_phase3_parallel (int num_threads, int thread_num, boost::barrier &barrier)
 

Public Attributes

boost::filesystem::path first_file_
 
std::vector< boost::filesystem::path > files_
 
DataType data_type_
 
IndexVector data_size_
 
Vector spacing_
 
Point origin_
 
IndexVector brick_size_
 
size_t overlap_
 
long long mem_limit_
 
LargeVolumeSchemaHandle schema_
 
std::vector< DataBlockHandle > slices_
 
std::vector< IndexVector::index_type > index_
 
std::vector< LargeVolumeBrickLevelHandle > brick_level_
 
bool success_
 

Member Function Documentation

bool Core::LargeVolumeConverterPrivate::compute_min_max ( DataBlockHandle  slice,
double &  min,
double &  max 
)

COMPUTE_MIN_MAX Compute min and max value

template<class T >
bool Core::LargeVolumeConverterPrivate::compute_min_max_internals ( DataBlockHandle  slice,
double &  min,
double &  max 
)

COMPUTE_MIN_MAX_INTERNALS Compute min and max value

bool Core::LargeVolumeConverterPrivate::downsample ( DataBlockHandle  input,
DataBlockHandle  output,
const IndexVector input_ratio,
const IndexVector output_ratio 
)

DOWNSAMPLE Down sample a slice based on the level ratios

bool Core::LargeVolumeConverterPrivate::downsample_add ( DataBlockHandle  input,
DataBlockHandle  output,
const IndexVector input_ratio,
const IndexVector output_ratio 
)

DOWNSAMPLE_ADD Down sample a slice based on the level ratios and adds it to the existing slice

template<class T , class U >
bool Core::LargeVolumeConverterPrivate::downsample_add_internals ( DataBlockHandle  input,
DataBlockHandle  output,
const IndexVector input_ratio,
const IndexVector output_ratio 
)

DOWNSAMPLE_ADD_INTERNALS Templated version that does internal computation

template<class T , class U >
bool Core::LargeVolumeConverterPrivate::downsample_internals ( DataBlockHandle  input,
DataBlockHandle  output,
const IndexVector input_ratio,
const IndexVector output_ratio 
)

DOWNSAMPLE_INTERNALS Templated version that does internal computation

DataBlockHandle Core::LargeVolumeConverterPrivate::load_file ( const boost::filesystem::path &  filename,
std::string &  error 
)

LOAD_FILE Load a file from a stack into memory

template<class T >
DataBlockHandle Core::LargeVolumeConverterPrivate::load_file_internals ( const boost::filesystem::path &  filename,
std::string &  error 
)

LOAD_FILE_INTERNALS Intrernals for dealing with data type

bool Core::LargeVolumeConverterPrivate::scan_file ( const boost::filesystem::path &  filename,
std::string &  error 
)

SCAN_FILE Scan file to determine type and size


The documentation for this class was generated from the following file: