Developer documentation
Version 3.0.3-105-gd3941f44
MR::Fixel::Filter::Connect Class Reference

#include "fixel/filter/connect.h"

Inheritance diagram for MR::Fixel::Filter::Connect:
MR::Fixel::Filter::Base

Protected Attributes

Fixel::Matrix::Reader matrix
 
float value_threshold
 
float connectivity_threshold
 
- Protected Attributes inherited from MR::Fixel::Filter::Base
std::string message
 

Detailed Description

Perform a connected-component analysis of a fixel mask

Typical usage:

auto input = Image<bool>::open (fixel_data_in_path);
Fixel::Matrix::Reader matrix (fixel_matrix_path);
Fixel::Filter::Connect connect_filter (matrix);
auto output = Image::create<float> (fixel_data_out_path, input);
connect_filter (input, output);
Fixel::Matrix::Reader matrix
Definition: connect.h:69
static Image open(const std::string &image_name, bool read_write_if_existing=false)
Definition: image.h:189

Definition at line 53 of file connect.h.

Member Data Documentation

◆ connectivity_threshold

float MR::Fixel::Filter::Connect::connectivity_threshold
protected

Definition at line 70 of file connect.h.

◆ matrix

Fixel::Matrix::Reader MR::Fixel::Filter::Connect::matrix
protected

Definition at line 69 of file connect.h.

◆ value_threshold

float MR::Fixel::Filter::Connect::value_threshold
protected

Definition at line 70 of file connect.h.


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