Questions tagged [ciimage]

CIImage is an image class from Apple's CoreImage framework. It is supplemented by other CoreImage classes -- such as CIFilter, CIContext, CIVector and CIColor. Although a CIImage holds image data, it is not an image. Core Image doesn’t actually render an image until it is told to do so. This “lazy evaluation” method allows Core Image to operate as efficiently as possible.

294 questions
0
votes
1 answer

How to use output of CIFilter recursively as new input?

I've written an own CIFilter kernel which is doing some image processing on the camera signal. It takes two arguments: Argument one is "inputImage" (the current camera image) argument 2 is "backgroundImage" which is being initialized with the first…
JackPearse
  • 2,922
  • 23
  • 31
0
votes
2 answers

IOS 6 Face Detection Not Working

I have used the following code to detect the face for IOS 5 CIImage *cIImage = [CIImage imageWithCGImage:image.CGImage]; CIDetector* detector = [CIDetector detectorOfType:CIDetectorTypeFace context:nil options:[NSDictionary…
iYahoo
  • 184
  • 3
  • 16
0
votes
1 answer

Accessing CIImage bytes, crashes app

I'm porting some OSX code to iOS and need to access the bytes of a CIImage. The OSX version does this with a NSBitmapImageRep, but on iOS i need to jump trough some hoops. Here is the code i'm trying to run CIContext *context = [CIContext…
Ugly Davis
  • 37
  • 3
-1
votes
1 answer

CIFilter.outputImage is nil?

when I run the following in two MAC PCs, one is OK, the other is NG, so I don't know how to resolve the problem, if you know the reason, please give me some ideas. Note: I found some similar questions, but they almost relate to the timing of…
Alpha
  • 33
  • 2
-1
votes
1 answer

CIFilter generated image does not display in IB or on simulator

When generating an image with CIFilter, all is displayed correctly on a physical device but will not display in simulator or in IB. Here is the code that I'm using to render the image: if let f = constructFilter(radius: radius, value:…
Andrew Coad
  • 297
  • 2
  • 13
-1
votes
1 answer

How to apply LUT (from .png) to an image? (Swift + Xcode)

I am trying to apply a LUT to an image by pressing a button. Because, I am new to programming I mostly copied code and tried to modify it for my own project. I get no error messages, but when I try to press the button there is no effect on the…
Fray
  • 1
  • 1
-1
votes
1 answer

CIFilters to Show Clipped Highlights and Shadows

In an image editing app, I am trying to show clipped highlights and shadows using CIFilters. Filter List I know there isn't a straight single filter for this, will have to be a combination of few together. Any ideas? Thanks in advance.
Gizmodo
  • 3,151
  • 7
  • 45
  • 92
-2
votes
1 answer

is it possible to create custom Core Image Filters ios 9?

We can create custom kernels with CIKernel language for mac. I wonder can we do the same for ios 9?
Safrastyan
  • 13
  • 3
-2
votes
1 answer

What is kCGImagePropertyOrientation for face detection?

https://developer.apple.com/library/ios/documentation/graphicsimaging/Conceptual/CoreImaging/ci_detect_faces/ci_detect_faces.html @ Listing 2-1 Creating a face detector CIContext *context = [CIContext contextWithOptions:nil]; //…
Esqarrouth
  • 38,543
  • 21
  • 161
  • 168
1 2 3
19
20