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
- How to apply LUT filter?
- Why here use a closures to set value for shader's uniform?
- Android studio Why GPUImageView is not fitting a bitmap inside it , rather it zoom the bitmap and some area get cropped as it does not fit in screen
- How do I parse a shader from ShaderToy into a GLSL for Android use?
- Need to show my camera view GrayScale (not camrea output) in ios app
- How to get GPUVideo Android filter on VideoView?
- Allocatable GPU is none in EKS cluster
- Editing on high resolution image taking huge time to generate output image
- LookupFilter in GPUImage3 throwing error (iOS)
- GPUImage framework always crashes on release iOS app
- GCP VM not installing nVidia driver properly
- assetwriter time going backward and get nil output in gpu image swift
- GpuImage does not render properly
- iOS YUV convert to RGB is a little reddish than AVPlayer
- How to get original image (height and width) without scaling
Related Questions in GPUIMAGESTILLCAMERA
- GPUImage: Keep Recording movie crashed 'Unable to create an OpenGL ES 2.0 context'
- GPUImageLookupFilter is not giving desired result for the following LUT image
- How to capture image and record video using GPUImage 2?
- Capture Filtered Image with GPUImage and Save to Photo Library with Metadata
- Using GPUImageFilterLookup on live video
- GPUImage2 unable to cycle through filters real-time
- iOS - How to caputre image : resolution 3840x2160, using GPUImageStillCamera?
- Cannot save a live video file in gpuimage framework objective c
- brightness filter is not working in live image GPUImage framework objective c
- 3D Face Scan using Camera in Snapchat
- GPUImage index out of bounds crash
- GPUImage - Focusing and Exposure on tap does not work properly - Missing something?
- How to maintain the aspect ratio when using GPUImage cropFilter?
- GPUImage captured from camera reports unexpected size
- Camera Shake effect in Android
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 # Hahtags
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.