Volume Cartographer 2.27.0
|
Plot per-face L stretch error metrics. More...
#include <vc/graph/texturing.hpp>
Public Member Functions | |
PlotLStretchErrorNode () | |
Public Attributes | |
smgl::InputPort< Metrics > | error |
Input error metrics. More... | |
smgl::InputPort< cv::Mat > | cellMap |
Per-pixel mesh cell assignment, generally from a PerPixelMap. More... | |
smgl::InputPort< ColorMap > | colorMap |
Color map/LUT for visualization. More... | |
smgl::InputPort< bool > | drawLegend |
Whether to add a legend to the image. More... | |
smgl::OutputPort< cv::Mat > | l2Plot |
L2 error image. More... | |
smgl::OutputPort< cv::Mat > | lInfPlot |
LInf error image. More... | |
Private Types | |
using | Metrics = texturing::LStretchMetrics |
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 | |
Metrics | error_ {} |
cv::Mat | cellMap_ {} |
ColorMap | colorMap_ {ColorMap::Plasma} |
bool | drawLegend_ {false} |
cv::Mat | l2Plot_ {} |
cv::Mat | lInfPlot_ {} |
Plot per-face L stretch error metrics.
Definition at line 157 of file texturing.hpp.
|
private |
Metrics type alias
Definition at line 161 of file texturing.hpp.
volcart::PlotLStretchErrorNode::PlotLStretchErrorNode | ( | ) |
Constructor
|
overrideprivate |
smgl custom deserialization
|
overrideprivate |
smgl custom serialization
smgl::InputPort<cv::Mat> volcart::PlotLStretchErrorNode::cellMap |
Per-pixel mesh cell assignment, generally from a PerPixelMap.
Definition at line 179 of file texturing.hpp.
|
private |
Per-pixel cell map
Definition at line 165 of file texturing.hpp.
smgl::InputPort<ColorMap> volcart::PlotLStretchErrorNode::colorMap |
Color map/LUT for visualization.
Definition at line 181 of file texturing.hpp.
|
private |
Color map
Definition at line 167 of file texturing.hpp.
smgl::InputPort<bool> volcart::PlotLStretchErrorNode::drawLegend |
Whether to add a legend to the image.
Definition at line 183 of file texturing.hpp.
|
private |
Whether to add a legend to the image
Definition at line 169 of file texturing.hpp.
smgl::InputPort<Metrics> volcart::PlotLStretchErrorNode::error |
Input error metrics.
Definition at line 177 of file texturing.hpp.
|
private |
Error metrics
Definition at line 163 of file texturing.hpp.
smgl::OutputPort<cv::Mat> volcart::PlotLStretchErrorNode::l2Plot |
L2 error image.
Definition at line 185 of file texturing.hpp.
|
private |
L2 error image
Definition at line 171 of file texturing.hpp.
smgl::OutputPort<cv::Mat> volcart::PlotLStretchErrorNode::lInfPlot |
LInf error image.
Definition at line 187 of file texturing.hpp.
|
private |
LInf error image
Definition at line 173 of file texturing.hpp.