mirror of
https://github.com/avinal/FITS-Image.git
synced 2026-09-05 01:13:12 +00:00
No description
- C++ 89.4%
- CMake 10.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .vscode | ||
| fits | ||
| image | ||
| include | ||
| lib | ||
| src | ||
| CMakeLists.txt | ||
| conanfile.txt | ||
| README.md | ||
FitsImage
A small program to extract images from FITS file using Boost.GIL and CFITSIO. Works Best with BITPIX = 8, 16 and 32 and NAXIS = 2.
Running the program
Directly grab the latest release from Releases section for Windows.
How to build
(Currnetly the conan file and cfitsio libraries included are configured for Windows 64 bits. Make necessary changes in Cmake config when using on linux.)
- This program uses conan as package manager make sure to config conan before building. see here for more about conan.
- To config conan on either machine follow these steps
git clone https://github.com/avinal/FitsImage.git conan cd <your-path-here>/FitsImage mkdir build cd build conan install .. - For Windows using CMAKE
cd build conan install .. cmake .. -G "Visual Studio 16" cmake --build . --config Release - For Linux Systems using CMAKE
cd build conan install .. cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release cmake --build . - Don't forget to put FITS file and cfitsio.dll or equivalent for linux in fitsReader/build/bin directory when running.

