简体   繁体   English

使用CIFilter,我应该在iPhone摄像头中使用该图像过滤器来遮挡云层,晴朗的月光

[英]Using CIFilter, which image filters I should use for cloud, sunny moon light in iphone camera

I'm new to CIFilters in iOS, I have to implement some image filters in my project like Cloud, Sunny, Moon light, I don't know which filter I should chose for each of this one. 我是iOS中的CIFilters的新手,我必须在项目中实现一些图像滤镜,例如Cloud,Sunny,Moon light,但我不知道我应该为每个滤镜选择哪个滤镜。

Below link is the apple official site for CIFilters: https://developer.apple.com/library/mac/documentation/graphicsimaging/reference/CoreImageFilterReference/Reference/reference.html#//apple_ref/doc/uid/TP40004346-CH202-TPXREF101 以下链接是CIFilters的Apple官方网站: https : //developer.apple.com/library/mac/documentation/graphicsimaging/reference/CoreImageFilterReference/Reference/reference.html#//apple_ref/doc/uid/TP40004346-CH202- TPXREF101

I'll be very thankful to you if you guide me. 如果您指导我,我将非常感谢您。

Thanks in Advance. 提前致谢。 Ahmed Jabir 艾哈迈德·贾比尔

You might try the CISunbeamsGenerator for the sun and the rays on the moon. 您可以尝试使用CISunbeamsGenerator来获取太阳和月球上的光线。 As for the clouds, you might try creating some outlines for the clouds, then applying a CIGaussianBlur effect to them to make them look puffy. 至于云,您可以尝试为云创建一些轮廓,然后对它们应用CIGaussianBlur效果以使其显得浮肿。
Hope that helps! 希望有帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我想在不使用任何第三方框架的情况下将过滤器应用于录制的视频。我曾尝试将CIfilter用于CAlayer,但它不能正常工作 - I want to Apply Filters to the recorded Video without using any third Party Framework .I had tried to use CIfilter to CAlayer but its not Working 如何使用iPhone相机检查光强度 - How to check light intensity using iPhone camera 如何使用iPhone相机测量房间中可见的蓝光强度? - How to measure visible blue light intensity in a room using iPhone camera? 当我尝试在iOS(iPhone)应用程序中使用CIFilter时,如何解决链接器错误? - How do I resolve the linker error when I try to use CIFilter in my iOS (iPhone) app? 哪个CIFilter可以向图像添加色彩层 - Which CIFilter can add a color layer to image 我正在使用CIFilter来获取模糊图像,但是为什么输出图像总是大于输入图像? - I am using CIFilter to get a blur image,but why is the output image always larger than input image? 设置使用iPhone相机拍摄的图像类型 - set type of an image captured using iPhone camera 远程激活iPhone的摄像头,灯光和麦克风 - Activate the iPhone camera, light, and microphone remotely iOS Image周围的白色像素使用CIFilter - White pixels around iOS Image using CIFilter 使用CIFilter将滤镜应用于UIImage和旋转的图像 - Filter applied to UIImage and rotated image using CIFilter
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM