Skip to content

A problem of Filter and Align #1423

@HungLearner

Description

@HungLearner
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);

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions