ANZAC Day
Go Back   IceInSpace > Images > Deep Space
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread
  #1  
Old 30-07-2011, 12:21 PM
sjastro's Avatar
sjastro
Registered User

sjastro is offline
 
Join Date: Jun 2007
Posts: 2,926
Something a bit different:- Reprocessing a professional image

The Carina dwarf galaxy is a notoriously faint object as described at the ESO website. The natural skyglow at Chile where the image was taken is fainter than the surface brightness of the galaxy.

http://www.eso.org/public/images/potw1126a/

I measured the skyglow in the image and subtracted it out. This allowed a more aggressive stretching of the image. The Carina dwarf while still faint is clearly more visible.

The left hand thumbnail is the untouched image, the right hand image is skyglow subtracted and stretched.

Higher resolution images are found at:-

http://users.westconnect.com.au/~sja...arinadwarf.jpg
http://users.westconnect.com.au/~sja...arfprocess.jpg (processed image)

I could have spent more time fixing the brighter star images.

Regards

Steven
Attached Thumbnails
Click for full-size image (carinadwarfsmall.jpg)
148.0 KB79 views
Click for full-size image (carinadwarfprocesssmall.jpg)
175.6 KB79 views
Reply With Quote
  #2  
Old 30-07-2011, 12:42 PM
CraigS's Avatar
CraigS
Unpredictable

CraigS is offline
 
Join Date: Jul 2010
Location: Australia
Posts: 3,023
G'Day Steven;

The difference is huge !

How did you measure the sky glow from someone else's image ?

Cheers
Reply With Quote
  #3  
Old 30-07-2011, 01:14 PM
sjastro's Avatar
sjastro
Registered User

sjastro is offline
 
Join Date: Jun 2007
Posts: 2,926
Quote:
Originally Posted by CraigS View Post
G'Day Steven;

The difference is huge !

How did you measure the sky glow from someone else's image ?

Cheers
Hi Craig.

Welcome back. The sky glow of the image can measured as a background pixel count using a CCD image capturing program such as CCDops.
While this is not an absolute value with images that have already been processed, the variation in the background count gives me an idea of how much skyglow can be subtracted without effecting the overall image.

Regards

Steven
Reply With Quote
  #4  
Old 30-07-2011, 01:43 PM
renormalised's Avatar
renormalised (Carl)
No More Infinities

renormalised is offline
 
Join Date: Apr 2008
Location: Townsville
Posts: 9,698
It's a faint one, alright!!!. Nice processing
Reply With Quote
  #5  
Old 30-07-2011, 02:33 PM
CraigS's Avatar
CraigS
Unpredictable

CraigS is offline
 
Join Date: Jul 2010
Location: Australia
Posts: 3,023
Quote:
Originally Posted by sjastro View Post
Hi Craig.

Welcome back. The sky glow of the image can measured as a background pixel count using a CCD image capturing program such as CCDops.
While this is not an absolute value with images that have already been processed, the variation in the background count gives me an idea of how much skyglow can be subtracted without effecting the overall image.

Regards

Steven
That is very cool.

I'm by no means an expert in this kind of processing however, looking at the 'before' and 'after' images, you can see how the really, really faint stars emerge when the background is subtracted .. which would mean that the process doesn't introduce too much more noise … which might then lead to artifacts appearing in the final image.

They say the raw image is the best taken so far .. if that is the case, then I reckon Steven's trumps it !

Patent the method/algorithm, Steven … quickly !!

Cheers
Reply With Quote
  #6  
Old 30-07-2011, 07:17 PM
sjastro's Avatar
sjastro
Registered User

sjastro is offline
 
Join Date: Jun 2007
Posts: 2,926
Quote:
I'm by no means an expert in this kind of processing however, looking at the 'before' and 'after' images, you can see how the really, really faint stars emerge when the background is subtracted .. which would mean that the process doesn't introduce too much more noise … which might then lead to artifacts appearing in the final image.
Here is some science. Equalizing the data so that the Carina Dwarf galaxy had similar stellar densities in both images and measuring the sky background characteristics produced some interesting results.

