Volume Cartographer 2.27.0
|
Generate a Texture by taking the discrete integral (summation) of the neighborhood adjacent to a point. More...
#include <vc/graph/texturing.hpp>
Public Types | |
using | WeightMethod = texturing::IntegralTexture::WeightMethod |
Weighting Methods. More... | |
using | WeightDirection = texturing::IntegralTexture::LinearWeightDirection |
Linear weight direction. More... | |
using | ExpoDiffBaseMethod = texturing::IntegralTexture::ExpoDiffBaseMethod |
Exponential difference base calculation method. More... | |
Public Member Functions | |
IntegralTextureNode () | |
Public Attributes | |
smgl::InputPort< PerPixelMap::Pointer > | ppm |
Input PerPixelMap. More... | |
smgl::InputPort< Volume::Pointer > | volume |
Input Volume. More... | |
smgl::InputPort< Generator > | generator |
Neighborhood generator. More... | |
smgl::InputPort< bool > | clampValuesToMax |
When enabled, clamp neighborhood intensities to the value specified by setClampMax() More... | |
smgl::InputPort< std::uint16_t > | clampMax |
The maximum intensity value allowed in neighborhood prior to integration. More... | |
smgl::InputPort< WeightMethod > | weightMethod |
Set the weighting method. More... | |
smgl::InputPort< WeightDirection > | linearWeightDirection |
Set the linear weight direction. More... | |
smgl::InputPort< int > | exponentialDiffExponent |
Set the weighting exponent used by Exponential Difference weighting. More... | |
smgl::InputPort< ExpoDiffBaseMethod > | exponentialDiffBaseMethod |
Set the method used to calculate the Exponential Difference base value. More... | |
smgl::InputPort< double > | exponentialDiffBaseValue |
Set the base value for Exponential Difference weighting. More... | |
smgl::InputPort< bool > | exponentialDiffSuppressBelowBase |
When enabled, do not integrate intensity values below the base value. More... | |
smgl::OutputPort< cv::Mat > | texture |
Generated texture image. More... | |
Private Types | |
using | TAlgo = texturing::IntegralTexture |
using | Generator = NeighborhoodGenerator::Pointer |
Private Member Functions | |
auto | serialize_ (bool useCache, const filesystem::path &cacheDir) -> smgl::Metadata override |
void | deserialize_ (const smgl::Metadata &meta, const filesystem::path &cacheDir) override |
Private Attributes | |
TAlgo | textureGen_ |
cv::Mat | texture_ |
Generate a Texture by taking the discrete integral (summation) of the neighborhood adjacent to a point.
Definition at line 436 of file texturing.hpp.
using volcart::IntegralTextureNode::ExpoDiffBaseMethod = texturing::IntegralTexture::ExpoDiffBaseMethod |
Exponential difference base calculation method.
Definition at line 463 of file texturing.hpp.
Generator class type
Definition at line 442 of file texturing.hpp.
|
private |
Algorithm class type
Definition at line 440 of file texturing.hpp.
using volcart::IntegralTextureNode::WeightDirection = texturing::IntegralTexture::LinearWeightDirection |
Linear weight direction.
Definition at line 458 of file texturing.hpp.
Weighting Methods.
Definition at line 453 of file texturing.hpp.
volcart::IntegralTextureNode::IntegralTextureNode | ( | ) |
Constructor
|
overrideprivate |
smgl custom deserialization
|
overrideprivate |
smgl custom serialization
smgl::InputPort<std::uint16_t> volcart::IntegralTextureNode::clampMax |
The maximum intensity value allowed in neighborhood prior to integration.
Definition at line 474 of file texturing.hpp.
smgl::InputPort<bool> volcart::IntegralTextureNode::clampValuesToMax |
When enabled, clamp neighborhood intensities to the value specified by setClampMax()
Definition at line 472 of file texturing.hpp.
smgl::InputPort<ExpoDiffBaseMethod> volcart::IntegralTextureNode::exponentialDiffBaseMethod |
Set the method used to calculate the Exponential Difference base value.
Definition at line 482 of file texturing.hpp.
smgl::InputPort<double> volcart::IntegralTextureNode::exponentialDiffBaseValue |
Set the base value for Exponential Difference weighting.
Definition at line 484 of file texturing.hpp.
smgl::InputPort<int> volcart::IntegralTextureNode::exponentialDiffExponent |
Set the weighting exponent used by Exponential Difference weighting.
Definition at line 480 of file texturing.hpp.
smgl::InputPort<bool> volcart::IntegralTextureNode::exponentialDiffSuppressBelowBase |
When enabled, do not integrate intensity values below the base value.
Definition at line 486 of file texturing.hpp.
smgl::InputPort<Generator> volcart::IntegralTextureNode::generator |
Neighborhood generator.
Definition at line 470 of file texturing.hpp.
smgl::InputPort<WeightDirection> volcart::IntegralTextureNode::linearWeightDirection |
Set the linear weight direction.
Definition at line 478 of file texturing.hpp.
smgl::InputPort<PerPixelMap::Pointer> volcart::IntegralTextureNode::ppm |
Input PerPixelMap.
Definition at line 466 of file texturing.hpp.
smgl::OutputPort<cv::Mat> volcart::IntegralTextureNode::texture |
Generated texture image.
Definition at line 488 of file texturing.hpp.
|
private |
Output image
Definition at line 446 of file texturing.hpp.
|
private |
Texturing algorithm
Definition at line 444 of file texturing.hpp.
smgl::InputPort<Volume::Pointer> volcart::IntegralTextureNode::volume |
Input Volume.
Definition at line 468 of file texturing.hpp.
smgl::InputPort<WeightMethod> volcart::IntegralTextureNode::weightMethod |
Set the weighting method.
Definition at line 476 of file texturing.hpp.