Skip to content

Commit

Permalink
Extreme improvement to calibration process
Browse files Browse the repository at this point in the history
* Calibration of the light frames now happens directly on the Bayer matrix

* As a bonus, stacking of calibration frames is approximately 10x faster

* Allow for saving and loading of the image list

* Store more user preferences

* Remove 3rdparty libs from the repo

* Fix linux bug regarding file extensions

* Restructure to facilitate the creation of deb packages
  • Loading branch information
BenJuan26 authored Sep 16, 2017
1 parent a89e0ff commit a4e702c
Show file tree
Hide file tree
Showing 20 changed files with 416 additions and 148 deletions.
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
*/*.pro.user
*/*.pro.user*
*.pro.user
*.pro.user*
src/*_resource.rc
src/*.lnk
*/.DS_Store
*.lnk
.DS_Store
Makefile
Makefile.*
src/*.dmg
*.dmg

# Snapcraft
src/*.snap
Expand All @@ -19,4 +19,4 @@ bin
.qmake.stash
doc

*/*.autosave
*.autosave
2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = OpenSkyStacker
PROJECT_NUMBER = v0.1.1
PROJECT_BRIEF = "Multi-platform astroimaging stacker"
PROJECT_LOGO = src/openskystacker-logoabbr-128.png
PROJECT_LOGO = src/images/openskystacker-logoabbr-128.png
OUTPUT_DIRECTORY = doc
CREATE_SUBDIRS = NO
ALLOW_UNICODE_NAMES = NO
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ Multi-platform astroimaging stacker.

[![Build Status](https://travis-ci.org/BenJuan26/OpenSkyStacker.svg?branch=master)](https://travis-ci.org/BenJuan26/OpenSkyStacker) [![Documentation](https://codedocs.xyz/BenJuan26/OpenSkyStacker.svg)](https://codedocs.xyz/BenJuan26/OpenSkyStacker/)

OpenSkyStacker assists in the processing of deep-sky images. "Stacking" in this context means averaging several near-identical images to reduce the noise and boost the signal-to-noise ratio. This is especially helpful in the field of astrophotography because many objects of interest are so dim that, without processing, they might be indistinguishable from noise.
OpenSkyStacker assists in the processing of deep-sky images. *Stacking* in this context means taking the average of several exposures of the same object to reduce the noise and boost the signal-to-noise ratio. This is especially helpful in the field of astrophotography because many objects of interest are so dim that, without processing, they might be indistinguishable from noise.

OpenSkyStacker is not unique in what it accomplishes, as there is other stacking software out there, but it is unique in that it is free, open-source, and available for nearly any operating system.

## Download

For Windows and Mac, OpenSkyStacker can be downloaded from the [releases page](https://github.com/BenJuan26/OpenSkyStacker/releases) of this repo. Releasing software for Linux is not a simple process, so for the time being Linux users must [compile from source](#build).
For Windows, Mac, and Ubuntu, OpenSkyStacker can be downloaded from the [releases page](https://github.com/BenJuan26/OpenSkyStacker/releases) of this repo. Releasing software for all the many Linux distros is not a simple process, so users on other distros can [compile from source](#build).

## Build

Expand Down Expand Up @@ -46,7 +46,7 @@ This will compile the program to the `bin/` directory.

### Releasing for Mac

Qt provides the somewhat-helpful `macdeployqt` program to deploy Qt apps for Mac. However, it's not perfect: in my experience it doesn't correctly change the absolute paths of some libraries. For that reason, two scripts are provided for deploying on Mac: [mac_deploy.sh](src/mac_deploy.sh) and [create_dmg.sh](src/create_dmg.sh). The former will run `macdeployqt` and fix anything it may have missed, and the latter will create a pretty DMG image ready for release.
Qt provides the somewhat-helpful `macdeployqt` program to deploy Qt apps for Mac. However, it's not perfect: in my experience it doesn't correctly change the absolute paths of some libraries. For that reason, two scripts are provided for deploying on Mac: [mac_deploy.sh](src/scripts/mac_deploy.sh) and [create_dmg.sh](src/scripts/create_dmg.sh). The former will run `macdeployqt` and fix anything it may have missed, and the latter will create a pretty DMG image ready for release.

```
cd src
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
6 changes: 6 additions & 0 deletions src/model/imagetablemodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ void ImageTableModel::Append(ImageRecord *record)
beginInsertRows({}, list.count(), list.count());
list.append(record);
endInsertRows();

emit dataChanged({},{});
}

ImageRecord *ImageTableModel::At(int i)
Expand All @@ -116,6 +118,8 @@ void ImageTableModel::RemoveAt(int i)
beginRemoveRows({}, i, i);
list.removeAt(i);
endRemoveRows();

emit dataChanged({},{});
}

bool ImageTableModel::setData(const QModelIndex &index, const QVariant &value, int role)
Expand All @@ -130,6 +134,8 @@ bool ImageTableModel::setData(const QModelIndex &index, const QVariant &value, i
record->SetChecked(checked);
}

emit dataChanged({},{});

return true;
}

Expand Down
1 change: 0 additions & 1 deletion src/model/imagetablemodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ class ImageTableModel : public QAbstractTableModel
/*! @param i The index of the ImageRecord to be removed. */
void RemoveAt(int i);


private:
QList<ImageRecord*> list;
};
Expand Down
Loading

0 comments on commit a4e702c

Please sign in to comment.