From kstars-devel Sun Mar 28 18:07:14 2010 From: Khudyakov Alexey Date: Sun, 28 Mar 2010 18:07:14 +0000 To: kstars-devel Subject: Re: [Kstars-devel] [PATCH] FITS Overlay Message-Id: <201003282207.14761.alexey.skladnoy () gmail ! com> X-MARC-Message: https://marc.info/?l=kstars-devel&m=126980324023302 В сообщении от 19 марта 2010 02:46:28 Jérôme SONRIER написал: > Hello, > > Here, is a patch that implements FITS overlay. It adds an entry on > the "tools" menu called "FITS manager...". From the new window that > appears when you click on it, you can open FITS files. When a FITS file > is opened, the window lists all HDU found in the file. You can select a > HDU and perform some actions using the buttons on the right side. A > double click on an image will center it on the map and a double click > on a table will open it on a new window. > You can also right click on the map and choose "Show FITS image" to > download a FITS image from the web. > > The patch must be applied on the "kdeedu" directory and you must have > cfitsio[1] and AST[2] to compile. > Please, test it and do not hesitate to make comments, this is just a > first attempt to make something that works. > Fearsome! (-: I tried it with M27 and it looks great. I suppose there is no way to remove image from map without using FITS manager. I've found two bugs so far. 1. Fits manager doesn't appear in menu if kstars is compiled with indi support. You need to add following string fitsmanager to kstarui-indi.rc 2. I tried to open FITS file and got segfault. It's two dimensional and do not have any information about object. I can send you file if you need it. > - the updating of colors when changing color maps or using histogram > take too much time. I think this is because of the very bad design of > the FitsImgHistogram class It's likely. I looked into fitsviewer and its code is very far from perfection. Static analisys tools complain about possible memory leaks and so forth. I have few patches with half-hearted attempts to refactor it. I'll check and commit them Sorry for delay _______________________________________________ Kstars-devel mailing list Kstars-devel@kde.org https://mail.kde.org/mailman/listinfo/kstars-devel