From 43291997372f37b1589f8709b1e30c570e645c2e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 7 Apr 2022 22:13:02 +0200 Subject: Image info hacks. --- src/lib/image.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/lib/image.h') diff --git a/src/lib/image.h b/src/lib/image.h index 128b546b5..3c719f612 100644 --- a/src/lib/image.h +++ b/src/lib/image.h @@ -123,4 +123,15 @@ private: extern PositionImage merge (std::list images, Image::Alignment alignment); extern bool operator== (Image const & a, Image const & b); +class ImageInformation +{ +public: + int32_t minima[3]; + int32_t maxima[3]; + + void merge(ImageInformation const& other); +}; + +ImageInformation image_information (Image const& image); + #endif -- cgit v1.2.3