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;
}
bool Tools::SupportedImageFormat(ImageViewer* iv,
QList<QImage::Format> formats)
bool Tools::SupportedImageFormat(ImageViewer* iv, QList<QImage::Format> formats)
{
if (!iv)
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) */
math::matrix<float> Transformation::getWindow(int x, int y, int size,
Channel channel,
Mode mode = RepeatEdge)
math::matrix<float> Transformation::getWindow(int x, int y, int size, Channel channel, Mode mode = RepeatEdge)
{
math::matrix<float> window(size,size);