A problem of Filter and Align
| Required Info | |
|---|---|
| Camera Model | D415 |
| Operating System & Version | Windows 10 |
| Platform | PC |
| SDK Version | SDK 2.0 (Build 2.10.1) |
When I use Align to process original frameset, and use that output in Colorize. It will crash such as "AccessViolationException".
I'm also try create new space to copy the data, but it still have a problem.
I think the Filter and Align can't use in the same time.
How can I fix this problem?
This is my code:
var frames = pipeline.WaitForFrames();
Align Alg = new Align(Stream.Color);
var Alg_frame = Alg.Process(frames);
SpatialFilter filter = new SpatialFilter();
filter.Options[Option.HolesFill].Value = 3.0f;
var filtered_depth = filter.ApplyFilter(Alg_frame.DepthFrame);
var colorized_depth = colorizer.Colorize(filtered_depth);
Does anybody known this problem?
Hi @HungLearner Sorry for the delay. We reproduced the problem with v2.10.1, and the bug should be fixed now in v2.10.2 (I believe by #1278) Could you please check that the output is what you wanted?
It's work! Thank you very much!
Great! Feel free to open more issues, I am aware that the combinations of filters and alignment is something we struggled to get right, but hopefully now it should work.