You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
715 B
19 lines
715 B
2 months ago
|
% Wraps librealsense2 disparity_transform class
|
||
|
classdef disparity_transform < realsense.filter
|
||
|
methods
|
||
|
% Constructor
|
||
|
function this = disparity_transform(transform_to_disparity)
|
||
|
if nargin == 0
|
||
|
out = realsense.librealsense_mex('rs2::disparity_transform', 'new');
|
||
|
else
|
||
|
validateattributes(transform_to_disparity, {'logical', 'numeric'}, {'scalar', 'real'});
|
||
|
out = realsense.librealsense_mex('rs2::disparity_transform', 'new', logical(transform_to_disparity));
|
||
|
end
|
||
|
this = this@realsense.filter(out);
|
||
|
end
|
||
|
|
||
|
% Destructor (uses base class destructor)
|
||
|
|
||
|
% Functions
|
||
|
end
|
||
|
end
|