forked from IntelRealSense/librealsense
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Matlab wrapper for processing_block refactor.
Note: Things that derive from processing_block but not filter are currently unsupported
- Loading branch information
Lior Ramati
committed
Nov 28, 2018
1 parent
bffc18e
commit 7d57753
Showing
11 changed files
with
33 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
% Wraps librealsense2 processing_block class | ||
classdef processing_block < realsense.options | ||
% Wraps librealsense2 filter class | ||
classdef filter < realsense.options | ||
methods | ||
% Constructor | ||
function this = processing_block(handle) | ||
function this = filter(handle) | ||
this = [email protected](handle); | ||
end | ||
|
||
|
@@ -12,7 +12,7 @@ | |
function out_frame = process(this, frame) | ||
narginchk(2, 2) | ||
validateattributes(frame, {'realsense.frame'}, {'scalar'}, '', 'frame', 2); | ||
out = realsense.librealsense_mex('rs2::processing_block', 'process', this.objectHandle, frame.objectHandle); | ||
out = realsense.librealsense_mex('rs2::filter', 'process', this.objectHandle, frame.objectHandle); | ||
out_frame = realsense.frame(out); | ||
end | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters