Flat frame Normaliz...
 
Share:
Notifications
Clear all

15th Feb 2024: Astro Pixel Processor 2.0.0-beta29 released - macOS native File Chooser, macOS CMD-Q fixed, read-only Fits on network fixed and other bug fixes

7th December 2023:  added payment option Alipay to purchase Astro Pixel Processor from China, Hong Kong, Macau, Taiwan, Korea, Japan and other countries where Alipay is used.

 

Flat frame Normalization error - NormalizeCFAChannel

21 Posts
4 Users
0 Likes
553 Views
(@astropolo)
White Dwarf
Joined: 3 years ago
Posts: 10
Topic starter  

Hi, I encountered an error when trying to apply flat frames so I tried with default settings, 1 light and 1 flat frame. The flat frame seems to be causing the problem, I've tried with dark flats and bias and it worked fine.

Screenshot 2023 01 19 at 00.14.31
Screenshot 2023 01 19 at 00.14.24
Screenshot 2023 01 19 at 00.15.25
This topic was modified 1 year ago by Mauricio Salazar

   
ReplyQuote
(@vincent-mod)
Universe Admin
Joined: 7 years ago
Posts: 5707
 

Which APP version are you using?


   
ReplyQuote
(@astropolo)
White Dwarf
Joined: 3 years ago
Posts: 10
Topic starter  

@vincent-mod I’m using the latest version for intel Mac. 2.0.0.beta12 


   
ReplyQuote
(@astropolo)
White Dwarf
Joined: 3 years ago
Posts: 10
Topic starter  

Same error with the newest release: 2.0.0.beta13

Tried with a different light and changed the flat.

Screenshot 2023 01 21 at 01.13.19


   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 7 years ago
Posts: 4366
 

Hi @astropolo,

Do the flat and light have the same raw dimensions and are they created in the camera or with capture software?

Mabula


   
ReplyQuote
(@astropolo)
White Dwarf
Joined: 3 years ago
Posts: 10
Topic starter  

Hi @mabula-admin, the flat and the light have the same raw dimensions and were created in the camera. I've tested with Sony files (lights and flats) and didn't got the problem. 
 

Screenshot 2023 01 21 at 13.20.56

   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 7 years ago
Posts: 4366
 

Hi Mauricio @astropolo,

Okay, can you share the problem with us so we can investigate and solve this a.s.a.p. ?

Can you upload 5 lights, 5 flats, 5 bias and 5 darks?

https://upload.astropixelprocessor.com/

username: upload

password: upload

Please make a folder with your name and issue, like Mauricio-Flat-issue and let me know once uploaded 😉

Mabula

 


   
ReplyQuote
(@astropolo)
White Dwarf
Joined: 3 years ago
Posts: 10
Topic starter  

@mabula-admin just uploaded the files on the folder Mauricio-Flat-issue

Thanks for taking a look!


   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 7 years ago
Posts: 4366
 

Hi Mauricio @astropolo,

Thanks for the upload, i will investigate a.s.a.p. 😉

Mabula


   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 7 years ago
Posts: 4366
 

Hi Mauricio @astropolo,

I tested with 2.0.0-beta13 and everything is working fine when I load the 5 lights, 5 bias, 5 darks and 5 flats.

Is the error happening when you load a single flat directly as a masterflat perhaps? (I just tested and this also works fine)

Is your Working Directory on an internal or external drive ?

Did you upload flats that create the problem on your sytem?

Mabula

This post was modified 1 year ago 3 times by Mabula-Admin

   
ReplyQuote
(@astropolo)
White Dwarf
Joined: 3 years ago
Posts: 10
Topic starter  

Thanks @mabula-admin for reviewing it that fast!

Good to know it's working on another machine. I didn't load the flats as the masterflat and I was using an external drive as directory. Now I changed it to the main hard drive and I'm still getting the error with only 1 light and 1 flat.

I'm using a Mac with Ventura 13.1.

I'll try on a windows machine to see if it works ok. Not sure what config on the computer can make this error happen with the flat frame.

