Remove dead code

This commit is contained in:
2023-11-15 10:02:16 +01:00
parent 544e4abf92
commit 8e3c1b35db
4 changed files with 1 additions and 57 deletions
-15
View File
@@ -545,21 +545,6 @@ bool RawImage::pixel(int x, int y, double &r, double &g, double &b) const
return true;
}
void RawImage::scaleToUnit()
{
/*if(CV_MAT_DEPTH(m_img.type()) == CV_32F)
{
double min, max;
cv::minMaxIdx(m_img, &min, &max);
if(min < 0 || max > 1)
{
float scale = 1.0 / (max - min);
float zero = min * scale;
m_img = m_img * scale - zero;
}
}*/
}
void RawImage::downscaleTo(uint32_t size)
{
/*if(size < width() || size < height())