-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aligning color to depth (again) #3338
Comments
Hi AndrewFielding, Besides the changes mentioned in #2455, you will need to do another change in align constructor. Thanks! |
Hi AndrewFielding, Wonder if you have any update? Thanks! |
Hi,
The fix appears to work., at least it seems to run ok and the colour and
depth appear to be aligned. Will this change appea rin a future update?
many thanks
Andrew
…On Thu, 21 Mar 2019 at 01:06, RealSense Customer Support < ***@***.***> wrote:
------------------------------
Hi AndrewFielding,
Besides the changes mentioned in #2455
<#2455>, you will
need to do another change in align constructor.
Together 2 changes:
a) For
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/matlab/align.m#L8
Replace "this.objectHandle" with "out", which is used in next line for
fitler().
b) As mentioned in #2455
<#2455>, comment out
validateattributes() in process()
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/matlab/align.m#L17
Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3338 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADVbxYO6q8VQha24oGiJFd8zmQvuLsUSks5vYs0OgaJpZM4bUK2d>
.
|
Pull request #3577 addresses this, and has already been merged into
development.
|
Issue Description
I am trying to use the align.m function to align video and depth streams using the MATLAB wrapper. I am using the code chunk suggested in issue #2455.
align_to = realsense.stream.color;
alignedFs = realsense.align(align_to);
.....
fs = pipe.wait_for_frames();
aligned_frames = alignedFs.process(fs);
When using this I get the following error message corresponding to the line of script.
alignedFs = realsense.align(align_to);
Can anyone help with this error message (see below)?
Error using realsense.align
Error: File: align.m Line: 9 Column: 35
A constructor call to superclass realsense.filter appears after the object is used, or after a return.
Error in acquire_color_depth (line 45)
aligned = realsense.align(align_to);
The text was updated successfully, but these errors were encountered: