Initial commit: Speckle-Scanner 3D pipeline with setup README

This commit is contained in:
2026-06-10 03:09:05 +05:00
commit 1765934846
375 changed files with 123081 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#ifndef __REFERENCE_H__
#define __REFERENCE_H__
#include "libsgm.h"
#include "host_image.h"
namespace sgm
{
void census_transform(const HostImage& src, HostImage& dst, CensusType type);
void cost_aggregation(const HostImage& srcL, const HostImage& srcR, HostImage& dst,
int disp_size, int P1, int P2, PathType path_type, int min_disp);
void winner_takes_all(const HostImage& src, HostImage& dstL, HostImage& dstR,
int disp_size, float uniqueness, bool subpixel, PathType path_type);
void median_filter(const HostImage& src, HostImage& dst);
void check_consistency(HostImage& dispL, const HostImage& dispR, const HostImage& srcL, bool subpixel, int LR_max_diff);
void correct_disparity_range(HostImage& disp, bool subpixel, int min_disp);
void cast_16bit_to_8bit(const HostImage& src, HostImage& dst);
void cast_8bit_to_16bit(const HostImage& src, HostImage& dst);
} // namespace sgm
#endif // !__REFERENCE_H__