|
|
using | IndexedColor = std::pair< IndexT, image::RGBfColor > |
| |
|
using | PixelInfo = std::vector< IndexedColor > |
| |
|
|
| GraphcutSeams (size_t outputWidth, size_t outputHeight) |
| |
|
std::pair< IndexT, image::RGBfColor > | findIndex (const PixelInfo &pix, IndexT id) |
| |
|
bool | existIndex (const PixelInfo &pix, IndexT id) |
| |
|
bool | setOriginalLabels (const image::Image< IndexT > &existing_labels) |
| |
|
bool | append (const image::Image< image::RGBfColor > &input, const image::Image< unsigned char > &inputMask, IndexT currentIndex, size_t offset_x, size_t offset_y) |
| |
|
void | setMaximalDistance (int dist) |
| |
|
bool | createInputOverlappingObservations (image::Image< PixelInfo > &graphCutInput, const BoundingBox &interestBbox) |
| |
|
bool | fixUpscaling (image::Image< IndexT > &labels, const image::Image< PixelInfo > &graphCutInput) |
| |
|
bool | computeInputDistanceMap (image::Image< int > &distanceMap, const image::Image< IndexT > &localLabels, IndexT inputId) |
| |
|
bool | processInput (double &newCost, InputData &input) |
| |
|
bool | process () |
| |
|
double | cost (const image::Image< IndexT > localLabels, const image::Image< PixelInfo > &input, IndexT currentLabel) |
| |
|
bool | alphaExpansion (image::Image< IndexT > &labels, const image::Image< int > &distanceMap, const image::Image< PixelInfo > &input, IndexT currentLabel) |
| |
|
image::Image< IndexT > & | getLabels () |
| |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/alicevision/checkouts/stable/src/aliceVision/panorama/graphcut.hpp