[FFmpeg-user] remap with pixel interpolation

Paul B Mahol onemda at gmail.com
Thu Jun 30 14:38:03 EEST 2022


On Wed, Jun 29, 2022 at 9:43 AM Paul B Mahol <onemda at gmail.com> wrote:

>
>
> On Wed, Jun 29, 2022 at 9:18 AM Michael Koch <astroelectronic at t-online.de>
> wrote:
>
>> Am 29.06.2022 um 09:15 schrieb Paul B Mahol:
>> > On Wed, Jun 29, 2022 at 8:56 AM Michael Koch <
>> astroelectronic at t-online.de>
>> > wrote:
>> >
>> >> Suggestion for improvement:
>> >> Add pixel interpolation to the remap filter. For example if the output
>> >> size is 800x600, multiply the values in the mapping files by 16 so that
>> >> the range is 12800x9600, and use the 4 least significant bits for pixel
>> >> interpolation.
>> >>
>> >>
>> > Very bad suggestion.
>> >
>> > Better make remap filter use float pixel format for map files.
>>
>> Which image format supports float grayscale?
>>
>
> PFM (Portable FloatMap)
>
> I just gonna add grayf32 support to it.
>

Also will add remap_opencl filter soon, with support for near and bilinear
interpolation already.

Need build with OpenCL enabled and modern GPU.



>
>
>
>> Michael
>>
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>>
>


More information about the ffmpeg-user mailing list