gpt4 book ai didi

ios - 如何在 iOS 应用程序中使用 Lightroom 预设作为照片或视频的滤镜?

转载 作者:塔克拉玛干 更新时间:2023-11-02 20:30:46 25 4
gpt4 key购买 nike

如何通过 GPUImageCore Graphics 或通过 Lightroom Presets 中的任何其他框架将滤镜应用于图像。

如何在图像上单独使用 Lightroom 预设的元素(对比度、饱和度、色调、清晰度等)。

个别 Lightroom 预设元素:

enter image description here

最佳答案

不幸的是,这不是一件容易的事,因为要使用 Lightroom 预设作为滤镜,您需要制作 Lightroom 的自制子集。

1:用文本编辑器打开预设文件,看看Lightroom是用什么处理来达到这个效果的,是不是这样

value = {
settings = {
AutoLateralCA = 0,
Blacks2012 = 49,
BlueHue = 11,
BlueSaturation = 4,
CameraProfile = "Adobe Standard",
ChromaticAberrationB = 0,
ChromaticAberrationR = 0,
Clarity2012 = 30,
ColorNoiseReduction = 0,
ColorNoiseReductionDetail = 50,
ColorNoiseReductionSmoothness = 50,
Contrast2012 = 13,
ConvertToGrayscale = true,
CropConstrainToWarp = 0,
Defringe = 0,
DefringeGreenAmount = 0,
DefringeGreenHueHi = 60,
DefringeGreenHueLo = 40,
DefringePurpleAmount = 0,
DefringePurpleHueHi = 70,
DefringePurpleHueLo = 30,
EnableCalibration = true,
EnableCircularGradientBasedCorrections = true,
EnableDetail = true,
EnableEffects = true,
EnableGradientBasedCorrections = true,
EnableGrayscaleMix = true,
EnableLensCorrections = true,
EnableSplitToning = true,
Exposure2012 = 0,
GrainAmount = 0,
GrainFrequency = 50,
GrainSize = 25,
GrayMixerAqua = 4,
GrayMixerBlue = -14,
GrayMixerGreen = -11,
GrayMixerMagenta = 3,
GrayMixerOrange = -3,
GrayMixerPurple = 13,
GrayMixerRed = 8,
GrayMixerYellow = -6,
GreenHue = 26,
GreenSaturation = -1,
Highlights2012 = -9,
LensManualDistortionAmount = 0,
LensProfileEnable = 0,
LensProfileSetup = "LensDefaults",
LuminanceNoiseReductionContrast = 0,
LuminanceNoiseReductionDetail = 50,
LuminanceSmoothing = 0,
ParametricDarks = 8,
ParametricHighlightSplit = 75,
ParametricHighlights = 2,
ParametricLights = 15,
ParametricMidtoneSplit = 50,
ParametricShadowSplit = 25,
ParametricShadows = 9,
PerspectiveAspect = 0,
PerspectiveHorizontal = 0,
PerspectiveRotate = 0,
PerspectiveScale = 100,
PerspectiveUpright = 0,
PerspectiveVertical = 0,
PostCropVignetteAmount = 0,
PostCropVignetteFeather = 50,
PostCropVignetteHighlightContrast = 0,
PostCropVignetteMidpoint = 50,
PostCropVignetteRoundness = 0,
PostCropVignetteStyle = 1,
ProcessVersion = "6.7",
RedHue = 10,
RedSaturation = -5,
ShadowTint = 0,
Shadows2012 = 37,
SharpenDetail = 25,
SharpenEdgeMasking = 0,
SharpenRadius = 1,
Sharpness = 0,
SplitToningBalance = 0,
SplitToningHighlightHue = 0,
SplitToningHighlightSaturation = 0,
SplitToningShadowHue = 0,
SplitToningShadowSaturation = 0,
ToneCurveName2012 = "Black-Mamba_FLP.co",
ToneCurvePV2012 = {
0,
33,
47,
38,
88,
73,
116,
131,
143,
179,
202,
216,
255,
243,
},
ToneCurvePV2012Blue = {
0,
0,
255,
255,
},
ToneCurvePV2012Green = {
0,
0,
255,
255,
},
ToneCurvePV2012Red = {
0,
0,
255,
255,
},
VignetteAmount = -7,
VignetteMidpoint = 46,
WhiteBalance = "As Shot",
Whites2012 = 23,
orientation = "BC",
},

2:实现 Lightroom 用于应用预设的所有方法,您可以使用像 this 这样的库在帮助中

3:你需要一种方法将所有预设设置重新映射为变量并应用过滤器

关于ios - 如何在 iOS 应用程序中使用 Lightroom 预设作为照片或视频的滤镜?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47553313/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com