5 #include "../include/librealsense2/rs_advanced_mode.hpp" 6 #include "../include/librealsense2/hpp/rs_serializable_device.hpp" 10 py::class_<STDepthControlGroup> _STDepthControlGroup(m,
"STDepthControlGroup");
11 _STDepthControlGroup.def(py::init<>())
36 py::class_<STRsm> _STRsm(m,
"STRsm");
37 _STRsm.def(py::init<>())
42 .def(
"__repr__", [](
const STRsm &e) {
44 ss <<
"rsmBypass: " << e.
rsmBypass <<
", ";
51 py::class_<STRauSupportVectorControl> _STRauSupportVectorControl(m,
"STRauSupportVectorControl");
52 _STRauSupportVectorControl.def(py::init<>())
63 ss <<
"minWest: " << e.
minWest <<
", ";
64 ss <<
"minEast: " << e.
minEast <<
", ";
65 ss <<
"minWEsum: " << e.
minWEsum <<
", ";
66 ss <<
"minNorth: " << e.
minNorth <<
", ";
67 ss <<
"minSouth: " << e.
minSouth <<
", ";
68 ss <<
"minNSsum: " << e.
minNSsum <<
", ";
69 ss <<
"uShrink: " << e.
uShrink <<
", ";
74 py::class_<STColorControl> _STColorControl(m,
"STColorControl");
75 _STColorControl.def(py::init<>())
91 py::class_<STRauColorThresholdsControl> _STRauColorThresholdsControl(m,
"STRauColorThresholdsControl");
92 _STRauColorThresholdsControl.def(py::init<>())
104 py::class_<STSloColorThresholdsControl> _STSloColorThresholdsControl(m,
"STSloColorThresholdsControl");
105 _STSloColorThresholdsControl.def(py::init<>())
110 std::stringstream ss;
116 py::class_<STSloPenaltyControl> _STSloPenaltyControl(m,
"STSloPenaltyControl");
117 _STSloPenaltyControl.def(py::init<>())
125 std::stringstream ss;
134 py::class_<STHdad> _STHdad(m,
"STHdad");
135 _STHdad.def(py::init<>())
139 .def(
"__repr__", [](
const STHdad &e) {
140 std::stringstream ss;
142 ss <<
"lambdaAD: " << e.
lambdaAD <<
", ";
147 py::class_<STColorCorrection> _STColorCorrection(m,
"STColorCorrection");
148 _STColorCorrection.def(py::init<>())
162 std::stringstream ss;
178 py::class_<STAEControl> _STAEControl(m,
"STAEControl");
179 _STAEControl.def(py::init<>())
182 std::stringstream ss;
187 py::class_<STDepthTableControl> _STDepthTableControl(m,
"STDepthTableControl");
188 _STDepthTableControl.def(py::init<>())
195 std::stringstream ss;
204 py::class_<STCensusRadius> _STCensusRadius(m,
"STCensusRadius");
205 _STCensusRadius.def(py::init<>())
209 std::stringstream ss;
210 ss <<
"uDiameter: " << e.
uDiameter <<
", ";
215 py::class_<STAFactor> _STAFactor(m,
"STAFactor");
216 _STAFactor.def(py::init<>())
218 .def(
"__repr__", [](
const STAFactor &e) {
219 std::stringstream ss;
224 py::class_<rs400::advanced_mode> rs400_advanced_mode(m,
"rs400_advanced_mode");
225 rs400_advanced_mode.def(py::init<rs2::device>(),
"device"_a)
259 py::class_<rs2::serializable_device> serializable_device(m,
"serializable_device");
260 serializable_device.def(py::init<rs2::device>(),
"device"_a)
uint32_t rauDiffThresholdBlue
void set_color_control(const STColorControl &group)
void set_slo_color_thresholds_control(const STSloColorThresholdsControl &group)
uint32_t disableSLOLeftColor
void set_slo_penalty_control(const STSloPenaltyControl &group)
STAEControl get_ae_control(int mode=0) const
void set_ae_control(const STAEControl &group)
void set_census(const STCensusRadius &group)
uint32_t textureCountThreshold
STColorControl get_color_control(int mode=0) const
uint32_t sloK2PenaltyMod2
void init_serializable_device(py::module &m)
uint32_t diffThresholdRed
void set_depth_control(const STDepthControlGroup &group)
uint32_t deepSeaMedianThreshold
uint32_t sloK1PenaltyMod2
void set_depth_table(const STDepthTableControl &group)
STDepthControlGroup get_depth_control(int mode=0) const
void load_json(const std::string &json_content) const
STCensusRadius get_census(int mode=0) const
uint32_t disableSLORightColor
void set_rau_thresholds_control(const STRauColorThresholdsControl &group)
uint32_t meanIntensitySetPoint
void toggle_advanced_mode(bool enable)
STHdad get_hdad(int mode=0) const
void set_hdad(const STHdad &group)
STAFactor get_amp_factor(int mode=0) const
STSloColorThresholdsControl get_slo_color_thresholds_control(int mode=0) const
STColorCorrection get_color_correction(int mode=0) const
uint32_t lrAgreeThreshold
STRauColorThresholdsControl get_rau_thresholds_control(int mode=0) const
void set_rau_support_vector_control(const STRauSupportVectorControl &group)
uint32_t sloK2PenaltyMod1
uint32_t diffThresholdGreen
void set_color_correction(const STColorCorrection &group)
uint32_t disableSADNormalize
uint32_t sloK1PenaltyMod1
uint32_t deepSeaNeighborThreshold
void set_rsm(const STRsm &group)
uint32_t textureDifferenceThreshold
uint32_t rauDiffThresholdRed
STSloPenaltyControl get_slo_penalty_control(int mode=0) const
std::string serialize_json() const
void init_advanced_mode(py::module &m)
uint32_t rauDiffThresholdGreen
void set_amp_factor(const STAFactor &group)
STDepthTableControl get_depth_table(int mode=0) const
uint32_t diffThresholdBlue
uint32_t deepSeaSecondPeakThreshold
STRsm get_rsm(int mode=0) const
STRauSupportVectorControl get_rau_support_vector_control(int mode=0) const