kkartavenka / FastDtw.CSharp

FastDtw Implementation in C# focused on performance
https://www.nuget.org/packages/FastDtw.CSharp
MIT License
11 stars 1 forks source link

How is data are vector3? #1

Open YenYaoHan opened 3 days ago

YenYaoHan commented 3 days ago

Hi Thanks for your great work.

I would wanna know if i have two vector3 list, (x,y,z) such as List pathA and List pathB,

is it can work on your algorithm? Is it possible to provide a sample code?

kkartavenka commented 2 days ago

@YenYaoHan Vector3 contains 3 float variables. I am not sure what path you want to compute between two vector points.

Overall, the algorithm accepts two arrays/spans, not three-dimensional vectors. However, you can modify the code to consume vectors and compute the distance between two points for the cost matrix with ways suited your needs.