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.
Public Member Functions | List of all members
Filter::ThresholdFilter Class Reference
Inheritance diagram for Filter::ThresholdFilter:
Seg3D::LayerFilter Seg3D::LayerAbstractFilter Core::Runnable

Public Member Functions

 ThresholdFilter (double lower_threshold, double upper_threshold)
 
template<class T >
void threshold_data (Core::DataBlockHandle dst, double min_val, double max_val)
 
void set_data_layer (Seg3D::DataLayerHandle data)
 
Seg3D::DataLayerHandle data_layer ()
 
void set_mask_layer (Seg3D::MaskLayerHandle mask)
 
Seg3D::MaskLayerHandle mask_layer ()
 
double lower_threshold ()
 
double upper_threshold ()
 
virtual void run_filter ()
 
virtual std::string get_filter_name () const
 
virtual std::string get_layer_prefix () const
 
- Public Member Functions inherited from Seg3D::LayerFilter
virtual void raise_abort () override
 
virtual bool check_abort () override
 
void raise_stop ()
 
bool check_stop ()
 
virtual void abort_and_wait () override
 
void connect_abort (const LayerHandle &layer)
 
void connect_stop (const LayerHandle &layer)
 
Core::NotifierHandle get_notifier ()
 
bool find_layer (const std::string &layer_id, LayerHandle &layer)
 
bool lock_for_use (LayerHandle layer)
 
bool lock_for_processing (LayerHandle layer)
 
bool lock_for_deletion (LayerHandle layer)
 
bool create_and_lock_data_layer_from_layer (LayerHandle src_layer, LayerHandle &dst_layer)
 
bool create_and_lock_data_layer (const Core::GridTransform &grid_trans, LayerHandle src_layer, LayerHandle &dst_layer)
 
bool create_cropped_large_volume_layer (const Core::GridTransform &crop_trans, LayerHandle src_layer, LayerHandle &dst_layer)
 
bool create_and_lock_mask_layer_from_layer (LayerHandle src_layer, LayerHandle &dst_layer)
 
bool create_and_lock_mask_layer_from_layer (LayerHandle src_layer, LayerHandle &dst_layer, std::string dst_name)
 
bool create_and_lock_mask_layer (const Core::GridTransform &grid_trans, LayerHandle src_layer, LayerHandle &dst_layer)
 
bool dispatch_unlock_layer (LayerHandle layer)
 
bool dispatch_delete_layer (LayerHandle layer)
 
bool dispatch_insert_data_volume_into_layer (LayerHandle layer, Core::DataVolumeHandle data, bool update_histogram)
 
bool dispatch_insert_mask_volume_into_layer (LayerHandle layer, Core::MaskVolumeHandle mask)
 
void create_undo_redo_and_provenance_record (Core::ActionContextHandle context, Core::ActionHandle action, bool split_prov=false)
 
bool update_provenance_action_string (Core::ActionHandle action)
 
void set_sandbox (SandboxID sandbox)
 
SandboxID get_sandbox ()
 
void report_error (const std::string &error)
 
Layer::filter_key_type get_key () const
 

Additional Inherited Members

- Static Public Member Functions inherited from Core::Runnable
static void Start (RunnableHandle runnable)
 
- Protected Member Functions inherited from Seg3D::LayerFilter
virtual void handle_abort ()
 
virtual void handle_stop ()
 
virtual void run ()
 

Member Function Documentation

std::string ThresholdFilter::get_filter_name ( ) const
virtual

GET_FILTER_NAME: This functions returns the name of the filter that is used in the error report.

Implements Seg3D::LayerFilter.

std::string ThresholdFilter::get_layer_prefix ( ) const
virtual

GET_LAYER_PREFIX: This function returns the name of the filter. The latter is prepended to the new layer name, when a new layer is generated.

Implements Seg3D::LayerFilter.

void ThresholdFilter::run_filter ( )
virtual

RUN_FILTER: run the filter

Implements Seg3D::LayerFilter.


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