C#实现PS曲线调整,OpenCV实现

上传者: 40451022 | 上传时间: 2024-12-21 09:47:23 | 文件大小: 48.29MB | 文件类型: RAR
可以实现和PS中一样的曲线调整功能 可以拖动RGB、红、绿、蓝曲线,调整对应通道的亮度和对比度。并可以删除或者添加锚点等一系列操作。 可以实现载入曲线预设文件,完成对图像的亮度对比度调整。 可以给图片添加指定的ICC文件,完成图片色彩的替换 【曲线原理】 对于一个RGB图像, 可以对R, G, B 通道进行独立的曲线调整,即,对三个通道分别使用三条曲线(Spline曲线)。还可以再增加一条曲线对 三个通道进行整体调整。 因此,对一个图像,可以用四条曲线调整。最终的结果,是四条曲线调整后合并产生的结果。 用几条曲线同时调整时,先对红、绿、蓝三个独立通道分别进行调整,最后对RGB总通道进行调整。 由于曲线调整仅仅是数值替换,可以用一个转换表进行快速运算, 因此,曲线调整的速度是很快的。 博客地址:https://www.cnblogs.com/bigfirsh/p/17621242.html

文件下载

资源详情

[{"title":"( 58 个子文件 48.29MB ) C#实现PS曲线调整,OpenCV实现","children":[{"title":"WindowsFormsApp1","children":[{"title":"Form1.Designer.cs <span style='color:#111;'> 10.74KB </span>","children":null,"spread":false},{"title":"packages.config <span style='color:#111;'> 998B </span>","children":null,"spread":false},{"title":"SplineHelp","children":[{"title":"CPoint.cs <span style='color:#111;'> 624B </span>","children":null,"spread":false},{"title":"CSpline.cs <span style='color:#111;'> 5.65KB </span>","children":null,"spread":false},{"title":"IDraw.cs <span style='color:#111;'> 145B </span>","children":null,"spread":false}],"spread":true},{"title":"App.config <span style='color:#111;'> 565B </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 8.43KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"WindowsFormsApp1.csproj.FileListAbsolute.txt <span style='color:#111;'> 3.24KB </span>","children":null,"spread":false},{"title":"WindowsFormsApp1.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"WindowsFormsApp1.exe <span style='color:#111;'> 24.00KB </span>","children":null,"spread":false},{"title":"WindowsFormsApp1.pdb <span style='color:#111;'> 71.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 9.74KB </span>","children":null,"spread":false},{"title":"WindowsFormsApp1.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"WindowsFormsApp1.csproj.GenerateResource.cache <span style='color:#111;'> 1012B </span>","children":null,"spread":false},{"title":"WindowsFormsApp1.csproj.CopyComplete <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"WindowsFormsApp1.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"WindowsFormsApp1.csproj.ResolveComReference.cache <span style='color:#111;'> 787B </span>","children":null,"spread":false},{"title":".NETFramework,Version=v4.7.2.AssemblyAttributes.cs <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"Interop.Photoshop.dll <span style='color:#111;'> 193.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"SPlineCurves.cs <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false},{"title":"ICCProfileHelp.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"OpenCvSharp.Extensions.xml <span style='color:#111;'> 6.61KB </span>","children":null,"spread":false},{"title":"System.Drawing.Common.dll <span style='color:#111;'> 51.63KB </span>","children":null,"spread":false},{"title":"System.ValueTuple.xml <span style='color:#111;'> 198.98KB </span>","children":null,"spread":false},{"title":"dll","children":[{"title":"x64","children":[{"title":"OpenCvSharpExtern.dll <span style='color:#111;'> 57.96MB </span>","children":null,"spread":false},{"title":"opencv_videoio_ffmpeg480_64.dll <span style='color:#111;'> 25.13MB </span>","children":null,"spread":false}],"spread":false},{"title":"x86","children":[{"title":"opencv_videoio_ffmpeg480.dll <span style='color:#111;'> 22.30MB </span>","children":null,"spread":false},{"title":"OpenCvSharpExtern.dll <span style='color:#111;'> 39.72MB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"System.Numerics.Vectors.xml <span style='color:#111;'> 179.18KB </span>","children":null,"spread":false},{"title":"WindowsFormsApp1.exe.config <span style='color:#111;'> 565B </span>","children":null,"spread":false},{"title":"WindowsFormsApp1.exe <span style='color:#111;'> 24.00KB </span>","children":null,"spread":false},{"title":"OpenCvSharp.dll <span style='color:#111;'> 919.00KB </span>","children":null,"spread":false},{"title":"WindowsFormsApp1.pdb <span style='color:#111;'> 71.50KB </span>","children":null,"spread":false},{"title":"System.Runtime.CompilerServices.Unsafe.xml <span style='color:#111;'> 20.05KB </span>","children":null,"spread":false},{"title":"System.Memory.xml <span style='color:#111;'> 13.62KB </span>","children":null,"spread":false},{"title":"System.ValueTuple.dll <span style='color:#111;'> 24.20KB </span>","children":null,"spread":false},{"title":"temp.png <span style='color:#111;'> 115.19KB </span>","children":null,"spread":false},{"title":"MathNet.Numerics.xml <span style='color:#111;'> 3.28MB </span>","children":null,"spread":false},{"title":"OpenCvSharp.xml <span style='color:#111;'> 1.91MB </span>","children":null,"spread":false},{"title":"System.Memory.dll <span style='color:#111;'> 138.91KB </span>","children":null,"spread":false},{"title":"System.Runtime.CompilerServices.Unsafe.dll <span style='color:#111;'> 17.60KB </span>","children":null,"spread":false},{"title":"System.Drawing.Common.xml <span style='color:#111;'> 38.16KB </span>","children":null,"spread":false},{"title":"OpenCvSharp.Extensions.dll <span style='color:#111;'> 20.00KB </span>","children":null,"spread":false},{"title":"MathNet.Numerics.dll <span style='color:#111;'> 1.52MB </span>","children":null,"spread":false},{"title":"System.Buffers.dll <span style='color:#111;'> 20.37KB </span>","children":null,"spread":false},{"title":"System.Buffers.xml <span style='color:#111;'> 3.40KB </span>","children":null,"spread":false},{"title":"System.Numerics.Vectors.dll <span style='color:#111;'> 113.14KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 528B </span>","children":null,"spread":false},{"title":"WindowsFormsApp1.csproj <span style='color:#111;'> 7.86KB </span>","children":null,"spread":false},{"title":"WindowsFormsApp1.csproj.user <span style='color:#111;'> 231B </span>","children":null,"spread":false},{"title":"CurveProgram.cs <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 6.08KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明