Carinadwarf.jpg: Sky brightness:- 5574 ADUs, Noise:- 1612 ADUs
Carinadwarfprocess.jpg: Sky Brightness:- 34 ADUs, Noise:- 4 ADUs.

Not surprising that the Carina Dwarf was lost in the skyglow for the unprocessed image.

Regards

Steven
Reply With Quote
  #7  
Old 30-07-2011, 08:21 PM
jase (Jason)
Registered User

jase is offline
 
Join Date: Sep 2006
Location: Melbourne, Victoria
Posts: 3,916
Wow! How diffused and faint is that! Lovely work Steven. The logic in subtracting the sky glow has certainly improved the scene. Awesome!
Reply With Quote
  #8  
Old 31-07-2011, 07:50 AM
sjastro's Avatar
sjastro
Registered User

sjastro is offline
 
Join Date: Jun 2007
Posts: 2,926
Thanks Carl and Jase for the feedback.

Regards

Steven
Reply With Quote
  #9  
Old 31-07-2011, 10:14 AM
irwjager's Avatar
irwjager (Ivo)
Registered User

irwjager is offline
 
Join Date: Apr 2010
Location: Melbourne
Posts: 532
That is really, really cool Steven!
This made me wonder about two other techniques that could be used to bring out that hidden beast. They are probably somewhat less scientific and hinge on some assumptions, but I'd love to hear what you think.

A galaxy is far away. We can therefore assume that most, if not all, stars belonging to that galaxy are small. Because we know the population of small stars in the image is skewed in certain places in the image because of the presence of the hidden galaxy, we can bring out the galaxy by emphasizing small stars.

The latter can be accomplished by simply generating a star mask that only contains small stars. Having isolated only the small stars we can then manipulate them in any way we wish.

Trick #2 is 're-synthesising' (if you will) a super structure from the density distribution of the small stars. For this I used a trick I sometimes like to use to 'liven up' nebulas somewhat. I layer the image with a blurred copy of itself in screen mode and apply a luminance mask so the screening is only applied to the darker parts of the image. The Gaussian blur in this instance spreads the energy of each star over a larger area, creating a large scale super structure which is easier to see.

Higher res image at http://www.startools.org/download/potw1126a_ST.png
Attached Thumbnails
Click for full-size image (potw1126a_ST_small.jpg)
197.1 KB21 views
Reply With Quote
  #10  
Old 31-07-2011, 12:55 PM
sjastro's Avatar
sjastro
Registered User

sjastro is offline
 
Join Date: Jun 2007
Posts: 2,926
Quote:
Originally Posted by irwjager View Post
That is really, really cool Steven!
This made me wonder about two other techniques that could be used to bring out that hidden beast. They are probably somewhat less scientific and hinge on some assumptions, but I'd love to hear what you think.

A galaxy is far away. We can therefore assume that most, if not all, stars belonging to that galaxy are small. Because we know the population of small stars in the image is skewed in certain places in the image because of the presence of the hidden galaxy, we can bring out the galaxy by emphasizing small stars.

The latter can be accomplished by simply generating a star mask that only contains small stars. Having isolated only the small stars we can then manipulate them in any way we wish.

Trick #2 is 're-synthesising' (if you will) a super structure from the density distribution of the small stars. For this I used a trick I sometimes like to use to 'liven up' nebulas somewhat. I layer the image with a blurred copy of itself in screen mode and apply a luminance mask so the screening is only applied to the darker parts of the image. The Gaussian blur in this instance spreads the energy of each star over a larger area, creating a large scale super structure which is easier to see.

Higher res image at http://www.startools.org/download/potw1126a_ST.png
Well done Ivo.
I checked a region of the background in your higher resolution image and found Sky Brightness is 25.7 ADU and noise is 1.6 ADU.

The important point is you haven't accentuated the noise or the background.

I think you should seriously consider sending the image to ESO.
I checked their copyright conditions and manipulating their images is OK.

Regards

Steven
Reply With Quote
  #11  
