Add saving to FITS and XISF

This commit is contained in:
2022-04-19 16:57:54 +02:00
parent f68a9c4d7c
commit 92f9920f24
6 changed files with 198 additions and 4 deletions
+10
View File
@@ -233,6 +233,11 @@ RawImage::ImgType RawImage::type() const
return CV2Type(m_img.type());
}
int RawImage::dataType() const
{
return m_img.type();
}
uint32_t RawImage::norm() const
{
switch(m_img.type())
@@ -288,3 +293,8 @@ float RawImage::thumbAspect() const
{
return m_thumbAspect;
}
const cv::Mat& RawImage::mat() const
{
return m_img;
}