fast_image_resize
fast_image_resize copied to clipboard
Rust library for fast image resizing with using of SIMD instructions.
I can't find anything in the documentation (or the source) that indicates that there is any support for conversion of data into a linear color space during resizing. This is...
unexpected but here no standard gaussian kernel as opencv has https://docs.opencv.org/4.x/d4/d1f/tutorial_pyramids.html
how does the speed compare with opencv?
GDB Backtrace: ``` (gdb) bt #0 0x0000737952d91d4a in do_cos (dx=6.123233995736766e-17, x=) at ../sysdeps/ieee754/dbl-64/s_sin.c:107 #1 __sin_fma (x=1.3089969389957472) at ../sysdeps/ieee754/dbl-64/s_sin.c:229 #2 0x000064776f8ab601 in core::ops::function::Fn::call () #3 0x000064776f8bd552 in fast_image_resize::convolution::precompute_coefficients () #4 0x000064776f8af97b...
[https://docs.rs/fast_image_resize/latest/fast_image_resize/#resize-rgba8-image](url) This line: let mut dst_image = Image::new( dst_width, dst_height, src_image.pixel_type().unwrap(), ); pixel_type() is not longer supported in the image crate.
Hello is it possible to achieve exactly same results with this library as if I was using `cv2.resize` with `interpolation=cv2.INTER_LINEAR` from OpenCV? I tried using `Resizer::new(Convolution(Bilinear))` but the pixel values...
Specifically for `f32` `TIFF`s and `OpenEXR`s. I can provide such files, to add to the `data` folder.
[1] assertion `left == right` failed: Invalid buffer length: expected 181600 got 136200 for 200x227 image [1] left: 181600 [1] right: 136200 ```rust let src_image = ImageReader::new(std::io::Cursor::new(file_data)) .with_guessed_format() .unwrap() .decode()...
The [`std::simd`](https://doc.rust-lang.org/stable/std/simd/index.html) module provides a safe, portable API for SIMD. Together with the [`multiversion`](https://crates.io/crates/multiversion) crate it allows for SIMD that works from a single source file on every platform, and...