Old 31-07-2011, 02:44 PM
irwjager's Avatar
irwjager (Ivo)
Registered User

irwjager is offline
 
Join Date: Apr 2010
Location: Melbourne
Posts: 532
Quote:
Originally Posted by sjastro View Post
Well done Ivo.
I checked a region of the background in your higher resolution image and found Sky Brightness is 25.7 ADU and noise is 1.6 ADU.

The important point is you haven't accentuated the noise or the background.

I think you should seriously consider sending the image to ESO.
I checked their copyright conditions and manipulating their images is OK.

Regards

Steven
Thanks Steven,

The difference between yours and mine is that yours would pass muster with the purists, whereas mine most likely won't.

The creation of a star mask with just the small stars is a somewhat subjective matter. The method, though highly automated, is not exact in its highlighting/masking of stars. The whole method described above is founded on principles of statistical probability and random distribution, but I cannot say for sure I am bringing to the fore only the galaxy's stars, nor can I guarantee I get all of them.
The method is good enough to approximate the galaxy's shape and star distribution. However, it is not a 100% accurate representation of reality. Then again, no image is...
Reply With Quote
  #12  
Old 31-07-2011, 04:03 PM
sjastro's Avatar
sjastro
Registered User

sjastro is offline
 
Join Date: Jun 2007
Posts: 2,926
Quote:
Originally Posted by irwjager View Post
Thanks Steven,

The difference between yours and mine is that yours would pass muster with the purists, whereas mine most likely won't.

The creation of a star mask with just the small stars is a somewhat subjective matter. The method, though highly automated, is not exact in its highlighting/masking of stars. The whole method described above is founded on principles of statistical probability and random distribution, but I cannot say for sure I am bringing to the fore only the galaxy's stars, nor can I guarantee I get all of them.
The method is good enough to approximate the galaxy's shape and star distribution. However, it is not a 100% accurate representation of reality. Then again, no image is...
If you check the histogram of the ESO image you will find it's clipped, so the data wasn't 100% to start with. That's not surprising as processed professional images for public consumption aren't necessarily any better than what an amateur can accomplish.
I wouldn't sell your efforts short. Your image is able to differentiate the galaxy from the foreground stars which is the ultimate objective.

Regards

Steven
Reply With Quote
  #13  
Old 31-07-2011, 06:40 PM
strongmanmike's Avatar
strongmanmike (Michael)
Highest Observatory in Oz

strongmanmike is offline
 
Join Date: May 2006
Location: Canberra
Posts: 17,176
Interesting work you two, thinking outside the square again Ivo ...I like both results

Mike
Reply With Quote
  #14  
Old 01-08-2011, 06:36 PM
irwjager's Avatar
irwjager (Ivo)
Registered User

irwjager is offline
 
Join Date: Apr 2010
Location: Melbourne
Posts: 532
Steven,

I sent ESO a link to the image this morning and got a very nice reply just now from Lars Lindberg Christensen/ESO

Quote:
This is indeed a very interesting image you have made! And thanks for sending it! Your processing certainly brings out the galaxy much better.
There are however also some artifacts - see around the yellowish star to the right. It seems your algorithm brought out some stars that are not there, but are just noise features in the ghost around the star. Being a scientific institution we are forced to be a bit conservative with our processing. One of our main rules is that our images should always only show "real stuff", i.e. no artifacts like dark ringing around stars due to too much sharpening. It is however an ongoing discussion far we can push technology and still stay within our "moral limits". Thanks again for sending your image - very enlightening!
The response is as I expected - the image as-is, is of little scientific value (and I must agree). However, I replied with a method that is similar and would allow for the specification of a confidence interval of the results, such as, for example, the popular 95% confidence interval often used in scientific research.

This method would concentrate on the density of distribution of small stars.

