gpt4 book ai didi

ios - 'inputEV'的含义

转载 作者:行者123 更新时间:2023-11-28 21:25:44 27 4
gpt4 key购买 nike

CIFilter“CIExposureAdjust”中使用的键名“inputEV”是什么意思?

例如:

    CIFilter *exposureFilter = [CIFilter filterWithName:@"CIExposureAdjust"];
[exposureFilter setValue:outputImage forKey:kCIInputImageKey];
[exposureFilter setValue:[NSNumber numberWithFloat:5] forKey:@"inputEV"];
CIImage *outputImage = [exposureFilter valueForKey:kCIOutputImageKey];

最佳答案

根据文档,这是曝光值:

This filter multiplies the color values, as follows, to simulate exposure change by the specified F-stops:

s.rgb * pow(2.0, ev)

关于ios - 'inputEV'的含义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38171006/

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