CVB++ 15.0
gaussian_pyramid.hpp
1#pragma once
2
3#if defined _WIN32
4
5# include "../_cexports/c_foundation.h"
6
7# include "../global.hpp"
8# include "../image.hpp"
9# include "../exception.hpp"
10
11# include <memory>
12
13namespace Cvb
14{
15 CVB_BEGIN_INLINE_NS
16
17 namespace Foundation
18 {
19
22
27 {
28
30
42 {
43 return Internal::DoResCallObjectOut<Image>(
44 [&](void *&resimg) { return CVB_CALL_CAPI(PyramidDownSample(image.Handle(), resimg)); });
45 }
46
48
58 {
59 return Internal::DoResCallObjectOut<Image>(
60 [&](void *&resimg) { return CVB_CALL_CAPI(PyramidUpSample(image.Handle(), resimg)); });
61 }
62
63 } /* namespace GaussianPyramid */
64
67
68 } /* namespace Foundation */
69 CVB_END_INLINE_NS
70} /* namespace Cvb */
71
72#endif
The Common Vision Blox image.
Definition decl_image.hpp:50
void * Handle() const noexcept
Classic API image handle.
Definition decl_image.hpp:237
cvbres_t PyramidDownSample(IMG ImgIn, IMG &ImgOut)
cvbres_t PyramidUpSample(IMG ImgIn, IMG &ImgOut)
Namespace for functions implementing a Gaussian pyramid approach from the Common Vision Blox Foundati...
Definition gaussian_pyramid.hpp:27
std::unique_ptr< Image > GaussianPyramidUp(const Image &image)
This function up samples an image in the sense of a Gaussian pyramid.
Definition gaussian_pyramid.hpp:57
std::unique_ptr< Image > GaussianPyramidDown(const Image &image)
This function down samples an image in the sense of a Gaussian pyramid.
Definition gaussian_pyramid.hpp:41
Namespace for the Foundation package.
Definition decl_metric_aqs12_calibration_piece.hpp:11
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17