Screenshot 2023 01 25 at 14.07.53
Screenshot 2023 01 25 at 14.08.05
Screenshot 2023 01 25 at 14.00.39
Screenshot 2023 01 25 at 14.13.56

 


   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 7 years ago
Posts: 4366
 

Dear @astropolo,

That flat file _DSF3552.RAF on which it happens in your screenshot was not uploaded, maybe you can upload that one so I can test it?

The problem should definitely not be Operating System dependent.

Mabula


   
ReplyQuote
(@astropolo)
White Dwarf
Joined: 3 years ago
Posts: 10
Topic starter  

@mabula-admin I used one of the 20 flats I had from that session ( I had the same problems with flats from another day).

Just tried with 1 of each (light, dark, flat, bias) from the ones uploaded and same thing is happening.

Uploading recorded steps.

bug

   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 7 years ago
Posts: 4366
 

Hi @astropolo,

Thanks for the video 😉

I did exactly the same as you showed and no problem on Windows, so maybe it is OS dependent, which makes it more weird.

I will test now on macOS to see if the error does occur there.

Mabula


   
ReplyQuote
(@astropolo)
White Dwarf
Joined: 3 years ago
Posts: 10
Topic starter  

Hi @mabula-admin, I was able to create a Master Flat on Windows machine using the same Flats I was trying on Mac. For now I can create the Master Flat on Windows and then continue with all the processing on Mac.


   
ReplyQuote
(@astropolo)
White Dwarf
Joined: 3 years ago
Posts: 10
Topic starter  

Hi @mabula-admin, I was able to reproduce the same issue on windows with new flat frames taken today. Not sure if it's related to being taken at different Iso than the lights.

Screenshot 2023 01 26 at 02.54.24
Screenshot 2023 01 26 at 02.54.14

   
ReplyQuote
(@astropolo)
White Dwarf
Joined: 3 years ago
Posts: 10
Topic starter  

Was able to reproduce the same issue on Windows with the previous Flats uploaded, not sure how I could get one Master Bias the first time I've tried on Windows.


   
ReplyQuote
(@doylemac-com)
Hydrogen Atom
Joined: 5 months ago
Posts: 2
 

Did this ever get resolved?

 

I am getting the same error (NormalizeCFAChannel out of bounds) when I include flats. No errors if I just include lights, darks, and bias frames.

 

APP version 2.0.0 beta 26

Platform: MacBook Pro with M1Max

OS: Mac Sonoma 14.1

Frames: Raw files (.RAF) from Fuji X-T3

 

Thanks,

Ken

This post was modified 5 months ago by KEN DOYLE

   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 7 years ago
Posts: 4366
 

Hi Ken @doylemac-com,

Thank you very much for reporting this. The issue was not resolved because we could not produce the error ourselves with the data that @astropolo provided somehow and I have not run into this isuse myself with our large testing dataset.

If you can provide your data, I will be happy to solve this a.s.a.p. ! Can you upload the data here:

https://upload.astropixelprocessor.com/

username: uploadData

password: uploadTestData

Please make a folder like KenDoyle-NormalizeCFAChannel-issue

and let me know once uploaded. Please let me know what settings i need to set to have this error pop-up (like use defaults and perhaps a non-defaults setting?)

Mabula


   
ReplyQuote
(@doylemac-com)
Hydrogen Atom
Joined: 5 months ago
Posts: 2
 

@mabula-admin Thanks Mabula.

I've uploaded two of each - lights, darks, flats, bias - which is sufficient to demonstrate the bug.

 

I simply Load the files on tab 1 (light, dark flat, bias), then go to tab 2, using all of the defaults, and click on the "SAVE (calibrated) Light frames" button. It chugs away for a while and then the error occurs.

 

Ken


   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 7 years ago
Posts: 4366
 

Hi Ken @doylemac-com,

Thank you very much, I will investigate and fix a.s.a.p 😉 We have received the upload in good order, thank you very much !

Mabula


   
ReplyQuote
Share: