I am using GPUImage in my photo app to make some image filter options. In the app, there is an option to add multiple filters while capture an image, so to handle multiple filters, I have used GPUImageFilterPipeline. Every filter effect, those I have added, works well on pipeline except GPUImageHistogramFilter. I know that GPUImageHistogramFilter need more steps when compare to other filters(as mentioned here). But this is not working on pipeline. How to make histogram with GPUImageFilterPipeline?
GPUImageHistogramFilter with GPUImageFilterPipeline
694 Views Asked by Srinivas At
1
There are 1 best solutions below
Related Questions in GPUIMAGE
- Port iOS GPUImageBilateralFilter to Android
- GPUImage - low FPS
- What is the GPUImage "Hue+Colorize" filter ?
- ios making Masked BlurView with Stroke
- Find lines in image with endpoints using GPUImage
- How to add FishEye distortion to UIImage using GPUImage or any other Lib?
- Add dynamic text GPUImage
- How to add a watermark to GPUImageVideoCamera
- Add Dynamic text GPUImage to filtered video
- GPUImage 2 filters in collectionview
- Finding GPUImage framework headers
- Creating an algorithm to find red intensity of the frames of a video using GPUImage
- Manipulating CVPixelBufferRef Height and Width
- GPUImage Histogram Equalization
- Capture Filtered Image with GPUImage and Save to Photo Library with Metadata
Related Questions in GPUIMAGESTILLCAMERA
- Capture Filtered Image with GPUImage and Save to Photo Library with Metadata
- GPUImageStillCamera image preview jumps when taking a photo
- GPUImage capturePhotoAsImageProcessedUpToFilter only working for the last filter
- flash timing issue with ios photo capture with GPUImage
- App crash due to memory warning when calling "GPUImagePicture ProcessImage" repeatedly
- Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Filter shader link failed'
- How to use GPUImageMaskFilter with camera input
- GPUImageLookupFilter is not giving desired result for the following LUT image
- Is there any way to find GPUImageFilter correspond CIFilter?
- Check Device Type For GPUImage
- brightness filter is not working in live image GPUImage framework objective c
- Cannot save a live video file in gpuimage framework objective c
- iOS - GPUImage distorted
- GPUImage2 unable to cycle through filters real-time
- GPU Image : Best resolution with Higher FPS
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
A GPUImageHistogramFilter doesn't operate like a normal filter, and you can't use its output directly. It sends out a 3x256 texture containing the RGB channel histogram, but you need some way of parsing that for display. You won't be able to set that up in a GPUImageFilterPipeline construct.
Instead, you'll want to set up your filter pipeline manually, following the example provided in the FilterShowcase sample application (or my steps in the answer you link above). I use a histogram generator to create the overlay you see in the example there, and there's no easy way to set that up with a GPUImageFilterPipeline.
Also, I'd personally recommend not using the GPUImageFilterPipeline, since I don't maintain that class. It was contributed by a couple of other people, but I don't use it for anything myself and it has a tendency to break. I'd instead just create your filter chain yourself or place things within a GPUImageFilterGroup if you need to organize filter subunits.