iphone Programming Glossary: gpuimage
iOS App with Static Lib crashes ONLY on launch of Archive Build loaded Ad Hoc. Can't reproduce in Debugger http://stackoverflow.com/questions/10262733/ios-app-with-static-lib-crashes-only-on-launch-of-archive-build-loaded-ad-hoc-c so that this question can have an accepted answer. I recently came across a case similar to this when building my GPUImage framework. It appears that the build process is slightly different when archiving than when building and directly installing..
OpenGL ES 2d rendering into image http://stackoverflow.com/questions/10455329/opengl-es-2d-rendering-into-image cache and bind the FBO texture CVReturn err CVOpenGLESTextureCacheCreate kCFAllocatorDefault NULL __bridge void GPUImageOpenGLESContext sharedImageProcessingOpenGLESContext context NULL rawDataTextureCache if err NSAssert NO @ Error at CVOpenGLESTextureCacheCreate..
iPhone SDK - Frosted Glass (iOS 7 Blur) Effect http://stackoverflow.com/questions/11601166/iphone-sdk-frosted-glass-ios-7-blur-effect esilverberg ios image filters The amazing and this edit worth library for processing images and videos with OpenGL GPUImage by Brad Larson . It is much faster and efficient than Core Image. Introduction http www.sunsetlakesoftware.com 2012 02 12.. than Core Image. Introduction http www.sunsetlakesoftware.com 2012 02 12 introducing gpuimage framework . GitHub GPUImage So for example in a few lines I can get the result I want where originalImage is the UIImage to apply the effect GPUImageGaussianBlurFilter.. So for example in a few lines I can get the result I want where originalImage is the UIImage to apply the effect GPUImageGaussianBlurFilter blurFilter GPUImageGaussianBlurFilter alloc init blurFilter.blurSize 2 UIImage blurImage blurFilter imageByFilteringImage..
How to give sketch effect on image in iphone? http://stackoverflow.com/questions/11861313/how-to-give-sketch-effect-on-image-in-iphone this one. How could I do this iphone share improve this question If I may once again recommend it my open source GPUImage framework has a built in filter that does just this. The GPUImageSketchFilter uses Sobel edge detection to highlight edges.. If I may once again recommend it my open source GPUImage framework has a built in filter that does just this. The GPUImageSketchFilter uses Sobel edge detection to highlight edges in black on images or video leading to the exact same effect as..
Fragment Shader - Average Luminosity http://stackoverflow.com/questions/12168072/fragment-shader-average-luminosity that size but I don't have solid numbers to back that up. If you wish to see this in action check out the code for the GPUImageLuminosity class in my open source GPUImage framework and the GPUImageAverageColor superclass . The FilterShowcase example.. back that up. If you wish to see this in action check out the code for the GPUImageLuminosity class in my open source GPUImage framework and the GPUImageAverageColor superclass . The FilterShowcase example demonstrates this luminosity extractor in.. to see this in action check out the code for the GPUImageLuminosity class in my open source GPUImage framework and the GPUImageAverageColor superclass . The FilterShowcase example demonstrates this luminosity extractor in action. share improve this..
How do I modify a GPUImageGaussianSelectiveBlurFilter to operate over a rectangle instead of a circle? http://stackoverflow.com/questions/12257429/how-do-i-modify-a-gpuimagegaussianselectiveblurfilter-to-operate-over-a-rectangl do I modify a GPUImageGaussianSelectiveBlurFilter to operate over a rectangle instead of a circle I have used the GPUImage framework for a blur.. do I modify a GPUImageGaussianSelectiveBlurFilter to operate over a rectangle instead of a circle I have used the GPUImage framework for a blur effect similar to that of the Instagram application where I have made a view for getting a picture.. of the effects is a selective blur effect in which only a small part of the image is clear the rest is blurred. The GPUImageGaussianSelectiveBlurFilter chooses the circular part of the image to not be blurred. How can I alter this to make the sharp..
How to use various effect or filters in iphone camera application [duplicate] http://stackoverflow.com/questions/12813971/how-to-use-various-effect-or-filters-in-iphone-camera-application example please help Thanks in Advance iphone objective c ios ios4 share improve this question Brad Larson's GPUImage framework provides a large number of GPU accelerated effects. Just integrate the GPUImage framework into your project and.. question Brad Larson's GPUImage framework provides a large number of GPU accelerated effects. Just integrate the GPUImage framework into your project and use the filters as you need. It's easy to implement. Tutorial http www.raywenderlich.com..
How do I perform a fast pixellation filter on an image? http://stackoverflow.com/questions/5049041/how-do-i-perform-a-fast-pixellation-filter-on-an-image processing performance on these mobile devices. To that end I've created an open source framework for iOS called GPUImage that makes it relatively simple to do this kind of accelerated image processing. It does require OpenGL ES 2.0 support but..
How to apply “filters” to AVCaptureVideoPreviewLayer http://stackoverflow.com/questions/5156872/how-to-apply-filters-to-avcapturevideopreviewlayer OpenGL ES 1.1 pipeline. Edit 2 13 2012 As an update on the above I've now created an open source framework called GPUImage that encapsulates this kind of custom image filtering. It also handles capturing video and displaying it to the screen after..
Are the Core Image filters in iOS 5.0 fast enough for realtime video processing? http://stackoverflow.com/questions/6625888/are-the-core-image-filters-in-ios-5-0-fast-enough-for-realtime-video-processing while we can talk about some hard performance numbers. I created a benchmark application as part of the testing for my GPUImage framework and profiled the performance of raw CPU based filters Core Image filters and GPUImage filters with live video.. of the testing for my GPUImage framework and profiled the performance of raw CPU based filters Core Image filters and GPUImage filters with live video feeds. The following were the times in milliseconds each took to apply a single gamma filter on.. versions iPhone 4 iOS 5 iPhone 4S iOS 6 CPU 458 ms 2.2 FPS 183 ms 5.5 FPS Core Image 106 ms 6.7 FPS 8.2 ms 122 FPS GPUImage 2.5 ms 400 FPS 1.8 ms 555 FPS For Core Image this translates into a maximum of 9.4 FPS for a simple gamma filter on iPhone..
Faster alternative to glReadPixels in iPhone OpenGL ES 2.0 http://stackoverflow.com/questions/9550297/faster-alternative-to-glreadpixels-in-iphone-opengl-es-2-0 On an iPhone 4S this allows you to write 1080p video at a full 30 FPS. My implementation can be found within the GPUImageMovieWriter class within my open source GPUImage framework but it was inspired by Dennis Muhlestein's article on the subject.. video at a full 30 FPS. My implementation can be found within the GPUImageMovieWriter class within my open source GPUImage framework but it was inspired by Dennis Muhlestein's article on the subject and Apple's ChromaKey sample application which.. Once I have that I configure the FBO that I'll be rendering my video frames to using the following code if GPUImageOpenGLESContext supportsFastTextureUpload CVReturn err CVOpenGLESTextureCacheCreate kCFAllocatorDefault NULL __bridge void..
Record the drawing as a m4v video file - OpenGL http://stackoverflow.com/questions/9661259/record-the-drawing-as-a-m4v-video-file-opengl a sample application to start with. That said I can describe what I use for recording H.264 video from OpenGL ES in my GPUImage framework. If you care to see the full implementation of this look at the GPUImageMovieWriter class. Note that my implementation.. H.264 video from OpenGL ES in my GPUImage framework. If you care to see the full implementation of this look at the GPUImageMovieWriter class. Note that my implementation of this is based on OpenGL ES 2.0 so you may need to make some adaptations..
How can you apply distortions to a UIImage using OpenGL ES? http://stackoverflow.com/questions/9886843/how-can-you-apply-distortions-to-a-uiimage-using-opengl-es of doing this kind of image processing would be to use OpenGL ES 2.0 shaders. Once again if I might point you to my GPUImage framework it can do many of the distortion operations you describe. For those that are missing you can write your own fragment.. are missing you can write your own fragment shaders. The effects I have in there are a convex bulge distortion using a GPUImageBulgeDistortionFilter a concave distortion using an inverted scale parameter to the previous filter a swirl distortion using.. a concave distortion using an inverted scale parameter to the previous filter a swirl distortion using the GPUImageSwirlFilter and finally a pinch distortion using the GPUImagePinchDistortionFilter If you look at the shaders used for each..
Converting a UIImage black'n white and not grayscale for using tesseract http://stackoverflow.com/questions/9992078/converting-a-uiimage-blackn-white-and-not-grayscale-for-using-tesseract Probably the fastest way to do this would be to use OpenGL ES 2.0 shaders to apply the threshold to your image. My GPUImage framework encapsulates this so that you don't need to worry about the more technical aspects behind the scenes. Using GPUImage.. framework encapsulates this so that you don't need to worry about the more technical aspects behind the scenes. Using GPUImage you could obtain a thresholded version of your UIImage using a GPUImageLuminanceThresholdFilter and code like the following.. technical aspects behind the scenes. Using GPUImage you could obtain a thresholded version of your UIImage using a GPUImageLuminanceThresholdFilter and code like the following GPUImagePicture stillImageSource GPUImagePicture alloc initWithImage..
|