From 2a0bc24fefb47aac2444dc01bc0875ee273ce7b5 Mon Sep 17 00:00:00 2001 From: Anish Sapkota Date: Fri, 15 Sep 2023 11:34:11 +0000 Subject: [PATCH] removed --- src/main/cpp/imgUtils.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/cpp/imgUtils.cpp b/src/main/cpp/imgUtils.cpp index 0ea657144ca..23f2d71adba 100644 --- a/src/main/cpp/imgUtils.cpp +++ b/src/main/cpp/imgUtils.cpp @@ -20,7 +20,6 @@ #include #include #include -#include #include "common.h" using namespace std; @@ -95,10 +94,6 @@ void img_transform(const double* img_in, int orig_w, int orig_h, int out_w, int } void imageRotate(double* img_in, int rows, int cols, double radians, double fill_value, double* img_out) { - - if (rows != cols) { - throw std::invalid_argument("Input image must be square"); - } // Translation matrix for moving the origin to the center of the image double t1_data[] = {