core-image Questions
1
Solved
I'm attempting to build my project after upgrading to XCode 16 and am having trouble getting it to compile. When I attempt to build the project I get an error: air-lld:1:1 symbol(s) not found for t...
Shoestring asked 20/9 at 4:19
7
I want to calculate the histogram of a CGImage.
I am using the CIAreaHistogram built-in CoreImage filter.
Justin Mrkva has done something along similar lines. He says:
I get the CIImage for the...
Cluny asked 1/12, 2014 at 21:5
2
Core Image lets us specify a color space for a CIContext, as in:
let context = CIContext(options: [kCIContextOutputColorSpace: NSNull(),
kCIContextWorkingColorSpace: NSNull()])
Or for a CIImage...
Screw asked 29/10, 2017 at 9:58
3
I am currently working on live filters using Metal.
After defining my CIImage I render the image to a MTLTexture.
Below is my rendering code. context is a CIContext backed by Metal;
targetTexture ...
Vladi asked 1/10, 2017 at 15:28
1
Solved
I'm trying to display a bounding box around a detected QR code, but the box isn't showing up. Think it may be something with a mismatch in coordinate systems but not totally sure.
import SwiftUI
im...
Ossy asked 8/4 at 15:57
26
Solved
In the Music app of the new iOS, we can see an album cover behind a view that blurs it.
How can something like that be accomplished? I've read the documentation, but did not find anything there.
...
Mentality asked 11/6, 2013 at 10:13
1
Solved
I have SpriteKit nodes on which I apply Core Image filters using SKEffectNode. The sprites are images added by the user on the scene, and can be of any size. Some of the filters change the size of ...
Kernite asked 6/1 at 22:0
4
Solved
I'm stuck with SwiftUI and Metal up to the point of being about to give up.
I got this example from https://developer.apple.com/forums/thread/119112?answerId=654964022#654964022 :
import MetalKit
s...
Lambeth asked 4/1, 2021 at 22:22
5
Solved
I am a new iOS developer. I was wondering how can I generate a barcode in Swift.
I have the code already, there are multiple resources from where to learn how to read a barcode, but I didn't find ...
Osteoma asked 16/2, 2015 at 13:14
10
Solved
I have a grayscale image which I want to use for drawing Cocoa controls. The image has various levels of gray. Where it is darkest, I want it to draw a specified tint color darkest. I want it to be...
Asperse asked 11/9, 2009 at 20:36
1
I've looked at many other questions like this, and tried a lot of the solutions, but this case is a bit different. I'm using AVCaptureVideoDataOutputSampleBufferDelegate so that I can apply CIFilte...
Discord asked 9/7, 2016 at 23:23
3
I am working with the code from Dondragmer's 'Rotated Hue' example from this question: How to programmatically change the hue of UIImage?
However, I am getting very different results than what I'd...
Gesticulation asked 21/12, 2017 at 2:15
3
Solved
The first image below is the original image.
The second image is a blurred image implemented using Core Image API.
The third image is a blurred image implemented using UIVisualView.
It's obvious ...
Deluge asked 19/12, 2017 at 4:0
1
Solved
I am trying to make some colors of the image transparent. Below are the images that I have.
Lets say that I want to remove the bold red color from the image and have it transparent. I am viewing my...
Toadfish asked 28/10, 2022 at 4:42
11
Solved
here's my code for generating QRCode image
+ (UIImage *)generateQRCodeWithString:(NSString *)string {
NSData *stringData = [string dataUsingEncoding:NSUTF8StringEncoding];
CIFilter *filter = [CI...
Franckot asked 13/3, 2014 at 10:1
2
Solved
I am following a code example to make a blurred UILabel, https://mcmap.net/q/987005/-add-blur-view-to-label.
My requirement is to make the label on blur after label initialization instead of callin...
Georgettageorgette asked 5/10, 2020 at 1:18
1
Solved
I've searched far and wide and can't find a single example of how to use a CIFilterShape, and what it's good for. Most Apple docs just say it controls the dod of a filter, even the CoreImage Refere...
Oina asked 15/10, 2015 at 18:7
3
I check CIVignette of Core Image Filter Reference at
http://developer.apple.com/library/mac/#documentation/graphicsimaging/reference/CoreImageFilterReference/Reference/reference.html#//apple_ref/do...
Offshore asked 1/12, 2012 at 12:34
1
I am trying to create an imitation of the portrait mode in Apple's native camera.
The problem is, that applying the blur effect using CIImage with respect to depth data, is too slow for the live pr...
Threequarter asked 26/3, 2018 at 13:29
3
Solved
I am trying to use a CIColorKernel or CIBlendKernel with sampler arguments but the program crashes. Here is my shader code which compiles successfully.
extern "C" float4 wipeLinear(coreim...
Chemisorption asked 25/11, 2021 at 9:42
2
Solved
Obviously, we can use CoreImage to convert to gray, denoise and blur an image but then when it comes to Canny Edge Detection, contour detection and to draw a contour of a shape it seems that this i...
Resa asked 12/8, 2018 at 1:56
3
Solved
I'd like to create a CoreImage filter chain, and to be able to control the "intensity" of each filter in the chain by compositing its individual effect with alpha, or opacity settings, but I am not...
Sodden asked 23/1, 2013 at 4:23
3
Solved
Is there any sample code or example for CITemperatureAndTint? I have read its documentation but i need some example to implement it.
Docia asked 13/7, 2012 at 4:45
2
Solved
OK, so the Core Image filter Temperature and Tint has two inputs, neutral and targetNeutral. However, my biggest issue is the fact that they're both two-component vectors, meaning each has two nume...
Davide asked 3/11, 2011 at 17:49
3
Solved
I'm playing with the Core Image framework. As I understand, if I have an image (NSImage), it needs to be converted into CIImage, first. I can do that.
NSImage *im1 = [[NSImage alloc] initWithConte...
Taxable asked 30/6, 2013 at 2:46
1 Next >
© 2022 - 2024 — McMap. All rights reserved.