Closed three-cups closed 5 months ago
InputArray.Create<Point3d>() API returns type CV_32FC3.
InputArray.Create<Point3d>()
Windows 11 Visual Studio 2022 NuGet package, OpenCvSharp4.Windows 4.8.0.20230708
Point3d[] Src = new Point3d[1]; InputArray Dst = InputArray.Create(Src); Debug.WriteLine(Dst.GetMat().Type());
CV_32FC3
It returns CV_32FC3, but I'm expecting CV_64FC3. Or there is other reasons?
https://github.com/shimat/opencvsharp/blob/a52ac58887f0ed612229f94d227c579a42d5653d/src/OpenCvSharp/Modules/core/InputArray.cs#L572C17-L572C17
Sorry for the delay in responding, thank you. This issue will be resolved in #1637.
Summary of your issue
InputArray.Create<Point3d>()
API returns type CV_32FC3.Environment
Windows 11 Visual Studio 2022 NuGet package, OpenCvSharp4.Windows 4.8.0.20230708
What did you do when you faced the problem?
Example code:
Output:
What did you intend to be?
It returns CV_32FC3, but I'm expecting CV_64FC3. Or there is other reasons?
https://github.com/shimat/opencvsharp/blob/a52ac58887f0ed612229f94d227c579a42d5653d/src/OpenCvSharp/Modules/core/InputArray.cs#L572C17-L572C17