1
0
This commit is contained in:
Jarosław Wieczorek 2021-04-06 23:20:11 +02:00
parent 90fb90b2a8
commit e1cc7ef031
2 changed files with 198 additions and 201 deletions

View File

@ -685,8 +685,7 @@ void Tools::setViewer(ImageViewer* iv)
m_iv = iv; m_iv = iv;
} }
bool Tools::SupportedImageFormat(ImageViewer* iv, bool Tools::SupportedImageFormat(ImageViewer* iv, QList<QImage::Format> formats)
QList<QImage::Format> formats)
{ {
if (!iv) if (!iv)
return false; return false;

View File

@ -157,9 +157,7 @@ QRgb Transformation::getPixelRepeat(int x, int y)
} }
/** Returns a size x size part of the image centered around (x,y) */ /** Returns a size x size part of the image centered around (x,y) */
math::matrix<float> Transformation::getWindow(int x, int y, int size, math::matrix<float> Transformation::getWindow(int x, int y, int size, Channel channel, Mode mode = RepeatEdge)
Channel channel,
Mode mode = RepeatEdge)
{ {
math::matrix<float> window(size,size); math::matrix<float> window(size,size);