core-image Questions
2
Solved
I have only observed this behaviour on iOS 9; iOS 8 works correctly.
I suspect this might be a bug on the SDK, and I have opened a radar to Apple (22644754), but I find it so strange, that I get t...
Hettie asked 11/9, 2015 at 9:27
0
What's the "need a swizzler so that RGB8 can be read" about that Core Image give iOS9?
First of all,i thought a solution to it ,but it's not a good way.I will give in the last.
when i deal with Filter In iOS9 i got "need a swizzler so that RGB8 can be read" error message and the ret...
Erotogenic asked 13/10, 2015 at 8:41
2
I've read some posts which recommend the use of:
UIGraphicsBeginImageContextWithOptions((image.size), NO, 0.0f)
instead of:
UIGraphicsBeginImageContext(image.size).
Because the first one use...
Cooperman asked 22/7, 2012 at 19:9
3
Solved
Recently, I've been trying to set up a CIColorCube on a CIImage to create a custom effect. Here's what I have now:
uint8_t color_cube_data[8*4] = {
0, 0, 0, 1,
255, 0, 0, 1,
0, 255, 0, 1,
255,...
Karim asked 3/4, 2013 at 21:20
3
Solved
I'm looking for a framework helps detecting the sharpness of a photo. I have read this post which points to the methodology of doing so. But I'd rather work with a library than getting my hands dir...
Neutron asked 5/8, 2015 at 11:5
2
Solved
This is what i need to achieve:
Take image from camera or Gallery
Remove background from image & save it
Background should be anything black or white
Also need to remove shadow along with the...
Reavis asked 14/7, 2015 at 7:27
1
I'm building an application that uses the CIAreaHistogram Core Image filter. I use an inputCount value (number of buckets) of 10 for testing, and an inputScale value of 1.
I get the CIImage for th...
Cicada asked 20/3, 2013 at 19:29
3
Solved
I want to calculate histogram of an NSImage, so I turned to CIFilter naturally. There's a filter named CIAreaHistogram does what I want. Here's my code:
NSBitmapImageRep *rep = [image bitmapImageR...
Prakrit asked 7/7, 2014 at 15:11
4
I'm using the AVFoundation framework. In my sample buffer delegate I have the following code:
-(void)captureOutput:(AVCaptureOutput *)captureOutput didOutputSampleBuffer:(CMSampleBufferRef)sampleB...
Dachia asked 17/10, 2011 at 0:54
1
Solved
I'm using the CIPerspectiveCorrection Filter and my problem is that my returned image results are mirrored, upside down, and the points used for the perspective correction seem to be referencing th...
Salted asked 5/3, 2015 at 3:12
2
Solved
I'm using Core Image in Swift for editing photos and I have a problem when I save the photo. I'm not saving it with correct orientation.
When I get the picture from the Photo Library I'm saving the...
Arreola asked 3/3, 2015 at 22:17
1
Solved
I'm trying to get the per-pixel RGBA values for a CIImage in floating point.
I expect the following to work, using CIContext and rendering as kCIFormatRGBAh, but the output is all zeroes. Otherwis...
Bensky asked 9/2, 2015 at 18:4
2
Solved
I am using core image and I am applying a CIFilter sepia tone to my image. I run a filter once in viewDidLoad and then immediately call another function that adds the filter again. For some reason,...
Clavius asked 7/2, 2015 at 19:23
2
Solved
I'm trying to find out how to change the color/hue of a UIImage. I found out that iOS5 has a lot of image filters, but I have hard time finding documentation on the proper use of the CIColorMatrix ...
Squarerigger asked 27/2, 2012 at 21:41
2
Solved
I'm having a hard time understanding the meaning of the center vector used by many different CIFilters.
Let's take CIRadialGradient for example, what does the inputCenter mean? What's its values r...
Phenomenalism asked 9/12, 2014 at 23:11
2
From iOS6, Apple has given the provision to use native YUV to CIImage through this call
initWithCVPixelBuffer:options:
In the core Image Programming guide, they have mentioned about this feat...
Pryor asked 8/11, 2013 at 4:21
2
Solved
How does one translate the last line of the following ObjC code to Swift:
CGAffineTransform transform = CGAffineTransformIdentity;
CIFilter *clampFilter = [CIFilter filterWithName:@"CIAffineClamp"...
Peptonize asked 8/10, 2014 at 14:41
2
I am trying to apply filters to a video composition created with AVFoundation on iOS (filters could be, eg, blur, pixelate, sepia, etc). I need to both apply the effects in real-time and be able to...
Herb asked 17/12, 2013 at 6:7
1
Solved
I'm trying to add a watermark/logo on a video that I'm recording using AVFoundation's AVCaptureVideoDataOutput.
My class is set as the sampleBufferDelegate and receives the CMSamplebufferRefs. I a...
Horme asked 4/7, 2014 at 14:14
2
I have created blur image as below:
//Blur the UIImage
CIImage *imageToBlur = [CIImage imageWithCGImage:viewImage.CGImage];
CIFilter *gaussianBlurFilter = [CIFilter filterWithName: @"CIGaussianBlu...
Fluxmeter asked 13/5, 2014 at 10:29
1
I'm trying to achieve selective color feature in iOS. I personally think that first draw shape using finger gesture and convert that into mask, But at the same time it should be real time, It shoul...
Lashelllasher asked 30/6, 2014 at 9:18
3
I'm creating a color picker for iOS. I would like to enable the user to select the brightness (luminance) and have the color wheel reflect this change. I'm using Core Image to modify the brightness...
Minneapolis asked 25/11, 2012 at 0:56
3
Solved
I am taking a snapshot of the contents of an NSView, applying a CIFilter, and placing the result back into the view. If the CIFilter is a form of blur, such as CIBoxBlur or CIGuassianBlur, the filt...
Corroboration asked 19/11, 2012 at 3:57
1
Solved
How do I get combine GI Filter effects. I would like to combine CISepiaTone with CIPhotoEffectMono. Currently I have something like this for a filter.
case 1:{
filter = [CIFilter filterWithName:@...
Pereyra asked 4/3, 2014 at 21:8
2
I'm trying to create a CIFilter with blend mode (like overlay or multiply). Relevant code:
// Let's try a filter here
// Get the data
NSData *imageData = UIImageJPEGRepresentation(image, 0.85);
/...
Oler asked 5/6, 2012 at 18:47
© 2022 - 2024 — McMap. All rights reserved.