We would convolve just a single pixel per star, using a kernel radius that would result in a 5% energy per-pixel convolved result. We would then add this result to the image (e.g. 20 pixels in the immediate vicinity of the star would be brightened by 5%). As such, the 95% confidence interval requirement would be met (e.g at worst we would be adding 5% false signal to the image in case we erroneously selected a star/artefacts that wasn't supposed to be selected). Dense concentrations of small stars would cause a significant local brightening, causing a 'super structure' to emerge.
We can leave this super structure in the image, or we can leave out the super structure and measure the brightness of the super structure where small stars are located and brighten them accordingly.

Care must be taken to select only small stars. Care must also be taken to heal any parts of the image that are affected by big stars (and halos) in a way that does not upset local star density (e.g. these parts of the image need to be replaced by an approximation of small-star density), so that convolution of that area results in a neutral patch. Despite these 2 challenges I do believe this would be a viable approach.

Then again, I may have missed something (to be honest, probability theory isn't my strong point) and may just be full of it...
Reply With Quote
  #15  
Old 01-08-2011, 06:46 PM
DavidU's Avatar
DavidU (Dave)
Like to learn

DavidU is offline
 
Join Date: Jul 2007
Location: melbourne
Posts: 4,835
Fascinating stuff guy's.
Reply With Quote
  #16  
Old 01-08-2011, 07:42 PM
sjastro's Avatar
sjastro
Registered User

sjastro is offline
 
Join Date: Jun 2007
Posts: 2,926
Quote:
Originally Posted by irwjager View Post
Steven,

I sent ESO a link to the image this morning and got a very nice reply just now from Lars Lindberg Christensen/ESO

Quote:
This is indeed a very interesting image you have made! And thanks for sending it! Your processing certainly brings out the galaxy much better.
There are however also some artifacts - see around the yellowish star to the right. It seems your algorithm brought out some stars that are not there, but are just noise features in the ghost around the star. Being a scientific institution we are forced to be a bit conservative with our processing. One of our main rules is that our images should always only show "real stuff", i.e. no artifacts like dark ringing around stars due to too much sharpening. It is however an ongoing discussion far we can push technology and still stay within our "moral limits". Thanks again for sending your image - very enlightening!
The response is as I expected - the image as-is, is of little scientific value (and I must agree). However, I replied with a method that is similar and would allow for the specification of a confidence interval of the results, such as, for example, the popular 95% confidence interval often used in scientific research.

This method would concentrate on the density of distribution of small stars.

We would convolve just a single pixel per star, using a kernel radius that would result in a 5% energy per-pixel convolved result. We would then add this result to the image (e.g. 20 pixels in the immediate vicinity of the star would be brightened by 5%). As such, the 95% confidence interval requirement would be met (e.g at worst we would be adding 5% false signal to the image in case we erroneously selected a star/artefacts that wasn't supposed to be selected). Dense concentrations of small stars would cause a significant local brightening, causing a 'super structure' to emerge.
We can leave this super structure in the image, or we can leave out the super structure and measure the brightness of the super structure where small stars are located and brighten them accordingly.

Care must be taken to select only small stars. Care must also be taken to heal any parts of the image that are affected by big stars (and halos) in a way that does not upset local star density (e.g. these parts of the image need to be replaced by an approximation of small-star density), so that convolution of that area results in a neutral patch. Despite these 2 challenges I do believe this would be a viable approach.

Then again, I may have missed something (to be honest, probability theory isn't my strong point) and may just be full of it...
Ivo,

It's excellent you got a reply, even though I don't agree with it....

First of all with regards to scientific standards, the ESO image doesn't stand up either. As I mentioned previously their image is clipped, (resampling does give a "decent" histogram however). So they have lost quite a of bit detail in the galaxy.

Secondly on the question of artifacts, processing an already compressed processed JPEG image doesn't help.
A way of dealing with this issue and incorporating your own ideas is to process their raw FITS data.

I wonder if ESO would be obliging?

Regards

Steven
Reply With Quote
  #17  
Old 05-08-2011, 07:02 PM
Ross G
Registered User

Ross G is offline
 
Join Date: Apr 2007
Location: Cherrybrook, NSW
Posts: 5,006
Amazing photo Steven.

Your imaging is so extreme!

Thanks.

Ross.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 10:44 PM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Advertisement
Bintel
Advertisement
Testar
Advertisement