Hi Federico,
Sorry, I overlooked your first message for some reason.
1) Update: "Unable to download repository information"
Zbynek has nailed it. That happens because you're using an old version of PixInsight. You should have version 1.6.9.651 installed. However, this version must be downloaded from Software Distribution and requires full manual installation (and don't forget to uninstall your current version before installing 651).
2) From a "Debayer" script I expect to get debayering from a bayered RAW image, tipically, a CR2/Canon 450d image.
So, the result has to be a RGB FITS that - opened - has to be colored like the original or so; for sure, not a pure gray image.
Indeed. I guess this may be due to an incorrect DSLR RAW settings configuration. So let's start clean:
- Open the Format Explorer window.
- Double click the DSLR_RAW item.
- On the RAW Format Preferences window:
* Color adjustment: all three values = 1.0
* White balance: both options disabled.
* Create RAW Bayer image (RGB image) enabled. Alternatively, you can also select the "Create RAW Bayer CFA image" option. The only difference is that the Bayer RGB images allow for more accurate dark scaling with ImageCalibration.
* No black point correction enabled.
Now you have the correct settings to load true raw images.
Let me know if this makes a difference.