Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - astroedo

Pages: 1 ... 9 10 [11]
Gallery / Re: M16 2012
« on: 2012 August 23 23:22:45 »
 :D  :D  :D
it is only a matter of point of view, as you probably know ancient star globes were drawn easy-west reversed: as view from outside the celestial sphere.
It was the God point of view.  ;)

i noticed the swap because i took the same object last week from my home near Brescia.

bye  Edoard

Gallery / Re: M16 2012
« on: 2012 August 21 13:04:36 »
Hello Giorgio,
Very nice picture, but it seem that is east-west reflected (or north-south)

Probably your original CCD exports files with a different origin.



General / Re: Possible workaround for color flats with DSLR
« on: 2012 August 19 13:06:05 »
Ok!  ;)

I've tried!!!  :D

You're right, it works really well if your object is quite small compared to the frame, thank you for advice.



General / Re: Possible workaround for color flats with DSLR
« on: 2012 August 19 08:12:45 »
thank you Ignacio for reply.

No, i cannot, my master flat is a Color filter array image (not debayered yet) so it is gray scaled.

Color balancing has to be done on debayered images.

Best regars


General / Re: Possible workaround for color flats with DSLR
« on: 2012 August 19 03:47:06 »
Hello pfile, thanks for reply,
i want to explain you my concerns so you, maybe, can explain me where i'm wrong.
Given that my idea is not a real "solution", my problem is that using a colored flat introduce a strong color bias in images.
In fact lets call Lxy our light frame calibrated with bias and dark (xy subscript says that L is "pixel dependent") we can write


where Sxy is signal from source, Bxy is Background signal and Exy is "Efficiency factor" that contains Pixel by pixel Quantum efficiency differences, vignetting and

"dust effect".

Our flat frame will be


In the above expression K is a constant depending mainly on light source intensity, exposure time and, if the flat is colored, wavelength (or to simplify, color


Calibrating My Light frame i obtain my calibrated light frame Cxy


since i'm interested in Sxy, solving the above equation


or, in the very simple case with a constant background


Remember that the above expression is "vectorial" in fact i have a similar equation for each color channel

If K depends on color channel i introduce a color bias to my final image.
Color balancing this image means finding K and B
Since we have two variables we need two independent equations (or six if we write explicit equations for color layers) to solve the problem.

This is the reason fo wich i have to use a white reference and a background reference in color calibration process:

Cw is the average (or median) level in my White reference and Wr is expected white level
Cb is the average (or median) level in my Background reference and Br is expected level in background area (near 0) i can write the system

Wr=K*Cw - B
Br=K*Cb - B
for each color channel whose solution is


The problem is that many times you do not have a good white reference (for example an unsaturate G star) so calibratin color is very difficult.

I you have a neutral flat you have only to care about background effect.

A good solution can be extracting R B G values from bayer matrix, calculating average or, better, median value for each distribution an than calculating an appling the correction factor.
Where i'm wrong in my concerns?



General / Possible workaround for color flats with DSLR
« on: 2012 August 16 13:28:46 »
Hello to all forum users,
My name's Edoardo Radice from Italy.

I am a beginner with pixinsight (at the moment i have only a trial licence) and i'm learning basics.
Being a DSLR user one of my first concerns was about colored flats (taken on morning sky or with light pollution filters).

I usually use Iris for frame calibration: here exists a GRAY_FLAT command that turns a colored flat in a gray one.
in Maxim exist a "boxcar filter" that does something similar.

In PI it seems that does not exist something similar (i have found a few forum topics about this, i hope i haven't missed something important  :P ).

Although many PI expert says that colored flats are not a problem (obviously i can correct color hues with color balance and background neutralization), i prefer starting with a gray flat.

Googling on the internet i have found somewhere that a low pass filter with the scheme

1 1 0
1 1 0
0 0 0

can fix the problem, so i've tried to create it with pixel math.
Following the PM tutorial i wrote this expression that works quite well

x = XPos();
y = YPos();
left = x-1;
top = y-1;
plt = Pixel( $target, left, top );
pt = Pixel( $target, x,   top );
pl = Pixel( $target, left, y   );
p = Pixel( $target, x,   y   );

(you can find GrayFlat.xpsm as attachment).

Just to test the procedure, i opened a master flat from my canon 350D with an Astronomik CLS filter.

in sflat_RGB_VNG.jpg   you can see the debayered version of the flat with the blue hue caused by the filter.

in sflat_RGB_VNG_gray.jpg  you can see the debayered version of the flat after application of the pixel math instace.

finally sflat_flattened_with_gray.jpg you can see the debayered version of the "blue" flat flattened with the gray flat: there is no change in color hue after flattening and the field appears well flattened.

Obviously applying a low pass filter some information in your original flat is loosen, so you cannot anymore use your calibrated frames for scientific uses like photometry.
But if your goal is only to produce a nice picture to share with friends this procedure can be useful.

Comments and advice are welcome



Pages: 1 ... 9 10 [11]