BenJuan26 / OpenSkyStacker

Multi-platform stacker for deep-sky astrophotography.
MIT License
98 stars 14 forks source link

Create Raw2QImage method #9

Closed BenJuan26 closed 6 years ago

BenJuan26 commented 7 years ago

The current flow for setDiskImage() goes from raw to Mat to QImage, meaning the pixels are iterated over twice. This usually works out to several seconds (for which the UI is blocked at the moment -- that should be changed as well). The time could be cut approximately in half by reading the raw image from the disk and converting directly to QImage.