Skip to content

Commit

Permalink
removed
Browse files Browse the repository at this point in the history
  • Loading branch information
anishsapkota committed Sep 15, 2023
1 parent 6fc5bad commit 2a0bc24
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main/cpp/imgUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include <iostream>
#include <cmath>
#include <cstring>
#include <stdexcept>
#include "common.h"

using namespace std;
Expand Down Expand Up @@ -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[] = {
Expand Down

0 comments on commit 2a0bc24

Please sign in to comment.