[FFmpeg-user] Question about "normalize" filter

2023-01-29 Thread Michael Koch
Hello, if I understood the documentation correctly, the normalize filter maps the darkest input pixel to blackpt and the brightest input pixel to whitept: darkest pixel --> blackpt brightest pixel --> whitept However I need a slightly different mapping: A black input pixel shall remain black,

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-29 Thread Paul B Mahol
On 1/29/23, Michael Koch wrote: > Hello, > > if I understood the documentation correctly, the normalize filter maps > the darkest input pixel to blackpt and the brightest input pixel to > whitept: > darkest pixel --> blackpt > brightest pixel --> whitept > > However I need a slightly different map

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-29 Thread Michael Koch
Am 29.01.2023 um 19:32 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Hello, if I understood the documentation correctly, the normalize filter maps the darkest input pixel to blackpt and the brightest input pixel to whitept: darkest pixel --> blackpt brightest pixel --> whitept However

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-29 Thread Paul B Mahol
On 1/29/23, Michael Koch wrote: > Am 29.01.2023 um 19:32 schrieb Paul B Mahol: >> On 1/29/23, Michael Koch wrote: >>> Hello, >>> >>> if I understood the documentation correctly, the normalize filter maps >>> the darkest input pixel to blackpt and the brightest input pixel to >>> whitept: >>> dark

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-29 Thread Michael Koch
Am 29.01.2023 um 22:05 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Am 29.01.2023 um 19:32 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Hello, if I understood the documentation correctly, the normalize filter maps the darkest input pixel to blackpt and the brightest input

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-29 Thread Paul B Mahol
On 1/29/23, Michael Koch wrote: > Am 29.01.2023 um 22:05 schrieb Paul B Mahol: >> On 1/29/23, Michael Koch wrote: >>> Am 29.01.2023 um 19:32 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: > Hello, > > if I understood the documentation correctly, the normalize filter maps

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-29 Thread Michael Koch
Am 29.01.2023 um 23:07 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Am 29.01.2023 um 22:05 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Am 29.01.2023 um 19:32 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Hello, if I understood the documentation correctly, the n

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-29 Thread Paul B Mahol
On 1/29/23, Michael Koch wrote: > Am 29.01.2023 um 23:07 schrieb Paul B Mahol: >> On 1/29/23, Michael Koch wrote: >>> Am 29.01.2023 um 22:05 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: > Am 29.01.2023 um 19:32 schrieb Paul B Mahol: >> On 1/29/23, Michael Koch wrote: >

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-29 Thread Michael Koch
Am 29.01.2023 um 23:36 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Am 29.01.2023 um 23:07 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Am 29.01.2023 um 22:05 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Am 29.01.2023 um 19:32 schrieb Paul B Mahol: On 1/29/23,

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-29 Thread Paul B Mahol
On Mon, Jan 30, 2023 at 12:23 AM Michael Koch wrote: > Am 29.01.2023 um 23:36 schrieb Paul B Mahol: > > On 1/29/23, Michael Koch wrote: > >> Am 29.01.2023 um 23:07 schrieb Paul B Mahol: > >>> On 1/29/23, Michael Koch wrote: > Am 29.01.2023 um 22:05 schrieb Paul B Mahol: > > On 1/29/23,

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-30 Thread Michael Koch
Am 30.01.2023 um 08:47 schrieb Paul B Mahol: On Mon, Jan 30, 2023 at 12:23 AM Michael Koch wrote: Am 29.01.2023 um 23:36 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Am 29.01.2023 um 23:07 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: Am 29.01.2023 um 22:05 schrieb Paul

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-30 Thread Paul B Mahol
On 1/30/23, Michael Koch wrote: > Am 30.01.2023 um 08:47 schrieb Paul B Mahol: >> On Mon, Jan 30, 2023 at 12:23 AM Michael Koch >> >> wrote: >> >>> Am 29.01.2023 um 23:36 schrieb Paul B Mahol: On 1/29/23, Michael Koch wrote: > Am 29.01.2023 um 23:07 schrieb Paul B Mahol: >> On 1/29/

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-30 Thread Michael Koch
Am 30.01.2023 um 10:29 schrieb Paul B Mahol: You wrote: "With default parameters and just strength(2) set to your values, so the darkest pixels are left untouched." However I want that black remains untouched. That's not the same, because the darkest pixels in the image aren't black. The work

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-30 Thread Paul B Mahol
On 1/30/23, Michael Koch wrote: > Am 30.01.2023 um 10:29 schrieb Paul B Mahol: >>> You wrote: >>> >>> "With default parameters and just strength(2) set to your values, so >>> the darkest pixels are left untouched." >>> >>> However I want that black remains untouched. That's not the same, >>> beca

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-30 Thread Michael Koch
Am 30.01.2023 um 12:52 schrieb Paul B Mahol: On 1/30/23, Michael Koch wrote: Am 30.01.2023 um 10:29 schrieb Paul B Mahol: You wrote: "With default parameters and just strength(2) set to your values, so the darkest pixels are left untouched." However I want that black remains untouched. That

Re: [FFmpeg-user] Question about "normalize" filter

2023-01-30 Thread Paul B Mahol
On 1/30/23, Michael Koch wrote: > Am 30.01.2023 um 12:52 schrieb Paul B Mahol: >> On 1/30/23, Michael Koch wrote: >>> Am 30.01.2023 um 10:29 schrieb Paul B Mahol: > You wrote: > > "With default parameters and just strength(2) set to your values, so > the darkest pixels are left u

Re: [FFmpeg-user] Question about "normalize" filter

2023-02-07 Thread Michael Koch
Am 30.01.2023 um 20:45 schrieb Paul B Mahol: filter supports up to 16bit rgb(a), adding float would be trivial. patch welcome Thanks for adding float to colorlevels. Is there any filter for gamma correction with float? Does the geq filter support float? Yes. Gamma correction with float precis