Menu

How to 'extract green pixels'?

achim2205
2024-03-12
2024-03-13
  • achim2205

    achim2205 - 2024-03-12

    Hello Han, I have a question to extract the green pixels of a Bayer pattern.
    In the documentation it shows "Images will be converted to new images with filename ending "_cal_TG.fit".
    But where can I find those converted files?
    Regards Achim

     

    Last edit: achim2205 2024-03-12
  • han.k

    han.k - 2024-03-12

    Hi Achim,

    They will all be in the same directory as the input files.

    Easiest way is to load all files in the photometry tab.

    With the right mouse button call up to popup menu and select "extract green channel". The files in the list with change to the green extract files. They are in the same directory as the original files. You can also do the calibration first this way. So first calibration, then extract green channel

    See this link:
    http://www.hnsky.org/astap#photometry

    The other way is the batch menu of the viewer. See "tools", "batch processing", "Extract green..."

    Han

     
  • achim2205

    achim2205 - 2024-03-12

    Hello Han, this is what I do: All RAW files into the photometry tab, then extract green channel. Attached is what I get, filter shows red (?) but no TG-files to be found.
    Regards Achim

     
  • han.k

    han.k - 2024-03-12

    That is weird. It works here. Can you attach one of your files to a message here?

    Which ASTAP version do you have?

     
  • achim2205

    achim2205 - 2024-03-12

    version 25.02.2024a 64 bit, same with version 2024-03-11

    attachment too large, is the message

     

    Last edit: achim2205 2024-03-12
  • achim2205

    achim2205 - 2024-03-12

    can you provide an upload link?

     
  • han.k

    han.k - 2024-03-12

    Upload it to here and give me the link:

    https://ufile.io/

     
  • achim2205

    achim2205 - 2024-03-12
     
  • han.k

    han.k - 2024-03-12

    I think the problem is that you didn't select the files. First select them all with ctrl+A or with holding the shift key and arrows keys. They should be then blue marked. Then select the popup menu for extracting green.

    Default it is showing red. That is wrong it should be a Bayer RGGB icon

    Tell me if you get it working.

    Han

     
  • han.k

    han.k - 2024-03-12

    The cause is this line in the header:

    FILTER = ' BayerMatrix ' / Filter used when taking image

    That is problematic. ASTAP looks for a R. So R, Red will work. But there is also an R in Bayer Matrix.

    Better if they had written in the header:

    BAYERPAT= '????'

    Better to report this to the Voyager forum

     
  • han.k

    han.k - 2024-03-12

    You have to check the Bayer pattern since it is not specified in the header. Else the green extraction can be wrong. But the default RGGB looks okay.

     
  • achim2205

    achim2205 - 2024-03-13

    Thanks, Han, now it works. Just the extra section of files before extracting was missing.

    Regards Achim

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.