bytedeco/javacv

Adjust Brightness & Contrast of Frame

Open

#1,426 opened on May 11, 2020

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Java (1,583 forks)batch import
help wantedquestion

Repository metrics

Stars
 (6,985 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Hi, Is there any way to adjust brightness and contrast of the frame grabbed with FFmpegFrameGrabber? I want to adjust the values based on operator input so FFmpegFilter not useful to me. I'm converting the Frame to BufferedImage with convertTo() method, after that trying to change the brightness/contrast of BufferedImage but I think there is an easy way of JavaCV lib...?...

Regards, Osman

Contributor guide