benchmarks comparing the rust image processing ecosystem
Diffstat (limited to 'benches/affine.rs')
-rw-r--r--benches/affine.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/benches/affine.rs b/benches/affine.rs
index 99e0f13..958089d 100644
--- a/benches/affine.rs
+++ b/benches/affine.rs
@@ -19,8 +19,8 @@ pub fn opencv() -> Mat {
let mat = unsafe {
Mat::new_size_with_data_def(
opencv::core::Size_ {
- width: 5424,
- height: 5424,
+ width: SIZE as i32,
+ height: SIZE as i32,
},
CV_8UC3,
data.as_mut_ptr() as *mut core::ffi::c_void,