RUSH
Reusable Utilities in Single Headers is a collection of header-only utilities for C++
Loading...
Searching...
No Matches
cv-highgui.hpp File Reference

This library extends OpenCV's HighGUI functionalities. More...

#include <algorithm>
#include <cstddef>
#include <opencv2/core.hpp>
#include <opencv2/core/mat.hpp>
#include <opencv2/core/mat.inl.hpp>
#include <opencv2/core/types.hpp>
#include <opencv2/imgproc.hpp>
#include <vector>

Go to the source code of this file.

Functions

inline ::cv::Mat rush::cv::montage (std::vector< std::vector<::cv::Mat > > &images)
 Create a montage from a matrix of images.
 
inline ::cv::Mat rush::cv::montage (std::vector<::cv::Mat > &images, std::size_t step=0)
 Create a montage from a vector of images with a specified step.
 

Detailed Description

This library extends OpenCV's HighGUI functionalities.

This library enables progress bar creation and management.

Author
Raul Tapia (raultapia.com)
See also
https://github.com/raultapia/rush

Function Documentation

◆ montage() [1/2]

inline ::cv::Mat rush::cv::montage ( std::vector< std::vector<::cv::Mat > > & images)

Create a montage from a matrix of images.

This function takes a vector of vectors of images and creates a montage by resizing and concatenating them.

Parameters
imagesVector of vectors of images.
Returns
A single montage image.

◆ montage() [2/2]

inline ::cv::Mat rush::cv::montage ( std::vector<::cv::Mat > & images,
std::size_t step = 0 )

Create a montage from a vector of images with a specified step.

This function takes a vector of images and creates a montage with a specified step by calling the main montage function.

Parameters
imagesVector of images.
stepStep size for selecting images.
Returns
A single montage image.
See also
montage(std::vector<std::vector<::cv::Mat>> &images)