Fix Row()/At<T> misuse and add Span-based pixel access APIs (fixes #1775) #11
Annotations
18 warnings
|
test/OpenCvSharp.Tests/core/MatTest.cs#L64
'Mat.GetGenericIndexer<T>()' is obsolete: 'Use At<T>(row, col) for occasional access, or AsRows<T>() for high-performance loops. GetGenericIndexer uses Marshal.PtrToStructure which is slower than both alternatives.'
|
|
test/OpenCvSharp.Tests/core/MatTest.cs#L36
'Mat.GetGenericIndexer<T>()' is obsolete: 'Use At<T>(row, col) for occasional access, or AsRows<T>() for high-performance loops. GetGenericIndexer uses Marshal.PtrToStructure which is slower than both alternatives.'
|
|
src/OpenCvSharp/Internal/PInvoke/NativeMethods/saliency/NativeMethods_saliency_ObjectnessBING.cs#L35
Specify marshaling for P/Invoke string arguments (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2101)
|
|
src/OpenCvSharp/Internal/PInvoke/NativeMethods/saliency/NativeMethods_saliency_ObjectnessBING.cs#L31
Specify marshaling for P/Invoke string arguments (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2101)
|
|
src/OpenCvSharp/Internal/PInvoke/NativeMethods/NativeMethods_aruco.cs#L25
Specify marshaling for P/Invoke string arguments (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2101)
|
|
src/OpenCvSharp.Analyzers/AnalyzerReleases.Unshipped.md#L5
Analyzer release file 'AnalyzerReleases.Unshipped.md' has a missing or invalid release header 'Rule ID | Category | Severity | Notes' (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
|
|
src/OpenCvSharp.Analyzers/MatPropertyInLoopConditionAnalyzer.cs#L22
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
|
|
src/OpenCvSharp.Analyzers/RowColNotDisposedAnalyzer.cs#L18
XML comment has cref attribute 'AsRows{T}' that could not be resolved
|
|
src/OpenCvSharp.Analyzers/RowColInLoopBodyAnalyzer.cs#L12
XML comment has cref attribute 'AsRows{T}' that could not be resolved
|
|
src/OpenCvSharp.Analyzers/MatExprChainAnalyzer.cs#L15
XML comment has cref attribute 'IDisposable' that could not be resolved
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The logs for this run have expired and are no longer available.
Loading