pass image as reference

This commit is contained in:
2024-05-12 13:19:27 +02:00
parent fcfdf4add2
commit cb4c562214
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ impl DCT {
}
impl Descriptor for DCT {
fn describe(&self, img: image::DynamicImage) -> u64 {
fn describe(&self, img: &image::DynamicImage) -> u64 {
let resized = self.resize(img);
let mut dct_values = self.dct(&resized);
debug!("DCT-coefficients:\n {}", print_matrix(dct_values));