No description
  • C++ 89.4%
  • CMake 10.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2020-03-26 16:31:03 +05:30
.vscode Added CMake and Conan config 2020-03-26 15:42:54 +05:30
fits Added CMake and Conan config 2020-03-26 15:42:54 +05:30
image Added CMake and Conan config 2020-03-26 15:42:54 +05:30
include Cleaned CMake cache. 2020-03-26 16:01:33 +05:30
lib Added CMake and Conan config 2020-03-26 15:42:54 +05:30
src Added Source files 2020-03-26 15:42:02 +05:30
CMakeLists.txt Added CMake and Conan config 2020-03-26 15:42:54 +05:30
conanfile.txt Added CMake and Conan config 2020-03-26 15:42:54 +05:30
README.md Updated running info. 2020-03-26 16:31:03 +05:30

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.)

  1. This program uses conan as package manager make sure to config conan before building. see here for more about conan.
  2. 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 ..
    
  3. For Windows using CMAKE
    cd build
    conan install ..
    cmake .. -G "Visual Studio 16"
    cmake --build . --config Release
    
  4. For Linux Systems using CMAKE
    cd build
    conan install ..
    cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
    cmake --build .
    
  5. Don't forget to put FITS file and cfitsio.dll or equivalent for linux in fitsReader/build/bin directory when running.

Example Images

  1. Eagle Nebula

  2. Sample 15