pychubby icon indicating copy to clipboard operation
pychubby copied to clipboard

Make warping faster for big images

Open jankrepl opened this issue 5 years ago • 2 comments

Currently transformation shape is identical to the image shape. Interpolations get pretty slow or even lead to memory errors.

How to fix it? Perform interpolation on a downsampled image and then upsample the transformation.

jankrepl avatar Sep 05 '19 15:09 jankrepl

Hi jankrepl. What is the maximum image size we can give to get result instead of error.

sandhyalaxmiK avatar Oct 22 '19 07:10 sandhyalaxmiK

Hey! It depends on your CPU. However, I can quickly implement the resizing logic described above and fix this issue once and for all! Will try to do that ASAP.

jankrepl avatar Oct 22 '19 08:10 jankrepl

Closing due to inactivity. Feel free to comment and we can reopen

jankrepl avatar Feb 10 '24 12:02 jankrepl