|
Volume Cartographer 2.28.0
|
Generate a texture image using a variety of composite volume filters. More...
#include <vc/texturing/CompositeTexture.hpp>
Public Types | |
| enum class | Filter { Minimum = 0 , Maximum , Median , Mean , MedianAverage } |
| using | Pointer = std::shared_ptr< CompositeTexture > |
Public Types inherited from volcart::texturing::TexturingAlgorithm | |
| using | Pointer = std::shared_ptr< TexturingAlgorithm > |
| using | Texture = std::vector< cv::Mat > |
Public Member Functions | |
| CompositeTexture ()=default | |
| ~CompositeTexture () override=default | |
| CompositeTexture (CompositeTexture &)=default | |
| CompositeTexture (CompositeTexture &&)=default | |
| auto | operator= (const CompositeTexture &) -> CompositeTexture &=default |
| auto | operator= (CompositeTexture &&) -> CompositeTexture &=default |
| void | setGenerator (NeighborhoodGenerator::Pointer g) |
| Set the Neighborhood generator. More... | |
| void | setFilter (Filter f) |
| Set the filtering method. More... | |
| auto | compute () -> Texture override |
| Compute the Texture. More... | |
Public Member Functions inherited from volcart::texturing::TexturingAlgorithm | |
| virtual | ~TexturingAlgorithm ()=default |
| void | setPerPixelMap (PerPixelMap::Pointer ppm) |
| Set the input PerPixelMap. | |
| void | setVolume (Volume::Pointer vol) |
| Set the input Volume. | |
| virtual auto | compute () -> Texture=0 |
| Compute the Texture. More... | |
| auto | getTexture () -> Texture |
| Get the generated Texture. | |
| auto | progressIterations () const -> std::size_t override |
| Returns the maximum progress value. More... | |
| virtual std::size_t | progressIterations () const =0 |
Static Public Member Functions | |
| static auto | New () -> Pointer |
Private Attributes | |
| NeighborhoodGenerator::Pointer | gen_ |
| Filter | filter_ {Filter::Maximum} |
Additional Inherited Members | |
Public Attributes inherited from volcart::IterationsProgress | |
| Signal | progressStarted |
| Signal< std::size_t > | progressUpdated |
| Signal | progressComplete |
Protected Member Functions inherited from volcart::texturing::TexturingAlgorithm | |
| TexturingAlgorithm ()=default | |
| TexturingAlgorithm (TexturingAlgorithm &)=default | |
| TexturingAlgorithm (TexturingAlgorithm &&)=default | |
| auto | operator= (const TexturingAlgorithm &) -> TexturingAlgorithm &=default |
| auto | operator= (TexturingAlgorithm &&) -> TexturingAlgorithm &=default |
Protected Attributes inherited from volcart::texturing::TexturingAlgorithm | |
| PerPixelMap::Pointer | ppm_ |
| Volume::Pointer | vol_ |
| Texture | result_ |
Generate a texture image using a variety of composite volume filters.
This class generates a texture image by filtering the Volume using one of a number of composite measures:
Definition at line 24 of file CompositeTexture.hpp.
| using volcart::texturing::CompositeTexture::Pointer = std::shared_ptr<CompositeTexture> |
Pointer type
Definition at line 28 of file CompositeTexture.hpp.
|
strong |
Filter list
Definition at line 47 of file CompositeTexture.hpp.
|
default |
Default constructor
|
overridedefault |
Default destructor
|
default |
Default copy constructor
|
default |
Default move constructor
|
overridevirtual |
Compute the Texture.
Implements volcart::texturing::TexturingAlgorithm.
|
static |
Make shared pointer
|
default |
Default move operator
|
default |
Default copy operator
| void volcart::texturing::CompositeTexture::setFilter | ( | Filter | f | ) |
Set the filtering method.
Default: Maximum
| void volcart::texturing::CompositeTexture::setGenerator | ( | NeighborhoodGenerator::Pointer | g | ) |
Set the Neighborhood generator.
This class supports generators of dimension >= 1
|
private |
Filter method
Definition at line 86 of file CompositeTexture.hpp.
|
private |
Neighborhood shape
Definition at line 83 of file CompositeTexture.hpp.