cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
Craige_Hales
Super User
Dark Corners

Go somewhere away from the city lights. Put an inexpensive camera on a tripod, point it at the night sky, fiddle with the settings, wrap a rubber band around the button to make it take pictures for an hour. The pictures are really dim, but with some simple JSL processing to remove some noise and increase the contrast...

Craige Hales - YouTube

Stars - YouTube maximized is better

Yes, it was really, really dark, and impossible to tell that fence was in the frame. It won't matter, much.

Next, stack the pictures. This requires finding a transform matrix for each image to warp it onto the base image, and adding up the values. Here's the Pleiades cluster from the center of the video, enhanced by combining all of the images...

PleiadesPleiades

After writing all that JSL, why are there black corners around Alcyone? ( al-sy-ə-nee according to Wikipedia ) The answer lies mostly in the camera, partly in the JSL. Here's a 16x16 pixel snip of Alcyone...

11191_star16x16.png

That's not a black square, but it is close. This is from one of the JPG images from the camera. Here's the gray scale matrix of pixel data, R+G+B on a scale of 0 to 255+255+255:

14 14 14 14 14 14 11 11 14  14 14 17 14 14 14 11,
14 14 14 14 14 14 14 14 17  17 17 17 14 14 14 11,
14 14 14 17 17 17 17 20 20  23 20 17 17 17 14 11,
14 14 17 17 17 14 17 20 20  23 20 14 17 17 14 11,
14 14 17 17 17 14 23 32 29  29 23  8 17 17 14 11,
17 17 17 17 14 20 38 62 68  65 41 23 20 17 14 14,
17 17 17 17 20 29 47 68 95 104 53 23 17 17 14 14,
17 17 17 17 17 20 62 89 92  86 38 26 17 14 14 14,
17 17 17 17 29 32 53 65 62  53 20  5 14 14 14 14,
17 17 17 17 20 29 26 32 35  29 14  3 11 14 14 14,
17 17 17 17 17 14 17 26 26  14  8  3 11 14 14 14,
17 17 17 17 17 20 23 23 23  23 17 11 11 14 14 14,
17 17 14 14 17 20 20 23 20  17 11 14 11 14 14 14,
17 17 17 17 17 17 17 17 14  14 14 14 14 14 14 14,
14 17 17 17 17 17 17 17 14  14 14 14 14 14 14 14,
14 14 14 14 17 17 17 17 14  14 14 14 14 14 14 14

Here's a better look:

11192_AlcyoneContour.png

The original image from the camera has dark corners too! A serious amateur astronomer would get a better camera, with RAW picture output (and a better lens and a better sensor and a more stable tripod...). This camera has almost certainly applied a bi-cubic sharpening filter to the captured data before creating the JPG image. A cubic interpolation creates the over-shoot.;Bicubic interpolation - Wikipedia, the free encyclopedia As far as I can tell, I didn't ask for that.

The JSL sees those 3, 5, 8 values (sum of r+g+b) and subtracts the noise floor, which is typically 4-6 for each of the r,g,b channels and winds up with a negative brightness, which is clipped to zero.

Turns out there is a lot of stuff I don't know much about...

Point spread function - Wikipedia, the free encyclopedia

The Techniques of Least Squares and Stellar Photometry withCCDs - Peter B. Stetson

DeepSkyStacker - Free

update: tried subtracting median to remove noise. Mean is too big and makes a black streak if a pixel ever has a star pass over (see Alcyone above). Min is too small and produces a light streak. Not sure where the cloudy edge is coming from, but the center looks better:

I'll try to get all that JSL organized for another post soon. For now, the 16x16 pixel contour plot JSL is attached.

update 10 Feb 2017: repair formatting for new community

Last Modified: Feb 10, 2017 8:41 AM