ciimage Questions

2

Solved

I'm working with a CIImage, and while I understand it's not a linear image, it does hold some data. My question is whether or not a CIImage's extent property returns pixels or points? According to...
Extraterritorial asked 28/3, 2017 at 23:52

1

Solved

I'm currently making a photo editing app. When a photo is selected by the user, it is automatically converted into black and white using this code: func blackWhiteImage(image: UIImage) -> Data...

2

EDIT found this code that helped with front camera images http://blog.logichigh.com/2008/06/05/uiimage-fix/ Hope others have had a similar issue and can help me out. Haven't found a solution yet. ...
Cameliacamella asked 17/10, 2012 at 13:38

2

Solved

I'm using CIDetector as follows multiple times: -(NSArray *)detect:(UIImage *)inimage { UIImage *inputimage = inimage; UIImageOrientation exifOrientation = inimage.imageOrientation; NSNumber ...
Justly asked 3/10, 2013 at 10:4

4

Solved

I'm creating an app that requires real-time application of filters to images. Converting the UIImage to a CIImage, and applying the filters are both extremely fast operations, yet it takes too long...
Jar asked 26/5, 2016 at 2:45

1

Solved

I am facing few issues related to cropping with iOS9 SDK. I have the following code to resize a image (converting from 4:3 to 16:9 by cropping in middle). This used to work fine till iOS8 SDK. Wi...
Foundling asked 24/9, 2015 at 17:5

1

Updated to Xcode 7 and getting this (warning?) message while an image was being rendered in an operation: CreateWrappedSurface() failed for a dataprovider-backed CGImageRef. There was no messa...
Lsd asked 17/9, 2015 at 13:52

1

Solved

I'm attempting to set the image property of a UIImageView to an image I'm blurring with CoreImage. The code works perfectly with an unfiltered image, but when I set the background image to the filt...
Heir asked 15/9, 2015 at 21:49

5

I am using PhotoKit to edit photos and I need to preserve the metadata from the original photo. To do so I save the metadata then provide it to the options parameter in CGImageDestinationAddImage. ...
Tovatovar asked 1/2, 2015 at 20:23

2

I am editing photos via PhotoKit but I discovered this does not preserve the original photo's metadata. This occurs even with the SamplePhotosApp provided by Apple when they apply Sepia or Chrome f...
Scorn asked 7/9, 2014 at 22:18

1

I'm just starting out in Objective-C and I'm trying to create a simple app where it shows the camera view with a blur effect on it. I got the Camera output working with the AVFoundation framework. ...
Veneration asked 17/4, 2015 at 6:55

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 need to convert a CIImage to a CGImage. This is the code I am currently using: CGImageRef img = [myContext createCGImage:ciImage fromRect:[ciImage extent]]; But his line of code is very slow f...
Opiumism asked 29/1, 2015 at 9:15

0

Is there anyway to find other objects in images without having to integrate other 3rd party libraries like openCV and write all the algorithms myself.. i.e. if i wanted to locate anything an in im...
Zacharie asked 3/7, 2014 at 16:6

2

Solved

Setting the scene I am working on a video processing app that runs from the command line to read in, process and then export video. I'm working with 4 tracks. Lots of clips that I append into a ...
Colligan asked 2/4, 2014 at 17:58

1

When a user makes some changes (cropping, red-eye removal, ...) to photos in the built-in Photos.app on iOS, the changes are not applied to the fullResolutionImage returned by the corresponding ALA...
Rebhun asked 9/11, 2012 at 9:9

3

Solved

I've been trying a ton of different options and tricks for getting a UIImage to build properly from a CIImage. But, every time I create the CIImage its colors seem to be inverted. The most recent ...
Covington asked 31/1, 2013 at 5:18

© 2022 - 2024 — McMap. All rights reserved.