- 
                Notifications
    You must be signed in to change notification settings 
- Fork 4.9k
Closed
Description
| 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);