You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix all build warnings (CA/CS analyzers) across src and tests
Eliminates every warning surfaced by a clean Release build (174 -> 0):
- CA2000: split chained `LoadImage(...)[rect]`/`new IndexParams()` expressions
into separate `using` declarations so every disposable is tracked
- CA1861: hoist constant array literals passed to repeatedly-invoked test
helpers into static readonly fields
- CA5394: mark test files that use seeded `Random` for synthetic data as
intentionally non-cryptographic (matches existing CoreTest.cs convention)
- CS8602/CS8604: add the missing null checks that StereoCalibrate's
InputArray overload and FindHomography/FindFundamentalMat's mask parameter
should have had, and widen InputArray's Mat conversion/factory to accept
null (mirroring the existing nullable-Mat constructor) so passing a null
Mat for an optional InputArray? parameter no longer looks unsafe
- CS1573: document the AlgorithmHint `hint` parameter added to
CvtColor/CvtColorTwoPlane/GaussianBlur/Remap/WarpAffine/WarpPerspective
- CS1591: suppress doc-comment requirements on the internal blittable
FacemarkAAM/LBF ParamsData marshalling structs (same pattern already used
for CvEdgeDrawingParams)
- CA1859/CA1805/CA1069/CA1000: narrow InputArray's owned-disposable field to
Mat, drop a redundant default-value initializer, and suppress the two
known-intentional false positives (PutTextFlags' dual-axis bit flags,
SparseMat<T>'s generic static factory)
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
/// <param name="dst">The destination image; will have the same size and the same depth as src</param>
2431
2436
/// <param name="code">The color space conversion code</param>
2432
2437
/// <param name="dstCn">The number of channels in the destination image; if the parameter is 0, the number of the channels will be derived automatically from src and the code</param>
2438
+
/// <param name="hint">Hint that selects between alternative algorithm implementations (OpenCV 5).</param>
0 commit comments