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

Public Member Functions

 ITKResampleFilter (const std::string &interpolator, int spline_order, bool replace, bool crop, const std::string &padding, Core::Point range_min, Core::Point range_max, Seg3D::SandboxID sandbox)
 
bool setup_layers (const std::vector< std::string > &layer_ids, bool match_grid_transform, const Core::GridTransform &grid_transform, unsigned int dimX, unsigned int dimY, unsigned int dimZ)
 
void pad_data_layer (Seg3D::DataLayerHandle input, Seg3D::DataLayerHandle output)
 
void pad_mask_layer (Seg3D::MaskLayerHandle input, Seg3D::MaskLayerHandle output)
 
virtual std::string get_filter_name () const override
 
virtual std::string get_layer_prefix () const override
 
const std::vector< std::string > & get_dst_layer_ids () 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
 

Static Public Member Functions

static bool IsITKResample (const std::string &interpolator)
 
- Static Public Member Functions inherited from Core::Runnable
static void Start (RunnableHandle runnable)
 

Static Public Attributes

static const std::string LINEAR_C
 
static const std::string B_SPLINE_C
 
static const std::string NEAREST_NEIGHBOR_C
 

Additional Inherited Members

- Public Types inherited from Seg3D::ITKFilter
typedef itk::Image< unsigned short, 3 > USHORT_IMAGE_TYPE
 
typedef itk::Image< unsigned int, 3 > UINT_IMAGE_TYPE
 
typedef itk::Image< float, 3 > FLOAT_IMAGE_TYPE
 
typedef itk::Image< unsigned char, 3 > UCHAR_IMAGE_TYPE
 
typedef Core::ITKImageDataT< float > FLOAT_CONTAINER_TYPE
 
typedef Core::ITKImageDataT< unsigned int > UINT_CONTAINER_TYPE
 
typedef Core::ITKImageDataT< unsigned short > USHORT_CONTAINER_TYPE
 
typedef Core::ITKImageDataT< unsigned char > UCHAR_CONTAINER_TYPE
 
- Protected Member Functions inherited from Seg3D::ITKFilter
template<class T >
bool get_itk_image_from_layer (const LayerHandle &layer, typename Core::ITKImageDataT< T >::Handle &image, bool invert=false)
 
template<class T >
bool get_itk_image_from_mask_layer (const LayerHandle &layer, typename Core::ITKImageDataT< T >::Handle &image, double label=1.0)
 
template<class T >
bool insert_itk_image_into_layer (const LayerHandle &layer, typename itk::Image< T, 3 > *itk_image)
 
template<class T >
bool insert_itk_image_pointer_into_layer (const LayerHandle &layer, typename itk::Image< T, 3 >::Pointer itk_image)
 
template<class T >
bool insert_itk_positive_labels_into_mask_layer (const LayerHandle &layer, typename itk::Image< T, 3 > *itk_image, bool invert=false)
 
template<class T >
bool insert_itk_positive_labels_pointer_into_mask_layer (const LayerHandle &layer, typename itk::Image< T, 3 >::Pointer itk_image, bool invert=false)
 
template<class T >
bool insert_itk_label_into_mask_layer (const LayerHandle &layer, typename itk::Image< T, 3 > *itk_image, T label)
 
template<class T >
bool insert_itk_label_pointer_into_mask_layer (const LayerHandle &layer, typename itk::Image< T, 3 >::Pointer itk_image, T label)
 
template<class T >
bool convert_and_insert_itk_image_into_layer (const LayerHandle &layer, typename itk::Image< T, 3 > *itk_image, Core::DataType data_type)
 
template<class T >
bool convert_and_insert_itk_image_pointer_into_layer (const LayerHandle &layer, typename itk::Image< T, 3 >::Pointer itk_image, Core::DataType data_type)
 
template<class T >
void forward_abort_to_filter (T filter_pointer, LayerHandle layer)
 
template<class T >
void observe_itk_progress (T filter_pointer, const LayerHandle &layer, float progress_start=0.0, float progress_amount=1.0)
 
template<class T >
void observe_itk_iterations (T filter_pointer, boost::function< void(itk::Object *) > iteration_fcn)
 
template<class T >
void limit_number_of_itk_threads (T filter_pointer)
 
virtual void handle_abort ()
 
virtual void handle_stop ()
 
- Protected Member Functions inherited from Seg3D::LayerFilter
virtual void run_filter ()=0
 
virtual void run ()
 

Member Function Documentation

virtual std::string Filter::ITKResampleFilter::get_filter_name ( ) const
inlineoverridevirtual

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

Implements Seg3D::LayerFilter.

virtual std::string Filter::ITKResampleFilter::get_layer_prefix ( ) const
inlineoverridevirtual

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.


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