OpenCV  4.10.0
Open Source Computer Vision
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
cv::detail::DisjointSets Class Reference

#include <opencv2/stitching/detail/util.hpp>

Collaboration diagram for cv::detail::DisjointSets:

Public Member Functions

 DisjointSets (int elem_count=0)
 
void createOneElemSets (int elem_count)
 
int findSetByElem (int elem)
 
int mergeSets (int set1, int set2)
 

Public Attributes

std::vector< int > parent
 
std::vector< int > size
 

Constructor & Destructor Documentation

◆ DisjointSets()

cv::detail::DisjointSets::DisjointSets ( int  elem_count = 0)
inline

Member Function Documentation

◆ createOneElemSets()

void cv::detail::DisjointSets::createOneElemSets ( int  elem_count)

◆ findSetByElem()

int cv::detail::DisjointSets::findSetByElem ( int  elem)

◆ mergeSets()

int cv::detail::DisjointSets::mergeSets ( int  set1,
int  set2 
)

Member Data Documentation

◆ parent

std::vector<int> cv::detail::DisjointSets::parent

◆ size

std::vector<int> cv::detail::DisjointSets::size

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