ColorVision.Core 1.5.5.2

dotnet add package ColorVision.Core --version 1.5.5.2
                    
NuGet\Install-Package ColorVision.Core -Version 1.5.5.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ColorVision.Core" Version="1.5.5.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ColorVision.Core" Version="1.5.5.2" />
                    
Directory.Packages.props
<PackageReference Include="ColorVision.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ColorVision.Core --version 1.5.5.2
                    
#r "nuget: ColorVision.Core, 1.5.5.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ColorVision.Core@1.5.5.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ColorVision.Core&version=1.5.5.2
                    
Install as a Cake Addin
#tool nuget:?package=ColorVision.Core&version=1.5.5.2
                    
Install as a Cake Tool

ColorVision.Core

版本: 1.5.5.1 | 目标框架: .NET 10.0 Windows (仅 x64)

功能定位

OpenCV 4.13 的 .NET 互操作层,提供高性能图像处理算法调用接口。通过 P/Invoke 调用原生 C++ DLL,封装为易用的 C# API。

主要功能

图像处理核心

  • HImage — 基于 OpenCV Mat 的图像封装类,支持高位深(RGB48)图像
  • HImageExtension — HImage 扩展方法(格式转换、缩放、裁剪等)
  • ImageCompute — 图像计算(直方图、统计、滤波等)

视频媒体

  • OpenCVMediaHelper — C++/C# 视频解码桥接(FFmpeg + OpenCV)
  • NativeLogBridge — C++ 原生日志桥接到 .NET log4net

CUDA 加速

  • OpenCVCuda — CUDA 设备检测和 GPU 加速接口
  • nvcuda — NVIDIA CUDA P/Invoke 定义

色彩映射

  • ColormapTypes — OpenCV 伪彩色映射类型定义

文件清单

文件 说明
HImage.cs 图像封装类
HImageExtension.cs 图像扩展方法
ImageCompute.cs 图像计算
OpenCVMediaHelper.cs 视频解码桥接
OpenCVCuda.cs CUDA 接口
nvcuda.cs CUDA P/Invoke
ColormapTypes.cs 色彩映射类型
NativeLogBridge.cs 原生日志桥接

依赖关系

  • 无项目依赖,直接引用原生 OpenCV DLL
  • 被引用: ColorVision.ImageEditor

构建

dotnet build UI/ColorVision.Core/ColorVision.Core.csproj

注意: 仅支持 x64 平台,需要 OpenCV 4.13 原生 DLL

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed.  net10.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0-windows7.0

    • No dependencies.
  • net8.0-windows7.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ColorVision.Core:

Package Downloads
ColorVision.ImageEditor

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.5.5.2 125 5/31/2026
1.5.5.1 135 4/13/2026
1.5.2.3 126 4/12/2026
1.5.2.2 110 3/31/2026
1.5.2.1 131 2/22/2026
1.5.1.2 139 2/21/2026
1.5.1.1 151 2/16/2026
1.4.1.1 139 2/3/2026
1.3.10.2 138 1/29/2026
1.3.10.1 134 1/14/2026
1.3.9.7 241 12/12/2025
1.3.9.6 480 12/9/2025
1.3.9.5 308 11/25/2025
1.3.9.4 246 11/22/2025
1.3.9.3 323 11/16/2025
1.3.9.2 322 11/13/2025
1.3.9.1 224 10/3/2025
1.3.8.3 233 9/30/2025
1.3.8.2 221 9/29/2025
1.3.8.1 228 9/25/2025
Loading failed