CVB++ 15.0
Loading...
Searching...
No Matches
filter.hpp
1#pragma once
2
3#include "shapefinder2.hpp"
4#include "../image.hpp"
5
6namespace Cvb
7{
8 CVB_BEGIN_INLINE_NS
9
10 namespace ShapeFinder2
11 {
13 namespace Filter
14 {
15
17
23 {
24 return Internal::DoResCallObjectOut<Image>([&](void *&resimg) {
25 return CVB_CALL_CAPI(GetSF2EdgeImage(plane.Parent().Handle(), plane.Plane(), resimg));
26 });
27 }
28
30
36 {
37 return Internal::DoResCallObjectOut<Image>(
38 [&](void *&resimg) { return CVB_CALL_CAPI(PyramidFilter(image.Handle(), resimg)); });
39 }
40
41 } /* namespace Filter */
42
43 using Filter::Edge;
44 using Filter::Pyramid;
45
46 } /* namespace ShapeFinder2 */
47 CVB_END_INLINE_NS
48} /* namespace Cvb */
The Common Vision Blox image.
Definition decl_image.hpp:45
void * Handle() const noexcept
Classic API image handle.
Definition decl_image.hpp:232
Image plane information container.
Definition decl_image_plane.hpp:29
int Plane() const noexcept
Plane index in the image, to which this plane refers to.
Definition decl_image_plane.hpp:147
const Image & Parent() const noexcept
Image to which this plane descriptor refers to.
Definition detail_image_plane.hpp:87
Namespace for collection of filter functions from the ShapeFinder2 package.
Definition filter.hpp:14
std::unique_ptr< Image > Pyramid(const Image &image)
Apply the ShapeFinder2 pyramid filter to the input image.
Definition filter.hpp:35
std::unique_ptr< Image > Edge(const ImagePlane &plane)
Apply the ShapeFinder2 Edge filter to the input image plane.
Definition filter.hpp:22
Namespace for the ShapeFinder2 package.
Definition classifier.hpp:30
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17