diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-10-25 18:12:34 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-10-25 18:12:34 (GMT) |
commit | 99ef2b09248baf92afbe4700beefaa7fccc9f186 (patch) | |
tree | 04308389ccdb8b37a5b92e3f5b8c733a290bbf70 /tksao | |
parent | 3e02c94ec4d83fe484ff2dfd6774d343ad4f2df8 (diff) | |
download | blt-99ef2b09248baf92afbe4700beefaa7fccc9f186.zip blt-99ef2b09248baf92afbe4700beefaa7fccc9f186.tar.gz blt-99ef2b09248baf92afbe4700beefaa7fccc9f186.tar.bz2 |
new mask
Diffstat (limited to 'tksao')
-rw-r--r-- | tksao/frame/frame.C | 5 | ||||
-rw-r--r-- | tksao/frame/frame.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tksao/frame/frame.C b/tksao/frame/frame.C index 119e63d..ea061ca 100644 --- a/tksao/frame/frame.C +++ b/tksao/frame/frame.C @@ -55,6 +55,11 @@ Frame::~Frame() delete [] maskColorName; } +void Frame::alignWCS() { + Base::alignWCS(); + updateMaskMatrices(); +} + unsigned char* Frame::blend(unsigned char* src, unsigned char* msk, int width, int height) { diff --git a/tksao/frame/frame.h b/tksao/frame/frame.h index 2f981b1..dd2b879 100644 --- a/tksao/frame/frame.h +++ b/tksao/frame/frame.h @@ -43,6 +43,7 @@ class Frame : public FrameBase { void unloadFits(); protected: + void alignWCS(); int isFrame() {return 1;} unsigned char* fillImage(int width, int height, Coord::InternalSystem); |