BradLarson / GPUImage2

GPUImage 2 is a BSD-licensed Swift framework for GPU-accelerated video and image processing.
BSD 3-Clause "New" or "Revised" License
4.85k stars 605 forks source link

When I Using HistogramEqualiztion it Crashed,it's Bug ? #266

Open linhaosunny opened 5 years ago

linhaosunny commented 5 years ago

Here is my code. `
let renderView = RenderView(frame: view.bounds) renderView.backgroundRenderColor = Color.white renderView.fillMode = .stretch view.addSubview(renderView)

    let pictureInput = PictureInput(image: UIImage(named: "hehe.jpg")!)
    let histogramEqualization = HistogramEqualization(type: .green)

    pictureInput --> histogramEqualization --> renderView
    pictureInput.processImage()`