Fix.
This commit is contained in:
parent
90fb90b2a8
commit
e1cc7ef031
@ -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;
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user