<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">

<channel>
<title>Deep Sky Colors - Astrophotography by Rogelio Bernal Andreo</title>
<link>http://blog.deepskycolors.com/</link>
<description>Deep Sky Colors</description>
<dc:language>es</dc:language>
<dc:date>2010-06-18T00:00:00-08:00</dc:date>
<lastBuildDate>Sun, 01 Aug 2010 01:19:52 GMT</lastBuildDate>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
<image>
<title>ZoomBlog</title>
<url>http://www.zoomblog.com/pics/blogs/ZoomBlog_mini.gif</url>
<link>http://www.zoomblog.com/</link>
</image>

<item>
 <title>Between Sagittarius, Ophiuchus and Scorpius</title>
<link>http://blog.deepskycolors.com/archive/2010/06/18/between-Sagittarius-Ophiuchus-and-Scor.html</link>
 <guid isPermaLink="true">http://blog.deepskycolors.com/archive/2010/06/18/between-Sagittarius-Ophiuchus-and-Scor.html</guid>
 <description>
 <![CDATA[
<p><a href="http://deepskycolors.com/pics/astro/2010/06/mb2_2010-06_52MRot.jpg"><img border="0" src="http://deepskycolors.com/pics/astro/2010/06/md_2010-06_52MRot.jpg" alt="" /></a><br /><a href="http://deepskycolors.com/pics/astro/2010/06/mb2_2010-06_52MRot.jpg">Click here for a larger version</a></p>          

<p> </p>         

<div style="width: 600px;">When I drove a total of 1,200 miles to capture my widefield image of the IFN I thought I had gone too far and told myself I should control myself a bit. So when I calculated the total driving time for this image to be over 1,800 miles (and that's not including the Rho Op area on the left of the image - otherwise, add 800 miles to the 1,800!) I realized I didn't talk to myself clearly enough! :-)          

<p>The mosaic above is made out of 52 frames. If we take out the 12 frames from the already mosaic I had done of the Rho Op area, that leaves the 40 frames I captured and processed this month of June alone. Each frame is 3x5 minutes of L and 3x3 minutes each RGB, all bin 2x2.</p>          

<p>I captured the data in 9 different nights: 6 outside of the DARC Observatory, 2 during a camping weekend in Plettstone (Bear Valley), and one additional frame catured at the back of the Lick Observatory. All during a period of around 12 days. Um, yes... I do have a DAY job too!!</p>          

<p>As I mentioned earlier, the total round trip driving time to these dark sites added up to 1,840 miles driven. Total exposure time for the 40 frames is around 40 hours (48 if we count the Rho Op area) with a time in the field exceeding over 70 hours. The original image, over 18,000 pixels wide, can be provided upon request. It's just too big in size I'd rather not to pay the bandwidth toll (yes I pay for my bandwidth).</p>          

<p>People familiar with this area will soon realize the image is upside down, and that's my favored composition. It gives me a stronger feeling as if the nebulosity in the Rho Op area is "escaping" from the Milky Way, although for those who must see it north up, I have a north-is-up 4000x2170 version <a href="http://deepskycolors.com/astro/2010/06/mb2_2010-06_52M.jpg">here</a> (2.1mb).</p>          

<p><b>PROCESSING</b></p>          

<p>A few comments about the processing, in case anyone's interested in the insanity involved in building a 52 frames mosaic and try to get it processed in barely 4 days.</p>          

<p>Making the 52 luminance frames to match seamlessly wasn't easy. I had to give up three different methodologies, the first one being an effort of over 10 hours that I finally discarded. Finally, with the luminance more or less registered seamlessly, doing the same with the color made the previous work on the luminance look so easy! Throughout the whole process I used PixInsight, Registar and Photoshop, each of them with their advantages and disadvantages.</p>          

<p>Mosaic'ing all red frames, then all green frames then all blue frames over the luminance mosaic didn't work well. You need a 100&#37; perfect result on each channel in order for them to match later, Registar generated way off R, G and B registered frames. PixInsight was much more accurate (also much slower to produce) but still not perfect across the 40 frames (and the moment one channel frame is off, it;s all useless), so I registered and aligned each master R-G-B frame separately, gradient correction (remember, each frame is 5.5x3.5 degrees, which is going to generate much more severe gradients than on smaller FOVs), color balance, etc... 40 times. All this was done with PixInsight which has proven to me its registration process is almost flawless and better than anything else I've tried - including a trial version of CCDStack v2. Making the processed 40 RGB frames to register with the luminance wasn't hard, but still a work of patience, having to do one by one, etc.</p>          

<p>Some "purists" may criticize this methodology, as it requires the RGB data to be registered twice: first for each frame, then over to the (luminance) mosaic. All I can say is... Let me know how it goes when you process your own 52 frames mosaic using more "rational" approaches. And I'm not being entirely sarcastic here - I would really like to know how it goes! I did what I could make it work, and out of the different approaches I tried, this is the only one that worked across the entire 40 frames, and it's because of that I can now say that this mosaic has a nearly perfectly seamless luminance - no funky stars around the seam areas, and each tiny little star tat shows color it's because the RGB channel data gave that color to that tiny star and such data matched 100&#37; accurately over the luminance. No other methodology I tried gave me that over the entire field. Maybe I goofeed off, I don't know...<br /></p>          

<p>Anyway... But of course, once I had the RGB mosaic nicely aligned, despite it matched perfectly with the luminance, the color from frame to frame was showing quite some differences. How did I process the color data to generate an almost seamless transition? Basically by doing individual adjustments one frame at a time, repeat, repeat, etc. As if it wasn't enough having processed 40 frames individually, I just couldn't see having the color to match seamlessly.. Because most gradients had already been taken care of, color information was uniform, so all adjustments were mainly applied over each entire frame without the need to create individual masks.<br /></p>          

<p>In the end, other than 3-4 frames for which the original data was pretty bad and there wasn't much I could do to save them, I managed to get things to match more or less seamlessly.</p>          

<p>With all that done, and the L and RGB composites done, the final processing on both was very simple. I know I could improve it if I work on it a bit more, but I'm heading for a trip and I wanted to post what I've got so far, which, with all its defects and so on, it's no small effort. I hope you like it!</p></div>          

<p><a href="/store.html">Get a poster, t-shirt, mug, mousepad... with this image!</a></p>          

<p> </p>         

<div id="dtLink">[<a href="#" onclick="switchDiv('dataTable');switchDiv('dtLink');return false;">Show image details</a>]</div>          

<div id="dataTable" style="display: none;">[<a href="#" onclick="switchDiv('dataTable');switchDiv('dtLink');return false;">Hide image details</a>]          

<table class="picData">          

<tbody>          

<tr>          

<td>          

<div class="postSub">DATE</div>June 6~18th, 2010<br />          

<p> </p>         

<div class="postSub">PHOTO</div>Exposure: Each frame: L: 3 x 5', RGB: 3x3' each channel<br />Total: 48.4 hours<br />Focal: 385mm, f/3.6Mbr/&gt;All frames bin 2x2</td>          

<td>          

<div class="postSub">EQUIPMENT</div>Imaging Scope:  FSQ 106 EDX w/Reducer<br />Camera:  STL11k<br />Guide Camera:  StarShoot Autoguider<br />Mount:  EM-400<br /></td>          

<td>          

<div class="postSub">SITE &amp; CONDITIONS</div>DARC Observatory, Plettstone<br />Seeing: Poor<br />Transparency: Good to Very Good<br />          

<p> </p>         

<div class="postSub">SOFTWARE</div>Stacking: DeepSkyStaker<br />Processing: PixInsight &amp; Photoshop<br /></td></tr></tbody></table></div>
 ]]>
</description>
 <dc:date>2010-06-18T00:00:00-08:00</dc:date>
 <dc:creator>RBA</dc:creator>
</item>

<item>
 <title>Removing gradients while preserving very faint background details</title>
<link>http://blog.deepskycolors.com/archive/2010/05/28/removing-gradients-while-preserving-ve.html</link>
 <guid isPermaLink="true">http://blog.deepskycolors.com/archive/2010/05/28/removing-gradients-while-preserving-ve.html</guid>
 <description>
 <![CDATA[
<h2>Intro</h2>Gradients are often unavoidable, and they get worst the wider your field of view is. Of course, incredibly dark skies are a great help, but we don't always have that luxury. 
<p>The strategy you choose to deal with gradients will depend on the image, how severe the gradients are, and your goals. This tutorial shows you how I deal with gradients with images that also contain very faint details in the background that I want to preserve.</p> 
<p>Many people attack gradients somewhere in the middle of the processing of an image. While the results obtained by doing this can be ok, my experience is that it's a lot better to deal with the gradients at the very beginning. </p> 
<p>There are many reasons why dealing with gradients in the middle of the processing is just not a good idea:&nbsp; stretching an image with gradients is not desirable because our histogram isn't true to the data we want to process - the histogram is including the gradient data, which means we're looking at a histogram that is not a good representation of our data, and why would we want to carry the gradient data with us as we process the image and deal with it "later"? Also, color-balancing an image with gradients can be misleading, so again, ideally we want the gradients corrected before we color-balance our image, something that is better to do when the image is still linear - which also means our gradient corrections must not break the linearity of our image, they have to be done early in the process, etc. In short, gradients have been added to our image and they're unwanted, so before processing our image we should get rid of them first, and once that's done, proceeded as "usual".</p> 
<p>The most effective way of removing gradients (other than perhaps super-flats?) is by creating a background model defining the gradient and subtracting it from our image. We subtract it because gradients are an additive effect. By doing this, we can remove the gradients and be left with an image that is still in linear form, so we can then start processing it just like we would with any image - but without gradients!</p> 
<p> </p>
<h2>The Data</h2>The tutorial is based on a set of luminance I captured for my <a href="http://blog.deepskycolors.com/archive/2010/05/06/m10-M12-and-galactic-cirrus.html">M10, M12 and galactic cirrus</a> image.  
<p> </p>
<p>The captured data was of Ok quality, but as you will see, it wasn't free of gradients. The master file was generated from 7 subexposures of 15 minutes each at -20C temperature, with a SBIG STL11k camera and a Takahashi FSQ106EDX telescope with the 0.7x reducer. The data was captured at DeepSky Ranch, California, between 1:45am and 3:30am on May 6th, 2010.</p> 
<h2>The Goal</h2> 
<p>The goal in this session is to remove the gradients from the luminance, but at the same time trying to preserve some very VERY dim galactic cirrus that populates that area.</p> 
<h2>1 - Preliminary work</h2>We skip the process of calibrating and registering the 7 subframes. This means we already have a "master" luminance file. We open it in PixInsight: 
<p><img alt="" src="http://deepskycolors.com/astro/tut/grad/grad-1.jpg" /></p>As usual with most astroimages, there isn't much to see. 
<p>We want to see what's in there, so we use the "Auto" function from the ScreenTransferFunction tool (STF from now on) to perform a strong "screen stretch", that is, a strong stretch of the image as presented on the screen but without actually modifying any data in the image.</p> 
<p><img alt="" src="http://deepskycolors.com/astro/tut/grad/grad-2.jpg" /></p> 
<p>Now we can see what's really there, and the most noticeable thing (besides a "bad column" that wasn't corrected during calibration) is a gradient that presents our image rather bright on the left area, and much darker on the right. Our two globular clusters show nice and clear, which is nice.</p> 
<p>If we pay very close attention, we also notice that there is in fact some data of the galactic cirrus in the image. We can tell the galactic cirrus from the gradient, because the gradient is a uniform and gradual effect across the image, but we can also see some structural differences. Yes, they're hard to see, but with some experience (and by looking at the actual image, not at a reduced screenshot) is quite noticeable. One thing is sure, we won't be able to do anything with that galactic cirrus unless we get rid of the gradient, and fast!</p> 
<h2>2 - Creating our background model</h2>The first thing I do to create an acceptable background model is to create a duplicate of the image, and apply a non-linear histogram stretch. I do this because it will then be easier to place the samples used to create a background model based on this gradient. 
<p><img alt="" src="http://deepskycolors.com/astro/tut/grad/grad-3.jpg" /></p> 
<p>Our gradient is back, indeed. In this histogram stretch we can also better see some of the galactic cirrus data that we do NOT want to remove. </p> 
<p>Now we use the DynamicBackgroundExtraction tool (DBE from now own) to construct the background model.</p> 
<p>Although I am not going to use the DBE symmetry function, I like to set the symmetry point at a place that seems to make sense to me, all the way to the right of the image in this case.</p> 
<p><img alt="" src="http://deepskycolors.com/astro/tut/grad/grad-4.jpg" /></p> 
<p><b>VERY IMPORTANT</b>: When placing the samples that later will be used to create the background model, first I will place just a few of them, at an average of perhaps just 5-8 across. The reason is twofold. First, we're trying to model a gradient, and gradients are usually very smooth and gradual. If we were to place many samples, our model will start not to be as smooth and gradual as the gradient, as I will show you in a minute. The other reason is that we want to preserve the very subtle differences in the galactic cirrus data in the background, and we definitely do not want the samples to catch these differences.</p> 
<p>In the screenshot above you can (barely) see the sample points in cyan blue. Later you'll be able to see them much better, so I'll talk about that then.</p> 
<p>The next step is to SAVE this process as a "Process Icon". The reason is, we do not want to apply the DBE to this non-linear image. We have stretched this image to get a better feel of where the samples should go. By saving the process, we can then apply it to our real "good" image later.</p> 
<p><img alt="" src="http://deepskycolors.com/astro/tut/grad/grad-5.jpg" /></p> 
<p>Notice in the screenshot above the little icon next to the mouse cursor. We've created this process icon by dragging the "blue triangle" at the bottom-left of the DBE dialog over the workspace.</p> 
<h2>3 - Applying the background model</h2> 
<p>We can now close the DBE dialog and the stretched image. After doing that, we double-click on the process icon, and we "magically" apply to our "good" image the parameters we just defined earlier:</p> 
<p><img alt="" src="http://deepskycolors.com/astro/tut/grad/grad-6.jpg" /></p> 
<p>Here is when I can better show you where I've placed my samples. Notice I first auto-generated about 6 samples per row (equal spacing vertically) and then I've placed a few samples manually on the left area, where I noticed there was a very "short" darkening gradient, that our model background wouldn't pick unless we also set a few more samples there. Generally, in order to protect the very faint background structures, we should do an even more careful placement of the samples across the image, but as we shall see, even a more general sample placement can yield good results.</p> 
<p>With that done, we're ready to apply the DBE. Notice (if you can read it!) that I have selected "Subtraction" as the correction formula. As I mentioned earlier, gradients are of additive nature, so in order to correct them, we must subtract the background model, rather than dividing it (which is what we'd do if we were dealing with vignetting, for example).</p> 
<p>And here's our corrected image after subtracting the background model created by the DBE process:</p> 
<p><img alt="" src="http://deepskycolors.com/astro/tut/grad/grad-7.jpg" /></p> 
<p>Not much to see, right? Let's now apply a STF to both, our corrected image and the background model. This allows us to see whether the gradient has been successfully corrected as well as the shape of the background model we've used:</p> 
<p><img alt="" src="http://deepskycolors.com/astro/tut/grad/grad-8.jpg" /></p> 
<p>On the left you see the background model. Notice it's a smooth and gradual model, which is exactly what we wanted. If we were looking for complete perfection, we do notice that there's a few areas in the model that don't seem to be "just gradient corrections". In that case we would go back to the DBE tool, readjust the position of our samples, perhaps also readjusting some of the modeling parameters, using as a guide the background model we just created - which "tells" us where it didn't do a good job.</p> 
<p>On the right you see the corrected image (with a very strong STF stretch). We do notice the background is not perfectly flat. Did we fail? Nope, that's the signal from the galactic cirrus! Other than that, we can tell the gradient is pretty much gone.</p> 
<p>We disable the STF and our image is ready to be processed. Just as when we started but without the gradient:</p> 
<p><img alt="" src="http://deepskycolors.com/astro/tut/grad/grad-9.jpg" /></p> 
<h2>4 - Verifying faint background signal</h2> 
<p>Although we are confident that the uneven background signal we saw in the STF'ed image after applying our background model is not the result of gradients, in part because we were able to see that the differences in background brightness of the "screen-stretched" image do not correspond with the subtle differences we notice in our background model, a reassuring check would be to compare a quick non-linear stretch of our image with the same area from the IRAS survey, Here's our image:</p> 
<p><img alt="" src="http://deepskycolors.com/astro/tut/grad/grad-10.jpg" /></p> 
<p>And here's the same area from the IRAS survey:</p> 
<p><img alt="" src="http://deepskycolors.com/astro/tut/grad/IRAS_M10_M12_Area.jpg" /></p> 
<p>Obviously our image does not offer the same level of detail - in some cases it might, once processed, but certainly not at this point where all we're doing to our image is just a screen stretch - but we can see that the background areas that appear to be darker in our image roughly match the darker areas in the IRAS image. To get an even closer picture, we can apply some multi-scale processing techniques (MS) to our image so we can bring out even more clearly the background signal - for this purpose we have also applied some strong histogram adjustments (HS) over-highlighting bright areas and over-darkening darker background areas:</p> 
<p><img alt="" src="http://deepskycolors.com/astro/tut/grad/grad-12.jpg" /></p> 
<p>As I think it's clear, our bright background structures match pretty well with the structures from the IRAS image. Of course they do NOT match exactly, that's why when making that assesment, we must consider a couple of things:</p> 
<ul> 
<li> 
<p>We've just collected 7x15 minutes subexposures from a less than perfect sky, so the signal we've captured from the cirrus is not going to be as detailed as if we had imaged the Orion Nebula.</p></li> 
<li> 
<p>The quick multi-scale process we've applied usually blurs the large scale structures - our purpose at this point is to identify whether bright intensities in the background we have now&nbsp; more-or-less match the bright areas from the survey image, and blurred structures are ok to make that assesment. You can tell by looking at the <a href="http://blog.deepskycolors.com/archive/2010/05/06/m10-M12-and-galactic-cirrus.html"> final processed image</a> that when processed carefully, the background structures don't look exactly like the "quick blur" we just did.</p></li> 
<li> 
<p>The resolution and quality of the image we've obtained from the IRAS survey is also not ideal - areas that look very dark in the image may not be really absent from galactic cirrus for example. I have seen images taken with large telescopes of parts of the sky that display a large and dense amount of galactic cirrus where the images from the IRAS survey barely show any.</p></li></ul> 
<p>And of course, what really matters for the purpose of this tutorial is that the gradients we originally had in the image have no influence in this background signal, that we have been able to remove the gradients using an appropriate workflow, and that in the process we have not destroyed faint background details.</p> 
<h2>5 - A note about background samples</h2> 
<p>When creating a background model, some people tend to define a large number of samples with the idea that the more samples we place, the more accurate the background model will be.</p> 
<p>The problem with this approach when removing gradients is that, if our image contains subtle variations in the background NOT caused by gradients, a background modeled after many samples will catch these variations, more so if the variations are not so subtle.</p> 
<p>For example, look what happens in this case if we generate and apply a background model that was created from a large number of samples:</p> 
<p><img alt="" src="http://deepskycolors.com/astro/tut/grad/grad-11.jpg" /></p> 
<p>At the top-left is our original image with the sample marks (yup, that's a lot of samples!).</p> 
<p>At the bottom-left is the background model generated. You can just tell by looking at this background model that it's not the right model to correct a gradient - unless you believe that a gradient could have that shape!</p> 
<p>As a result, on the left is a screen stretch of the image after we've applied the background sample. Not only the background details we know this image has are pretty much gone, but also we can see some darkened areas - especially around bright stars or even the two clusters - that we can tell are processing artifacts. We've over-corrected our background.</p> 
<p>So although there are cases where a large number of samples is justified, be careful when dealing with gradients, and always stretch your background model to make sure that it indeed shows the shape of what you'd expect from a gradient.</p> 
<h2>6 - Wrap up</h2> 
<p>As always, this tutorial takes a bit of time to read, but it really only involves four very very simple processing steps:</p> 
<ul> 
<li>We screen-stretch our image to view the gradient</li> 
<li>We histogram-stretch a duplicate of the image to place samples at the right places</li> 
<li>We create and apply the background model</li> 
<li>We verify that the model generated is appropriate and that our final image is properly corrected</li></ul> 
<p>For someone with some experience working with PixInsight, this session could be carried out in just 5 to 10 minutes.</p> 
<p>As always, feel free to leave comments, questions, suggestions...</p>
 ]]>
</description>
 <dc:date>2010-05-28T23:32:00-08:00</dc:date>
 <dc:creator>RBA</dc:creator>
</item>

<item>
 <title>CreativeCommons Required Attribution line</title>
<link>http://blog.deepskycolors.com/archive/2010/05/27/creativecommons-Required-Attribution-l.html</link>
 <guid isPermaLink="true">http://blog.deepskycolors.com/archive/2010/05/27/creativecommons-Required-Attribution-l.html</guid>
 <description>
 <![CDATA[
I often get requests from using my images in cases when permission isn't really needed. Before asking, it might be helpful for you to read the following. <br /><br />As stated at the bottom of all pages in DeepSkyColors.com, all the images I post here are licensed under a BY-NC-ND Creative Commons License.<br /><br />The BY part means that if you use any of the images posted here, you must attribute the work in the  manner specified by the author. So what are my requirements as far as work attribution? All I ask you when using any of my images, as far as crediting authorship, is to include at least this minimum required credit line:<br /><br /> 
<div style="margin-left: 40px; font-weight: bold;">Rogelio Bernal Andreo (DeepSkyColors.com)<br /></div><br />Such credit line should be readable when looking at the photograph. That means you shouldn't include the credit line in such a way that a casual viewer of the image isn't able to read the credit line (for example using a font size that is very difficult to read). At the same time, it is suggested that the credit line doesn't distract the viewer from the image<br /><br />And just to be clear:<br /><br /> 
<ul> 
<li>The NC part means Non-Commercial, in other words,&nbsp; you may not use any of my images or content for commercial purposes. </li> 
<li>The ND part means Non-Derivative, that is,&nbsp; you may not alter, transform, or build upon any image or content posted on DeepSkyColors.com, regardless of whether I have posted such content somewhere else. </li></ul>As long as these three conditions are met, you are free to use any image or content posted here on DeepSkyColors.com and no specific permission is required from me.<br /><br />Does that mean you can not use my images for commercial purposes or that you cannot create derivative works, etc? No. But for any of such uses you must <a href="http://blog.deepskycolors.com/about.html" target="_blank">contact me</a> first.<br />
 ]]>
</description>
 <dc:date>2010-05-27T15:18:00-08:00</dc:date>
 <dc:creator>RBA</dc:creator>
</item>

<item>
 <title>Photoshop Plug-in: WhiteCal</title>
<link>http://blog.deepskycolors.com/archive/2010/05/26/photoshop-Plug-in-Whitecal.html</link>
 <guid isPermaLink="true">http://blog.deepskycolors.com/archive/2010/05/26/photoshop-Plug-in-Whitecal.html</guid>
 <description>
 <![CDATA[
<h2>About WhiteCal</h2><b>WhiteCal</b> is a simple  Photoshop plug-in that allows you to select an area of an image (a sample), and then it'll do a complete RGB color balance assuming that the average color in the sample is supposed to be white/neutral. The sample can be anything you can select using any of Photoshop's selection tools: marquee/lasso tool, magic wand, color range, etc.<br /><br />There are several different applications for this plug-in. <br /><br />One is to do a standard white balance adjustment... Say you took an picture and the colors look odd. If there's an area of the image that you know it should be white (or at least of neutral color), you could select a part of that area, and then use WhiteCal to adjust the colors of the entire image (not just the selection!) so that the selected area will in fact become white/neutral, and the colors of the rest of the image become adjusted according to the same coefficients applied to make the selected area white/neutral. For astrophotography aficionados, this is very useful for example to do color balance on daylight pictures taken with a modified DSLR camera.<br /><br />In astrophotography, WhiteCal can also be very useful to do a color balance based on a G2V star: simply select the star (you can use the lasso/magic wand tool for that) and run WhiteCal. Some people also like to do the color balance of an image of a galaxy by assuming that the core of the galaxy - or all visible light coming out of the galaxy - is white. Again, simply select the areas you assume their average should be white, run WhiteCal, and the colors of the entire image will be balanced accordingly.<br />  
<p /><center>    
<p /></center>    
<p> </p>  
<h2>Requirements</h2>To use WhiteCal you need a computer running   Windows (tested on XP, Vista and Windows 7) and Photoshop (tested on   CS2, CS3 and CS4). WhiteCal will likely work under previous versions of   Windows and Photoshop but I haven't tested it. If you successfully runWhiteCal&nbsp; in any of the not-tested versions of Windows and/or Photoshop,   <a href="/about.html">let me know</a>.&nbsp;     
<p>Why not Mac? ... Short answer: because I don't have one,   therefore I cannot compile and test the plug-in for the Mac.</p>    
<p> </p>  
<h2>Download it</h2>Downloading WhiteCal is easy, simply click   one the links below:     
<p>For any version of Photoshop (except CS4 64 bits): <a href="http://deepskycolors.com/astro/ps/WhiteCal.zip">DOWNLOAD WhiteCal </a></p>    
<p>For Photoshop 64 bits ONLY: <a href="http://deepskycolors.com/astro/ps/WhiteCal64.zip">DOWNLOAD WhiteCal   64bits</a></p>    
<p>By the way, WhiteCal is free (as in "free beer") and I want it to   stay that way, so permission is NOT given to include this plug-in in any   commercial package. If you downloaded WhiteCal, whether standalone or as a   part of a package, and paid for it, please <a href="/about.html">let me know</a>. Having said that, if you  find it  useful and would like to make a small donation, please use the  "Donate"  button below. This will entitle you to receive notifications   of new upgrades to this plug-in. The Donate button will take you  toPayPal -  don't worry when you see the donation goes to AR Networks.  Yes, that's  me.</p>    
<p /><form action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="cmd" value="_s-xclick" /><input type="hidden" name="hosted_button_id" value="7NVXBVU3Q6SNC" /><input type="image" border="0" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay  online!" /><img width="1" height="1" border="0" alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" /></form>    
<p> </p>  
<p> </p>  
<h2>Installing WhiteCal</h2>Once downloaded, you'll need to   <i>unzip</i> the WhiteCal.zip. This will extract the WhiteCal.8bf   file.     
<p>Once extracted, copy the WhiteCal.8bf file to the Plug-Ins   directory in your Photoshop installation.This usually is something like   <b>C:\Program Files\Adobe\Adobe Photoshop CS2\Plug-Ins</b>   but it may be different depending on operating system and t Photoshop version you're running.</p>    
<p>After you've copied the file to the Plug-Ins directory, start   (or restart) Photoshop. </p>    
<p> </p>  
<h2>Using WhiteCal</h2>When you're ready to use WhiteCal (you'll   need at least one image loaded in Photoshop), first, with the lasso/marquee/magic wand/color range/etc tool select the area you assume to be white/neutral. Once that's done, go to the   <b>Filters</b> menu, find the   <b>DeepSkyColors</b> menu option, select it, then click on   the <b>WhiteCal</b> sub-menu option. If you don't see it there,   chances are you did something wrong when you copied the WhiteCal.8bf file,   so double-check you indeed copied it to the right directory. Again,   don't forget to restart Photoshop anytime you copy a plug-in filter to   the Plug-Ins directory so Photoshop knows it's there.<br /><br />After running WhiteCal, the plug-in will compute the coefficients for the selected area, and present them to you in a window that looks like this:<br />  
<p><img alt="" src="http://deepskycolors.com/astro/ps/WhiteCalv01.gif" /></p>    
<p>At that point, you can simply click OK to accept the values WhiteCal has calculated, or if you like, you can enter your own.</p>    
<p> </p>  
<h2>What happens if I don't make a selection before running WhiteCal?</h2>WhiteCal will simply assume the area selected is the whole image.<br />  
<h2>Does WhiteCal work well with saturated areas?</h2>Let's just say that WhiteCal will not complain but the results will not be good. The reason is because right now WhiteCal does not ignore saturated pixels, so they too are taken into account when calculating the offsets. This however will influence the offset values given by WhiteCal.<br /><br />One of the things in my to-do list is for WhiteCal to detect saturated pixels in the selected area and ignore them when calculating the offset values, and at the same time, being able to determine if the amount of non-saturated pixels is large enough to compute acceptable offset values, and complain otherwise.<br /><br />In the meantime, when you do your selection, please make sure that either the sample (the selected area) has no saturated pixels, or that at least there's a substantial larger amount of non-saturated pixels in it.&nbsp; <br />  
<h2>A note about luminance</h2>WhiteCal may affect the luminance of the  image, especially in cases where the "correction" is big. This is because the current version of WhiteCal does not save  the luminance prior to applying the offset values to the RGB channels. Since the luminance in an RGB image is the result of combining the RGB values, any changes to any RGB channel - which is what WhiteCal does - will affect the luminance.<br />  
<p>In order to preserve the exact  luminance as the original image, it is recommended to follow this  process:</p>                
<p>  </p>              
<ul>  
<li>Duplicate  the layer where you'd like to apply WhiteCal.</li>  
<li>Make  the blending mode of that new copy to "Color".</li>  
<li>Apply WhiteCal over that new layer.</li>  
<li>Merge that new layer  back with the original</li></ul>                
<p>The above process will  adjust for color balance without affecting the luminance  at all. Again, for small corrections, you could use WhiteCal directly over your working layer, although in general I do recommend following the  method I just described.</p>  
<h2>Bit depth</h2>WhiteCal should work on images of either 8, 16   or 32 bit depth. If you find that WhiteCal didn't work with your image,   again, <a href="/about.html">let me know</a>. Regardless of  the bit depth of the image, all calculations done by WhiteCal are done  internally in 32 bit floating point mode.<br />    
<p> </p>  
<h2>Color Mode</h2>WhiteCal only works well when the image is in   RGB mode.&nbsp; You can still use WhiteCal when you're in Lab or CMYK   modes for example - WhiteCal won't complain - but the results will not be   what you were expecting. Although this is something WhiteCal should take   care of internally - say converting the image to RGB mode internally, and when it's done convert it back to whichever mode it was before - at this point WhiteCal does not   check the current color mode being used, and it simply assumes the  image  is in RGB mode, so you must make sure your image is in RGB mode  prior  to using WhiteCal.<br /><br />Also, make sure you didn't go to the Channels palette and select just one channel, or WhiteCal will complain with a "<span style="font-style: italic;">problem with the filter module interface</span>". WhiteCal needs all three channels active in order to work.&nbsp;     
<p> </p>  
<h2>WhiteCal and masks</h2>Because WhiteCal uses a selected area to determine the RGB offsets - and then it applies these offsets to the entire image - you cannot apply WhiteCal to just one area of the image: the selection is being used to define our sample!<br /><br />Now, if you really need to apply WhiteCal to  just one area of the image, you can still  do it by creating a  duplicate layer, applying WhiteCal to that layer, and then using a mask over that layer to hide/reveal whichever areas you need.     
<p />
 ]]>
</description>
 <dc:date>2010-05-26T00:31:00-08:00</dc:date>
 <dc:creator>RBA</dc:creator>
</item>

<item>
 <title>Photoshop Plug-in: RGBC</title>
<link>http://blog.deepskycolors.com/archive/2010/05/25/photoshop-Plug-in-Rgbc.html</link>
 <guid isPermaLink="true">http://blog.deepskycolors.com/archive/2010/05/25/photoshop-Plug-in-Rgbc.html</guid>
 <description>
 <![CDATA[
<h2>About RGBC</h2><b>RGBC</b> is a simple Photoshop plug-in that allows you to easily and very precisely modify the weights of the red, green and blue channels in an RGB image.    
<p /><center>    
<p /></center>    
<p> </p>  
<h2>Requirements</h2>To use RGBC you need a computer running  Windows (tested on XP, Vista and Windows 7) and Photoshop (tested on  CS2, CS3 and CS4). RGBC will likely work under previous versions of  Windows and Photoshop but I haven't tested it. If you successfully run RGBC in any of the not-tested versions of Windows and/or Photoshop,  <a href="/about.html">let me know</a>.&nbsp;     
<p>Why not Mac? ... Short answer: because I don't have one,  therefore I cannot compile and test the plug-in for the Mac.</p>    
<p> </p>  
<h2>Download it</h2>Downloading RGBC is easy, simply click  one the links below:     
<p>For any version of Photoshop (except CS4 64 bits): <a href="http://deepskycolors.com/astro/ps/RGBC.zip">DOWNLOAD RGBC</a></p>    
<p>For Photoshop 64 bits ONLY: <a href="http://deepskycolors.com/astro/ps/RGBC64.zip">DOWNLOAD RGBC  64bits</a></p>    
<p>By the way, RGBC is free (as in "free beer") and I want it to  stay that way, so permission is NOT given to include this plug-in in any  commercial package. If you downloaded RGBC, whether standalone or as a  part of a package, and paid for it, please <a href="/about.html">let me know</a>. Having said that, if you find it  useful and would like to make a small donation, please use the "Donate"  button below. This will entitle you to receive notifications  of new upgrades to this plug-in. The Donate button will take you toPayPal -  don't worry when you see the donation goes to AR Networks. Yes, that's  me.</p>    
<p /><form method="post" action="https://www.paypal.com/cgi-bin/webscr"><input type="hidden" value="_s-xclick" name="cmd" /><input type="hidden" value="7NVXBVU3Q6SNC" name="hosted_button_id" /><input type="image" border="0" alt="PayPal - The safer, easier way to pay  online!" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" /><img width="1" height="1" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" alt="" /></form>    
<p> </p>  
<p> </p>  
<h2>Installing RGBC</h2>Once downloaded, you'll need to  <i>unzip</i> the RGBC.zip. This will extract the RGBC.8bf  file.     
<p>Once extracted, copy the RGBC.8bf file to the Plug-Ins  directory in your Photoshop installation.This usually is something like  <b>C:\Program Files\Adobe\Adobe Photoshop CS2\Plug-Ins</b>  but it may be different depending on the operating system and the  Photoshop version you're running.</p>    
<p>After you've copied the file to the Plug-Ins directory, start  (or restart) Photoshop. </p>    
<p> </p>  
<h2>Using RGBC</h2>When you're ready to use RGBC (you'll  need at least one image loaded in Photoshop), g the  <b>Filters</b> menu, find the  <b>DeepSkyColors</b> menu option, select it, then click on  the <b>RGBC</b> sub-menu option. If you don't see it there,  chances are you did something wrong when you copied the RGBC.8bf file,  so double-check you indeed copied it to the right directory. Again,  don't forget to restart Photoshop anytime you copy a plug-in filter to  the Plug-Ins directory so Photoshop knows it's there.     
<p><img src="http://deepskycolors.com/astro/ps/RGBCv01.gif" alt="" /></p>    
<p>From there, just enter the values you want in the R, G and B boxes, and click OK.</p>    
<p> </p>  
<h2>Does RGBC rescale my input?</h2>Yes. Scaling in this context means that, just like if you enter the values 1:1:1, RGBC will do nothing to the image, likewise it won't do anything if you entered the values say 2:2:2. It also means that if for example you entered the values 1:2:1, RGBC will leave intact the green channel (the channel to which we assigned the value 2) and reduce in half the values for the red and blue channels, rather than leaving untouched the red and blue channels and multiply by 2 the green channel. This is done for two reasons: first, so that RGBC works regardless of the scale used to calculate the offsets, and second prevent oversaturation, due to the linear nature of RGBC.<br /> 
<h2>A note about luminance</h2>RGBC may affect the luminance of the   image, especially in cases where the "correction" is big. This is  because the current version of RGBC does not save  the luminance  prior to applying the offset values to the RGB channels. Since the  luminance in an RGB image is the result of combining the RGB values, any  changes to any RGB channel - which is what RGBC does - will affect  the luminance.<br />   
<p>In order to preserve the exact  luminance as the  original image, it is recommended to follow this  process:</p>                  
<p>  </p>               
<ul> 
<li>Duplicate  the layer where you'd  like to apply RGBC.</li> 
<li>Make  the blending mode of that new  copy to "Color".</li> 
<li>Apply RGBC over that new layer.</li> 
<li>Merge  that new layer  back with the original</li></ul>                 
<p>The  above process will  adjust for color balance without affecting the  luminance  at all. Again, for small corrections, you could use RGBC directly over your working layer, although in general I do recommend  following the  method I just described.</p><br />      
<h2>Bit depth</h2>RGBC should work on images of either 8, 16  or 32 bit depth. If you find that RGBC didn't work with your image,  again, <a href="/about.html">let me know</a>. Regardless of the bit depth of the image, all calculations done by RGBC are done internally in 32 bit floating point mode.<br />    
<p> </p>  
<h2>Color Mode</h2>RGBC only works well when the image is in  RGB mode.&nbsp; You can still use RGBC when you're in Lab or CMYK  modes for example - RGBC won't complain - but the results will not be  what you were expecting. Although this is something RGBC should take  care of internally - say converting the image to RGB mode internally,  then back to whichever mode it was before - at this point RGBC does not  check the current color mode being used, and it simply assumes the image  is in RGB mode, so you must make sure your image is in RGB mode prior  to using RGBC.&nbsp;     
<p> </p>  
<h2>RGBC and masks</h2>If you preselect an area in your  image - either with the lasso tool, select range, etc. - and then run RGBC, you may be in for a disappointment when you notice that RGBC  completely ignored your mask and applied the effect to the entire image.  Although I guess a case could be made where one would like to modify the RGB coefficients of just one area of an image, at this point the purpose of RGBC is to modify the offsets of the RGB channels for the entire image.<br /><br />If you really need to apply RGBC to just one area of the image, you can still  do it by creating a duplicate layer, applying RGBC, and applying a mask to that layer.     
<p />
 ]]>
</description>
 <dc:date>2010-05-25T23:36:00-08:00</dc:date>
 <dc:creator>RBA</dc:creator>
</item>

<item>
 <title>2010 Dark Sky Times Calendar</title>
<link>http://blog.deepskycolors.com/archive/2010/05/19/2010-Dark-Sky-Times-Calendar.html</link>
 <guid isPermaLink="true">http://blog.deepskycolors.com/archive/2010/05/19/2010-Dark-Sky-Times-Calendar.html</guid>
 <description>
 <![CDATA[
Our good friend Eric Zbinden has put together a table listing all "dark periods" (no moon, between astro twilight) for 2010. The times given in the table are for the night following noon of the shown date and are corrected for daylight saving time in the summer months. Hope you will find it useful<br /><br />A few tips in how to read the table:<br />
<ul>
<li>This Table Summarizes the period of darkness between astronomical twilights with the moon below the horizon.</li>
<li>Time notation follows military time without trailing zeroes (4=4minutes past midnight, 130=1:30AM, 1458=2:58PM, etc)</li>
<li>All time shown for a given date are happening during the night immediately following noon time on that date (i.e. if you were to go observing/imaging after work on May 4, the moonless period of the night would start at 9:43PM on May 4 and end at 1:43AM on may 5.</li>
<li>Blank cells mean the moon is above the horizon between the astronomical twilights.</li>
<li>Original moon rise/set and astronomical twilight times from the <a target="_blank" href="http://aa.usno.navy.mil/data/docs/RS_OneYear.php">USNO website</a>.<br />Underscored cells denote daylight saving time start and finish&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br /></li></ul><br /><img alt="" src="http://deepskycolors.com/astro/misc/2010_ObservingTime.gif" style="padding: 6px; float: left;" />
 ]]>
</description>
 <dc:date>2010-05-19T14:36:00-08:00</dc:date>
 <dc:creator>RBA</dc:creator>
</item>

<item>
 <title>Rho Ophiuchus Widefield</title>
<link>http://blog.deepskycolors.com/archive/2010/05/15/rho-Ophiuchus-Widefield.html</link>
 <guid isPermaLink="true">http://blog.deepskycolors.com/archive/2010/05/15/rho-Ophiuchus-Widefield.html</guid>
 <description>
 <![CDATA[
<p><a href="http://deepskycolors.com/pics/astro/2010/05/mb_2010-05-15_AroundRho.jpg"><img border="0" src="http://deepskycolors.com/pics/astro/2010/05/md_2010-05-15_AroundRho.jpg" alt="" /></a><br /><a href="http://deepskycolors.com/pics/astro/2010/05/mb_2010-05-15_AroundRho.jpg">Click here for a larger version</a></p>  

<p><a href="http://www.zazzle.com/rho_ophiuchus_wide_field_poster-228605372864023838">Get  a poster of this image at my Zazzle Store!</a></p>      

<p> </p>    

<div style="width: 600px;">The area of Rho Ophiuchus, Blue Horsehead and Sharpless 1 - The head (and "shoulders") of the scorpion constellation - is without a doubt "the mother of all pretty pictures", and in this 3x4 mosaic I tried to show them all of them in a family portrait.      

<p>The image is a 3x4 mosaic with the FSQ+reducer+STL11k captured over 4 nights (plus 800 more miles in my SUV!!). </p>      

<p>The interesting thing is that each frame is only 3x5 minutes of luminance, bin 2x2 (see details after this writeup). I am very very surprised to get this quality with so little data. I know binning reduces read noise but I wasn't expecting this... </p>      

<p>I would have not done 3x5' and bin 2x2 if it wasn't because when I planned this FOV I didn't calculate it right so I thought I needed a 2x3 mosaic. It was when I was at DARC and ready to start when I realized I screwed up, and after 5 minutes of "what the heck I'm going to do now" I decided to still go for the entire luminance in one night, and do 3x5' 2x2 per frame instead of 3x10' 1x1 as I had originally planned. Either way I think that the short exposure times played on my favor, keeping the stars under control in an area that has more stars than background!!</p>      

<p>Eric Zbinden was right next to me that night. He can confirm the madness I was in for the whole night: since I don't use automation software (CCDCommander, etc) I had to switch to a new frame every 15 minutes, and since I also don't do platesolves, I had to make sure each new FOV would match the right area (manually slewing with TheSky6's mosaic tool cannot be trusted 100&#37;). Good thing I didn't need to rotate the camera between frames for this composition!</p>      

<p>Even with that, the last two frames were bad, as the sky was already clearing that night, so on Tuesday 18th, I headed out again, and after taking those two frames, since I had time that night to keep going, I started with the color, and after seeing the results with the lum, I went for marginal data as well.</p>      

<p>But I knew Tuesday wouldn't be enough, and it wasn't, so I went out again on Wednesday (there's some bright stuff called Moon which is setting rather late these days but still giving 3+ hours of darkness). But late on Wed I was getting tired, and rather than risking falling asleep at the wheel on the way back home, I packed and went home short two RGB frames.</p>      

<p>So I went out on Thursday, again. I headed to <a target="_blank" href="http://blog.deepskycolors.com/locations_Montebello.html">Montebello</a> (tired of driving so much) but when I got there it was all foggy, so I drove all the way near to <a target="_blank" href="http://blog.deepskycolors.com/locations_Dino.html">Dino Point</a>, which was SO WINDY I had to retreat and I setup not far from the Hwy 152 entrance to Henry Coe but away enough from the road so the cars lights wouldn't be a bother, and there I captured the last two color frames, and went home.</p>      

<p>Full disclosure: the areas around Antares and the blue horsehead use color from the two images of those areas I took last year. Likewise, the blue horsehead has luminance from that image as well. It looks better despite I actually lost some resolution. Also, at some point in the processing I "killed" the color in small all stars, so they're all white except the big ones (and the color in the big ones is blown out), so I may go back to this image and be careful with that!</p>      

<p>Frame adaptation was very challenging, and the reason I decided to use Photoshop instead of PixInsight for that, as it gave me more freedom to do it, by using layers and manually defined masks, as even after applying background models to each frame to correct gradients, although signal strength was similar, no two frames shared an even background illumination across the overlapping areas, so I would stretch each frame looking for a visual match, and re-stretch using painted masks to correct seam differences. Although I usually try to stay away from painted masks (it's not a religious thing, I simply have more fun using luminance-based masks) in mosaics like this one with somewhat marginal data, I just can't get away with using more strict frame adaptation techniques.</p>      

<p>So that's the story. 800 miles and a very unhealthy "schedule" for a pretty picture. I'm seriously considering switching to another hobby, like reading on bed or something :-)</p></div>&nbsp;      

<p> </p>    

<div id="dtLink">[<a href="#" onclick="switchDiv('dataTable');switchDiv('dtLink');return false;">Show image details</a>]</div>      

<div id="dataTable" style="display: none;">[<a href="#" onclick="switchDiv('dataTable');switchDiv('dtLink');return false;">Hide image details</a>]      

<table class="picData">      

<tbody>      

<tr>      

<td>      

<div class="postSub">DATE</div>May 15~21th, 2010 (4 nights)<br />      

<p> </p>    

<div class="postSub">PHOTO</div>3x4 Mosaic.<br />Exposure: L: 3 x 5', RGB: 3x3' each, for each frame<br />Total: 42 minutes per frame, 8.4 hours total<br />Focal: 385mm, f/3.6</td>      

<td>      

<div class="postSub">EQUIPMENT</div>Imaging Scope:  FSQ 106 EDX w/Reducer<br />Camera:  STL11k<br />Guide Camera:  StarShoot Autoguider<br />Mount:  EM-400<br /></td>      

<td>      

<div class="postSub">SITE &amp; CONDITIONS</div>DARC Observatory<br />Seeing: Average<br />Transparency: Good<br />      

<p> </p>    

<div class="postSub">SOFTWARE</div>Stacking: DeepSkyStaker<br />Processing: PixInsight &amp; Photoshop<br /></td></tr></tbody></table></div>
 ]]>
</description>
 <dc:date>2010-05-15T00:00:00-08:00</dc:date>
 <dc:creator>RBA</dc:creator>
</item>

<item>
 <title>The Angel Nebula (IFN)</title>
<link>http://blog.deepskycolors.com/archive/2010/05/12/the-Angel-Nebula-Ifn.html</link>
 <guid isPermaLink="true">http://blog.deepskycolors.com/archive/2010/05/12/the-Angel-Nebula-Ifn.html</guid>
 <description>
 <![CDATA[
<p><a href="http://deepskycolors.com/pics/astro/2010/05/2010-05-12_AngelNebula_pb.jpg">
<img border="0" src="http://deepskycolors.com/astro/2010/05/mp_2010-05-12_AngelNebula_pb.jpg" /></a><br /><a href="http://deepskycolors.com/pics/astro/2010/05/2010-05-12_AngelNebula_pb.jpg">Click here for original resolution (3727x2384)</a></p> 

<p> 
</p>
<div style="width: 600px;">This image covers an area mainly populated by IFN that Steve Mandel named "The Angel Nebula".  

<p>The framing is not exactly the one I was looking for - I wanted to have more data on the top area, but I had to crop the FOV as I didn't perfectly frame the red subs (each set was done on different nights, and the lum collected over two nights) since I'm still not doing platesolves and just eyeball the framing. The LGB data does show more data from the top (maybe I should re-take the reds!).</p> 

<p>
The image is not silk-smooth because keep in mind this is very faint nebulosity and although it may look easy to make it pop, it's still a bit of a challenge. I could reduce the noise a bit more, and some people may feel saturation is a bit too high, but this is how I like it.
What I think it's becoming more clear to me is that, despite my color data is not to a point I would consider optimal, and my color balancing is not scientific (I don't use a g2v star or similar techniques), the color of the IFN tends to go more to the brown than to the blue.</p> 

<p>So far, the only other image I know from this area is in fact the image from Steve Mandel:</p> 

<p><img src="http://apod.nasa.gov/apod/image/0509/AngelNebula_mandel_f52a.jpg" alt="" /></p> 

<p>In the image below you can see where this FOV goes, taking as a base the mosaic I did last month (the angel in this case is upside down):</p> 

<p><img src="http://deepskycolors.com/astro/2010/05/md_2010-04-08_IFN_AngelBox.jpg" alt="" /></p> 

<p>Processing involved mainly DBE, 3-4 unmasked histogram adjustments, one ACDNR pass, one MorphTransform, and of course,
color balance, LRGB combine and gradual saturation. The processing did not involve any masked histogram adjustments,
curves (except for saturation), DDP, HDR or similar techniques - to better honor relative differences in brightness
than DDP, HDR or similar techniques would, for example.</p></div> 

<p><a href="/store.html">Get a poster, t-shirt, mug, mousepad... with this image!</a></p> 

<p> 
</p>
<div id="dtLink">[<a onclick="switchDiv('dataTable');switchDiv('dtLink');return false;" href="#">Show image details</a>]</div> 

<div style="display: none;" id="dataTable">[<a onclick="switchDiv('dataTable');switchDiv('dtLink');return false;" href="#">Hide image details</a>]  

<table class="picData"> 

<tbody> 

<tr> 

<td> 

<div class="postSub">DATE</div>May 12th, 2010<br /> 

<p> 
</p>
<div class="postSub">PHOTO</div>Exposure: L: 20 x 15', RGB: 5x15' each, <br />Total: 8.8 hours<br />Focal: 385mm, f/3.6</td> 

<td> 

<div class="postSub">EQUIPMENT</div>Imaging Scope:&nbsp; FSQ 106 EDX w/Reducer<br />Camera:&nbsp; STL11k<br />Guide Camera:&nbsp; StarShoot Autoguider<br />Mount:&nbsp; EM-400<br /></td> 

<td> 

<div class="postSub">SITE &amp; CONDITIONS</div>DeepSkyRanch, Dinosaur Point, Lake San Antonio, Little Panoche Reservoir, California (4 nights)<br />Seeing: From poor to very good, depending on the night<br />Transparency: From average to excellent, depending on the night<br />Miles Driven: 850 +/-  

<p> 
</p>
<div class="postSub">SOFTWARE</div>Stacking: DeepSkyStacker<br />Processing: PixInsight 1.6<br /></td></tr></tbody></table></div>

 ]]>
</description>
 <dc:date>2010-05-12T00:00:00-08:00</dc:date>
 <dc:creator>RBA</dc:creator>
</item>

<item>
 <title>Bay Area Local Clear Sky Charts</title>
<link>http://blog.deepskycolors.com/archive/2010/05/08/bay-Area-Local-Clear-Sky-Charts.html</link>
 <guid isPermaLink="true">http://blog.deepskycolors.com/archive/2010/05/08/bay-Area-Local-Clear-Sky-Charts.html</guid>
 <description>
 <![CDATA[
<style>.csc_box { padding-left:40px }.csc_box img { border-bottom: 1px solid #668; padding:15px}</style> Here's a quick view of most of the ClearSkyClocks around the SF Bay Area (plus a couple not so much "around")... If you would like me to add some more, let me know. 

<div class="csc_box"><img src="http://cleardarksky.com/csk/getcsk.php?id=HenryCoe_CA" alt="" /> 

<p><img src="http://cleardarksky.com/csk/getcsk.php?id=DARCObCA" alt="" /></p>
 

<p><img src="http://cleardarksky.com/csk/getcsk.php?id=PnchPss" alt="" /></p> 

<p><img src="http://cleardarksky.com/csk/getcsk.php?id=Lake_San_Antonio" alt="" /></p> 

<p><img src="http://cleardarksky.com/csk/getcsk.php?id=Montebello_CA" alt="" /></p> 

<p><img src="http://cleardarksky.com/csk/getcsk.php?id=Fremont_CA" alt="" /></p> 

<p><img src="http://cleardarksky.com/csk/getcsk.php?id=Dino_CA" alt="" /></p> 

<p><img src="http://cleardarksky.com/csk/getcsk.php?id=BoonyDoonCA" alt="" /></p> 

<p><img src="http://cleardarksky.com/csk/getcsk.php?id=CytLkCPCA" alt="" /></p> 

<p><img src="http://cleardarksky.com/csk/getcsk.php?id=SonomaCA" alt="" /></p> 

<p><img src="http://cleardarksky.com/csk/getcsk.php?id=PlttsnCA" alt="" /></p> 

<p><img src="http://cleardarksky.com/csk/getcsk.php?id=GSSPCA" alt="" /></p> 

<p><img src="http://cleardarksky.com/csk/getcsk.php?id=SanJoseCA" alt="" /></p> 

<p /></div>
 ]]>
</description>
 <dc:date>2010-05-08T10:09:00-08:00</dc:date>
 <dc:creator>RBA</dc:creator>
</item>

<item>
 <title>Multi-scale Processing - Revealing very faint stuff</title>
<link>http://blog.deepskycolors.com/archive/2010/05/07/multi-scale-Processing--Revealing-very.html</link>
 <guid isPermaLink="true">http://blog.deepskycolors.com/archive/2010/05/07/multi-scale-Processing--Revealing-very.html</guid>
 <description>
 <![CDATA[
<h2>Intro</h2>The purpose of this tutorial is to show how, using multi-scale techniques,we can bring in our image very very faint details that usually would go unseen,even in cases where we have successfully extracted very faint stuff already, of course without degrading anything else in our image.      
<p>The tutorial uses an already processed version of my <a href="http://blog.deepskycolors.com/archive/2010/04/08/integrated-Flux-Nebula-Ifn-really-wide.html">IFN Wide Field 2x5 mosaic</a>. </p>      
<p>If you would like to see the screen-shots at a bigger resolution, simply click on the corresponding "tiny" screen-shot. A few screens-hots are actually shown in the page at the maximum resolution in which they were captured, though.</p>      
<h2>The Data</h2>      
<p>The captured data was of good quality, but not a lot of it. The master files were generated from 6 subexposures of 15 minutes each,and 3x3 minutes for each RGB channel, with a SBIG STL11k camera and a Takahashi FSQ106EDX telescope with the 0.7x reducer. The data was captured at Lake San Antonio, California over four nights - LSA is a dark site that sits right at a "gray" border in the Bortle scale, surrounded by blue and some green/yellow areas. For a light pollution map of Lake San Antonio, <a href="http://deepskycolors.com/pics/astro/myLPMap_en.jpg">click here</a> and look for its location on the bottom-right corner of the image.</p>      
<h2>The Goal</h2>      
<p>The goal in this session is trying to reveal very very faint data in regions of our image we suspect might contain such extremely faint data, as long as we decide that revealing such data makes sense from both an artistic and a documentary perspective.</p>      
<h2>1 - Preliminary work</h2>The work detailed in this tutorial was performed over an image almost completely processed:      
<p><img src="http://deepskycolors.com/pics/astro/tut/ifn2/smFirstImage.jpg" alt="" /></p>By observing the above image, we noticed that the area above the two arches (top-right) doesn't present any significant IFN structures. We wonder if there's any... For that we could simply stretch very aggressively the image, but because the image has gone through significant processing,we would get a more solid idea of whether there are IFN structures in that area by executing the aggressive stretch over an image in its early stages of processing, preferably in linear form. So we do just that and this is what we get:      
<p><img src="http://deepskycolors.com/pics/astro/tut/ifn2/ArchCrop.jpg" alt="" /></p>      
<p>Please ignore the still-uncorrected seams and other "defects", as this is done from an image almost in its very original form.</p>      
<p>We can immediately see that in particular, there's a visible structure coming out off near where the two arches join - displaying a "3" shaped cloud. We therefore do have very faint structures in our image that are not appearing in our processed image.</p>      
<p>Now, there is a risk in trying to process an image for very faint stuff after the image has been through a complete or almost complete processing cycle. The data in our processed image may not be nearly as reliable. As far as work-flow goes, this is NOT the best moment to do this. We should have noticed much earlier in the process and attack this area back then, not now. So this is an after-thought and it involves risks we would need to keep in mind. As long as we are aware of it and we perform the needed verifications in the end, my opinion is that we can proceed.</p>      
<h2>2 - Breaking the image into large and small scale structures</h2>      
<p>First, let's remember what we're looking at:</p>      
<p><img src="http://deepskycolors.com/pics/astro/tut/ifn2/smFirstImage.jpg" alt="" /></p>That's a pretty nice image. We have noticed however, that the area above the two arches in the top-right area is rather dark, and we have verified that there are IFN structures there. Our goal then is to see if we can extract that information without perturbing the already processed data, and if we can do so in a reliable manner.&nbsp; The data is still in 32 float bit depth,which, despite our monitors can't display such large dynamic range, it should help us in our little quest.      
<p>We are going to follow a multi-scale approach, so our first step is to break the image into two (maybe three if we feel it's necessary) different scale structures: large scale structures, and small scale structures.</p>      
<p>For that we use the ATrousWaveletTransform tool (ATWT) in PixInsight. We start by generating the image with the large-scale structures. This is accomplished by only selecting the residual layer ("R") in the ATWT tool, over a 4-6 layers dyadic sequence.</p>      
<p><img src="http://deepskycolors.com/pics/astro/tut/ifn2/smATWT_LS.jpg" alt="" /></p>The above image may just look like a blurred version of the original. Well, in fact it is a "blurred" version of the original! The difference is that unlike a simple Gaussian blur,this image has been generated by decomposing it into a series of scale layers, each of which contains only structures within a given range of characteristic dimensional scales, and we have selected to retain in this image only the very large structures. A Gaussian blur attenuates high-frequency signal, so it is a low-pass filter. A wavelets operation using a Gaussian function is a series of low-pass filters, and the way we're using it, it will generate similar results but conceptually we can better decompose the image into different scales.      
<p>Let's build now the small-scale structures image. This is easily accomplished with PixInsight's PixelMath. All we do is subtract the image with large-scale structures from the original image, so what we have left from this operation is an image defining only the structures that were removed from the large-scale image, in other words, the small-scale structures. See below a screen-shot after this PixelMath operation has been performed, and notice how the image at the bottom only contains the small details from the original image. If this image looks similar to what you usually get when you apply a high-pass filter, you're of course right.</p>      
<p><img src="http://deepskycolors.com/pics/astro/tut/ifn2/smPM_SS.jpg" alt="" /></p>      
<p>Now.. The image defining large-scale structures looks ok, but it is still defining some structures that we probably don't want to see there. For instance, there's clearly some glow from the brighter stars, and we want to minimize that. We want to see if we can reveal the faint dust, not star glow.</p>      
<p>So we'll repeat the ATWT process once again, this time taking as the source our image with large scale structures, and create a new image with even larger scale structures. </p>      
<p>See below the screen-shot displaying our three images:</p>      
<p><a href="http://deepskycolors.com/astro/tut/ifn2/ATWT_VLS.jpg"><img src="http://deepskycolors.com/pics/astro/tut/ifn2/smATWT_VLS.jpg" alt="" /></a></p>      
<p>From now on I'll refer to each image as follows: SS for the image defining the Small Scale structures (bottom-left in the screen-shot above), LS for the image defining Large Scale structures,and MS to the image defining even larger scale structures (Mega-large structures? :-)</p>      
<h2>3 - Processing large scale structures</h2>      
<p>Now that we've broken our image into three images, each of them defining different scale structures,we start doing some processing in them. We start by stretching the histogram to the ML image. Not too much, but enough to see if there is "stuff" in our targeted area.</p>      
<p>And yes, the area that once was mainly dark, now reveals some structures - still faint, but now visible.</p>      
<p><a href="http://deepskycolors.com/astro/tut/ifn2/MS_Stretch.jpg"><img src="http://deepskycolors.com/pics/astro/tut/ifn2/smMS_Stretch.jpg" alt="" /></a></p>      
<p>This is actually the epicenter of this processing session - whatever we do here is what will contribute to the enhancements we want to add to our image. We can stop right here after this stretch,or we could try many other things... We could increase the color saturation so the structures we're"revealing" also come with an increment in color visibility... We could apply some wavelets to enhance the structures we're bringing from the "darkness", we could use curves and/or PixelMath to intensify the contrast in these structures, we could even experiment with HDRWT... </p>      
<p>And these improvements aren't limited to the MS image only. We could also add some sharpening to the SS image for example, or also experiment with any of the processes mentioned in the last paragraph. Likewise for the LS image.</p>      
<p>This is not to say we should go crazy. We must keep our eyes on our goals and on what the data is"telling" us. My point is only that we have a plethora of tools we can use that may (or may not) help us achieve that goal, and that's part of the fun I find in image processing - that we can experiment with these tools to see which ones help us reach the goals we aim to achieve.</p>      
<p>In this example I decided to just stay with this somewhat subtle histogram stretch, since that's all I want at this point.</p>      
<p> </p>     
<p>Of course, after our stretch to the ML image, everything else is also stretched, and we don't want to bring all this back to our image (we could but it's not what we have decided we wanted to do during this session), so the next step is to create a luminance-based mask that will protect everything but the darkest areas in our image.</p>      
<h2>4 - Creating the luminance-based mask</h2>      
<p>To create our mask we start by extracting the luminance from the original image.</p>      
<p><a href="http://deepskycolors.com/astro/tut/ifn2/Luminance.jpg"><img src="http://deepskycolors.com/pics/astro/tut/ifn2/smLuminance.jpg" alt="" /></a></p>      
<p>With that done, we do a slightly aggressive histogram stretch, then use the ATWT tool to reduce the image to large structures. We don't want the mask to be based on very very large structures, so in this case, excluding only the first five layers using a dyadic sequence works well. The reason we don't want to go further to say, 6, 7 or 8 layers is because, as we will see in a minute, it's not a bad idea to include in the mask some bright "spotting" caused by large stars. If we extracted only the very large scale structures, such "spots" would be gone, since they would fall under a"smaller scale" category. Also, our mask may not be protecting well our data.</p>      
<p>Here's our mask after the histogram stretch and isolating large (but not very large) scale structures:</p>      
<p><img src="http://deepskycolors.com/pics/astro/tut/ifn2/smATWT_Mask.jpg" alt="" /></p>Now we need to adjust our mask to protect everything but the darkest areas.Luckily, this is easy to define with the binarization tool. Well, actually it's really not about luck. Since we're targeting only the areas with the darkest background, a threshold point can be found that isolates these areas from the rest.      
<p>In this case, such "darkest area" is clearly the one above the two IFN arches,but if we had other areas similarly dark in the image, it's ok. If that happens, we can decide whether to manually mask those other areas or leave them.If we leave them, all that would happen then is that we would be "bringing up to par"the fainter signal in those areas as well, which may be a very good thing depending on the case. If we choose to mask them out manually, that's also ok as long as we have a good reason, both from an artistic and a documentary point of view (more on that in a second).</p>      
<p>After visually adjusting the threshold with the Binarization tool on our to-be mask, this is what we get:</p>      
<p><img src="http://deepskycolors.com/pics/astro/tut/ifn2/smBinarize.jpg" alt="" /></p>Indeed, we have been left with the darkest regions in the image. Two things call our attention:      
<ul>      
<li>We haven't found a threshold point where only the area we're targeting is excluded.      
<p>So we need to make a decision of whether we'll leave the mask as it is,meaning our stretch will affect those areas as well, or whether we choose to manually protect those areas (making them white, basically). By looking at the original image and at a heavily stretched view of our almost-unprocessed image we can see that those other "black islands" happen over areas that don't have any significant additional IFN data, so if we apply the additional stretch, it will not contribute to enhance very faint details,and instead, rather than "extracting" additional very faint data, we would remove from the image the fact that the IFN is less dense in those areas in contrast with their surroundings. This brings up a difficult question that I'll address in a second.</p></li>      
<li>There are some bright circles in our targeted area. That's ok and in fact not a bad thing as we shall see in a moment. </li></ul>So what should we do with these "dark islands"? We have three options:      
<ol>      
<li>      
<p><b>Do nothing, and abandon this session</b>. If we do this, our image will not document the fact that above the arches there are differences in IFN density.</p></li>      
<li>      
<p><b>Leave the mask as it is</b>. This will reveal the IFN above the arches, but our final image will remove or attenuate at least the also very important detail that in the "black island" areas there is an important change in IFN density.</p></li>      
<li>      
<p><b>Manually make sure the "black islands" also get mask protection</b>.This will reveal the IFN above the arches, and preserve the fact that the areas now targeted by the "black islands" have a lower IFN density.</p></li></ol>      
<p>Based on the above three options, I determined that the third option is the one that better reflects "where there is IFN and where there isn't".I conclude then that manually masking those areas is the best decision in order to meet our goals, and that the documentary value of the image is greater by choosing that option.</p>Although we have decided to manually mask all dark areas other than the area above the arches, before doing that, though, in order to smooth transitions when we use our mask, we'll apply an ACDNR (noise reduction) without any type of protection adjustments or luminance mask. The reason we do this fist is to see how an ACDNR could contribute to making these "stray" dark areas perhaps more appropriate for the case at hand without having to manually adjust the mask. After applying the ACDNR, this is what we get.      
<p><img src="http://deepskycolors.com/pics/astro/tut/ifn2/smACDNR.jpg" alt="" /></p>      
<p>Before going any further, we notice three things:</p>      
<ul>      
<li>First, we see that the ACDNR didn't do much as far as fainting the "secondary black islands".We therefore will be using the clone stamp (there's no Paintbrush in PixInsight) to manually make these areas white.      
<p>Using the clone stamp (or a paintbrush) to "mess up with masks" is quite acceptable to some people but almost sacrilegious for others. For this second group,the message is: We are about to apply a histogram stretch with a mask. This means we have already made the decision that we want to brighten some areas in our image while not doing so in others (not only that, we're stretching only very large scale structures, so we're even more selective).And although some may think that the moment we use the clone stamp (or the paintbrush) to alter a mask we are introducing a very arbitrary processing to our image, I have tried to explain the thinking process that led to this decision. It is a 100&#37; reproducible and non-arbitrary process that rather than ignoring what the data tells us, it contributes to a better representation of the real differences in IFN density.</p>      
<p>We will then proceed to "whiten" these black "spots" with the clone stamp tool.</p></li>      
<li>      
<p>Second, the tiniest stars that were still"seen" in the large dark area of our mask are pretty much gone after applying the noise reduction. That is good.</p></li>      
<li>And last, we notice that there's still a blur for the areas where the brighter stars were (mainly 2-3 in this case). That is not only ok,is actually good. This is because one could expect that when we stretched our"MS" image, there might still be some residual flux from these stars in that image. By having a mask that gradually "protects" this area, we avoid to"reveal faint stuff" that is in fact, nothing but "glow" from a bright star.</li></ul>&nbsp;      
<p>With all this done, it is time to apply this mask to our original image.Areas in red are the areas that are being protected. Notice the "black islands"are gone but not so the bright spots over the few bright stars that are not protected.</p>      
<p><a href="http://deepskycolors.com/astro/tut/ifn2/MaskedImage.jpg"><img src="http://deepskycolors.com/pics/astro/tut/ifn2/smMaskedImage.jpg" alt="" /></a></p>All is left for us to do is to add back all of our previously broken down images:      
<ul>      
<li>Our image with the small scale structures.</li>      
<li>Our image with the large but not so large scale structures.</li>      
<li>Our image with the very large scale structures.</li></ul>We of course use PixelMath for that. The operation is a simple addition:SS+LS+MS. We must make sure the "Rescale result" option is active, so the result of this operation will produce an image within the allowed dynamic range.And because we're using a mask, any processing we've done in the separate images will only affect the areas unprotected by the mask.      
<p>As an alternative, we could use different formulas that I'll mention in a minute.</p>And this is a closeup of our final image over the area we've targeted:      
<p><a href="http://deepskycolors.com/astro/tut/ifn2/Final1.jpg"><img src="http://deepskycolors.com/pics/astro/tut/ifn2/smFinal1.jpg" alt="" /></a></p>The difference from our original image is not dramatic. Yes, this is  faint stuff and we want it to stay that way. We could have pushed the contrast in these areas of very faint dust to get a better view of the structures. The reason we didn't is because we didn't t want to make these structures as visible as the rest - that would indicate that the density of IFN in these areas is similar to that in other areas. This may be in fact a perfectly valid goal in some cases, enriching the documentary value of the image, but since for the entire image we've tried to keep a good "IFN density balance", we've decided not to break such balance this time.<!--The difference from our original image is not dramatic (yes, this is faint stuff and we want it to staythat way), but it may be more obvious in this before-after animation:   <p><a href="http://deepskycolors.com/astro/tut/ifn2/Animation.gif"><img src="http://deepskycolors.com/pics/astro/tut/ifn2/Animation.gif" alt="" /></a>-->   
<p>Now, instead of the SS+LS+MS formula, we could have used other formulas that would tend to maximize or minimize the effect, using our own criteria. For example, instead we could have used:    </p> 
<ul>      
<li>      
<p>Original+SS+LS+ML. This will minimize the processing done on this faint stuff by including the original image - remember, we're rescaling the result of this addition, so including the original image in the equation will produce a result more similar to the original image.</p></li>      
<li>      
<p>SS+LS+(MS*x) where x is a number that, if less than one, will also minimize the stretch done on that image, and if larger than one, it will emphasize it even more.</p></li>      
<li>      
<p>Same as above but using different ratios for each - or some - of the sub-images.</p></li></ul>      
<p>And other variations. Again, although a simple addition will probably give us a result in accordance to what we want, experimentation can be fun...</p>      
<p>You may be wondering... If we only modified the MS image, why did we need to extract the intermediate LS image? Couldn't we just extract the SS and MS images so that they both add up nicely when they're put back together?</p>      
<p>The answer is yes, we could have done that. The purpose of creating an intermediary large scale image is actually twofold: </p>      
<ul>      
<li>      
<p>First, it gives us a chance to experiment modifications in either or both of the LS and MS images. In this tutorial we finally didn't modify the LS image, but that's because we've skipped some of the"experimental" procedures that I did when processing the image. It was after experimentation using different methods that I decided to make modifications only on the MS image and not the LS image.</p></li>      
<li>      
<p>Second, even if we ended up not modifying the LS image, when we add everything back together, due to the fact we've considerably altered the luminosity of the MS image, if we were to add only the MS and SS images (assuming our LS image was the result of subtracting the original image from MS, which is not), the result would likely NOT be well balanced. By including an intermediate image, we help rebalancing the luminosity of the image. This is a similar effect to adding our scaled images along with the original.</p></li></ul>      
<p> </p>     
<h2>5 - Data or artifacts?</h2>      
<p>There's a few things we can do to see whether this "dust" we now see is real or not. As a first step we're going to compare the image we started with against tour final image. To do that, we invert each of them, and then do an aggressive histogram adjustment to each image, separately, until both of them have similar intensity strength (meaning we'd have to go a bit further stretching the original image), then compare them:</p>      
<p><img src="http://deepskycolors.com/pics/astro/tut/ifn2/Compare1.jpg" alt="" /></p>      
<p>We can see they look extremely similar, which means we haven't added anything to the final image that wasn't there before. We've simply made it a bit more visible, without inducing perceptible noise nor degrading the already bright structures in that area (in this case just stars) or anywhere else on the image.</p>      
<p>However, this compares our original already-processed image with our result. We have not verified that the structures we've enhanced compare well with our data as it was when the image was still linear. To verify that, we will do the same but comparing the original linear image with the other two: the image we used before starting this session and our final image at the end of it:</p>      
<p><img src="http://deepskycolors.com/pics/astro/tut/ifn2/Compare2.jpg" alt="" /></p>      
<p>As we can see, despite mainly qualitative details and some uncorrected seams and defects in the original linear image, the areas above the arches where the IFN intensity is higher seem to match nicely across all three images, in particular the 3-shaped cloud in the middle. Therefore the conclusion I reach is that this processing session yielded acceptable results and did not fabricate any non-existing signal.</p>      
<h2>6 - Wrap up</h2>This tutorial shows one very simple way to use multi-scale processing. Someone could think that "all this" could have been reduced to <i>create a duplicate layer, blur it, create a third layer with the difference,stretch the blurred layer it and "blend" it (add it) with the original and third layer while using a mask</i>. If we want to simplify the description of the process, you could in fact say that, but the main difference is not only that eyeballing a Gaussian blur we could much easier&nbsp; induce unwanted and ambiguous "signal", but especially that by using wavelets we've operated under a much more controlled environment.       
<p> </p>     
<p>Having said that, the thing is that "all this" isn't complicated at all (I maybe made it look complicated by writing not only about what we do, but also why we do it, what other options we have, and a thinking process), but the fact is that "all this" can be wrapped up into four very simple steps:</p>      
<ul>      
<li>Break the image into small, and large scale structures</li>      
<li>Lightly stretch the image with the large scale structures</li>      
<li>Create a mask so the process only happens on the darkest areas of the image</li>      
<li>Add everything back together</li></ul>      
<p>For someone with some experience working with PixInsight, this session could be carried out in just 10 to 15 minutes.</p>      
<p>The possibilities however go well beyond this, and depending on our goals, we could use this technique to do many very different tasks. For example, we could use wavelets over either the large or small scale images, to enhance the details at those scales. Or we could apply noise reduction over some - or all - of these images to attack noise at different scales (the ACDNR tool however is flexible enough to allow us doing that without us having to break down the image), adjust for saturation at different scales, and a very long etc.</p>
 ]]>
</description>
 <dc:date>2010-05-07T23:26:00-08:00</dc:date>
 <dc:creator>RBA</dc:creator>
</item>

<item>
 <title>M10, M12 and galactic cirrus</title>
<link>http://blog.deepskycolors.com/archive/2010/05/06/m10-M12-and-galactic-cirrus.html</link>
 <guid isPermaLink="true">http://blog.deepskycolors.com/archive/2010/05/06/m10-M12-and-galactic-cirrus.html</guid>
 <description>
 <![CDATA[
<p><a href="http://deepskycolors.com/pics/astro/2010/05/2010-05-06_M10_M12b.jpg"><img border="0" src="http://deepskycolors.com/pics/astro/2010/05/md_2010-05-06_M10_M12b.jpg" alt="" /></a><br /><a href="http://deepskycolors.com/pics/astro/2010/05/2010-05-06_M10_M12b.jpg">Click here for a larger version</a></p> 

<p> 
</p>
<div style="width: 600px;">On Thursday May 6th, at Dino Pt, when I was "done" taking shots of my current project, I went for a quickie of this pair (M10 and M12) that despite they're not that far apart, I've never seen as a pair before.  

<p>Since I was just taking something without any preparation or plans, I first did a quick processing that resulted into a nice and simple image of these two globular clusters (<a href="http://deepskycolors.com/pics/astro/2010/05/md_2010-05-06_M10_M12.jpg">800x532 version</a>, <a href="http://deepskycolors.com/pics/astro/2010/05/2010-05-06_M10_M12.jpg">3779x2512 version</a>).</p> 

<p>Then I posted this version on a web forum and a couple of friends were quick to say "<i>I stretched your image and I saw there's some of that dust we like so much</i>". Funny, because when processing the luminance I too I did notice a few "odd" structures that I knew couldn't be gradients, <br /></p> 

<p>Anyway, this area is rather close to the Milky Way, so it makes sense there's "stuff" in the FOV, so I reprocessed it. I wasn't completely happy with the results so a couple of nights later at DeepSky Ranch I decided to capture more luminance, this time 7 subs of 15 minutes each. The "dusty" result is what you can see above. The image isn't as contrasty and probably less appealing to some than the original version, but  for those into this type of thing I think it's kind of cool. The structures aren't as well defined as they should because the data is still somewhat marginal and this stuff is really faint.</p></div> 

<p><a href="/store.html">Get a poster, t-shirt, mug, mousepad... with this image!</a></p> 

<p> 
</p>
<div id="dtLink">[<a href="#" onclick="switchDiv('dataTable');switchDiv('dtLink');return false;">Show image details</a>]</div> 

<div id="dataTable" style="display: none;">[<a href="#" onclick="switchDiv('dataTable');switchDiv('dtLink');return false;">Hide image details</a>]  

<table class="picData"> 

<tbody> 

<tr> 

<td> 

<div class="postSub">DATE</div>May 6th, 2010<br /> 

<p> 
</p>
<div class="postSub">PHOTO</div>Exposure: L: 3 x 10' + 7 x 15', RGB: 3x5' each, <br />Total: 3 hours<br />Focal: 385mm, f/3.6</td> 

<td> 

<div class="postSub">EQUIPMENT</div>Imaging Scope:  FSQ 106 EDX w/Reducer<br />Camera:  STL11k<br />Guide Camera:  StarShoot Autoguider<br />Mount:  EM-400<br /></td> 

<td> 

<div class="postSub">SITE &amp; CONDITIONS</div>Dinosaur Point and DeepSky Ranch, California<br />Seeing: Terrible<br />Transparency: Good<br /> 

<p> 
</p>
<div class="postSub">SOFTWARE</div>Stacking: DeepSkyStaker<br />Processing: PixInsight &amp; Photoshop<br /></td></tr></tbody></table></div>
 ]]>
</description>
 <dc:date>2010-05-06T00:00:00-08:00</dc:date>
 <dc:creator>RBA</dc:creator>
</item>

<item>
 <title>Luminance Processing - Making the IFN pop</title>
<link>http://blog.deepskycolors.com/archive/2010/05/01/luminance-Processing--Making-the-Ifn-p.html</link>
 <guid isPermaLink="true">http://blog.deepskycolors.com/archive/2010/05/01/luminance-Processing--Making-the-Ifn-p.html</guid>
 <description>
 <![CDATA[
<style type="text/css"> &amp;amp;amp;amp;amp;amp;lt;!-- a img { border: solid 0 #000;  padding-bottom: 25px; } --&amp;amp;amp;amp;amp;amp;gt; </style>      
<h2>Intro</h2>The purpose of this tutorial is to show how,  mainly with histogram adjustments, very faint detail - in this case  integrated flux nebulosity or IFN - can be extracted from an image to a  point it would be similar to the "faintness" we would find in brighter  objects. In other words, this is not a "from raw to jpeg" tutorial.       
<p>         </p> 
<h2>The image</h2>  
<p>The complete image is&nbsp;  my <a href="http://blog.deepskycolors.com/archive/2010/04/08/integrated-Flux-Nebula-Ifn-really-wide.html">IFN   Wide Field 2x5 mosaic</a>. I originally captured  the first 8 frames on April 6, 7th and 8th, 2010, and I decided to  process them after a not very promising weather forecast ahead that would delay the capture of the last two frames. However,  one week later, on April 16th, I was able to get out one more time and  captured these two additional frames. Since I didn't want to start  processing everything all over again, I processed these two frames  individually before bringing them to the larger mosaic. <span style="font-weight: bold;">Processing a mosaic in several steps however is not recommended!!</span></p> 
<p>This tutorial describes the first part of the luminance processing for these two frames. The two master  luminance files are   available upon request.</p>      
<p>NOTE: The screen-shots are wide because they were taken on a  2-monitor system, which is how I usually work, generally placing the  image on my best monitor and the processing tools on the "bad" one :-)  This, unfortunately, forced me to reduce the resolution of the  screen-shots. However, if you would like to see the screen-shots at their  full resolution, simply click on the corresponding "tiny"  screen-shot (JPEG compression artifacts are however present and do impact the quality of the image).</p>      
<h2>The Data</h2>The captured data was of good quality, but  not a lot of it. The master files were generated from 6 subexposures of  15 minutes each, with a SBIG STL11k camera and a Takahashi FSQ106EDX  telescope with the 0.7x reducer. The data was captured at Lake San  Antonio, California - a dark site that sits right at a "gray" border in  the Bortle scale, surrounded by blue and some green/yellow areas. For a  light pollution map of Lake San Antonio, <a href="http://deepskycolors.com/pics/astro/myLPMap_en.jpg">click  here</a> and look for its location on the bottom-right corner of  the image.       
<h2>1 - Aligning and balancing the mosaic frames</h2>      
<p>First, both frames are registered and calibrated individually,  with their darks, flats (a unique set for each frame) and bias. I used  DeepSkyStacker for that, but of course, any other software (PixInsight,  MaximDL, CCDStack, etc) could be used as well. After that, we load both  master luminance files in PixInsigth and using a STF, we crop the images  to eliminate "bad" edges. After this step, I would usually adjust for  background gradients using PixInsight's DBE. </p>      
<p>After the two master luminance files are ready to be put  together, we run the StarAlignment tool, setting it to "Register/Union  Mosaic" and selecting the "Generate masks" option (we're going to need  those masks). The "Frame adaptation" option is nice in general cases to  correct for differences in background illumination and signal strength,  however, I've noticed it sometimes can wipe out very faint signal in the  background. Since our goal here is to reveal as much IFN as possible,  we do not check that option.</p>      
<p>After StarAlignment has done its job, we can see both frames  already nicely put together. As it usually happens with astroimages, the  images are very dark and we can barely see anything but stars and a  faint trace of M81.</p>      
<p><a href="http://deepskycolors.com/astro/tut/ifn1/StarAlignment.jpg"><img src="http://deepskycolors.com/astro/tut/ifn1/smStarAlignment.jpg" alt="" /></a></p>      
<p>We now run the ScreenTransferFunction (STF from now on) and  click the "A" icon to let PixInsight do a very aggressive automatic  screen stretch, so we can see what's there. Remember that STF does not  change our data, it only "stretches" it for our screen.</p>      
<p>After this aggresive screen stretch we can already see there's  "stuff" in the background. We also see that the background illumination  and the signal strenght are not uniform among both frames. </p>      
<p><a href="http://deepskycolors.com/astro/tut/ifn1/STF1.jpg"><img src="http://deepskycolors.com/astro/tut/ifn1/smSTF1.jpg" alt="" /></a> </p>We now apply the mask generated by StarAlignment, so everything we do will only affect one frame (the one we want to correct for background and signal uniformity), and using PixelMath we enter the formula <b>($T -  Med(A9))*k1 + Med(A9)*k2</b> , where $T is the image to which  we'll apply the PixelMath equation, and A9 is the second frame. The  first part of the equation <b>($T - Med(A9))*k1)</b>  corrects for differences in signal strenght, while the second part  <b>Med(A9)*k2</b> deals with differences in background  illumination. The two variables k1 and k2 are calculated by trial and  error, until we find the best seamless transition between the two  frames. In this case, the best values seemed to be 0.99 &nbsp;for k1  (corrections in signal strength) and 1.121 for k2 (background).&nbsp;  Notice the formula does not break the linearity of the data.<br />
<p><a href="http://deepskycolors.com/astro/tut/ifn1/PixelMath1.jpg"><img src="http://deepskycolors.com/astro/tut/ifn1/smPixelMath1.jpg" alt="" /></a> </p>After applying PixelMath, we can see that the  images now match much better. If we still saw some differences, they should be corrected at this point, backing up and applying one or more DBE (background models) before the frame adaptation process.<br /><br />Remember that what we're seeing is a very  aggressive &nbsp;screen stretch, and that other than the linear  correction we just made with PixelMath, the data is still untouched (if  we ignore the registration and alignment process), and still linear.  This means that if we wanted to perform some tasks that are better done  when the image is still linear, such as a deconvolution, we could do it.  A deconvolution in this example would probably cause more trouble than  what is worth, though.        
<p><a href="http://deepskycolors.com/astro/tut/ifn1/PixelMath2.jpg"><img src="http://deepskycolors.com/astro/tut/ifn1/smPixelMath2.jpg" alt="" /></a></p>Now we'll crop the image to get rid of the  funky borders:       
<p><a href="http://deepskycolors.com/astro/tut/ifn1/Crop.jpg"><img src="http://deepskycolors.com/astro/tut/ifn1/smCrop.jpg" alt="" /></a></p>      
<h2>2 - Histogram adjustments, then some more</h2>      
<p>In some situations I would do a DBE right at this point.  Although a carefully executed DBE could improve the uniformity of our  background, &nbsp;I chose not to do it in this case, to avoid  constructing a background model that could alter the natural but very  faint illumination from the IFN. This is not a problem with DBE but  rather, I'm trying to avoid a possible problem with me! <br /></p>      
<p>We're ready then, for a first non-linear histogram stretch. This means  we'll deactivate the STF now, as, from now on, we want to see what we're  really doing.</p>      
<p>This first histogram stretch doesn't do much to bring out the  faint detail we seek. Also notice that when I do histogram adjustments  that I consider critical, I resize the histogram dialog a lot, covering  my entire left monitor! This by the way, is not a requirement, just  something very nice to have :-) </p>      
<p>If you look closely, in this stretch, PixInsight is telling me  I'm "dark clipping" 20 pixels (a 0.0001&#37; of the pixels in the image). If  you click on the screenshot, the top number under the histogram graph  in the middle is giving us that information.We definitely do not want to  clip the histogram, especially at this early stage, but something like  0.0001&#37; is acceptable. 20 pixels, that's ok.</p>      
<p><a href="http://deepskycolors.com/astro/tut/ifn1/Histo1.jpg"><img src="http://deepskycolors.com/astro/tut/ifn1/smHisto1.jpg" alt="" /></a></p>Some people say that histogram adjustments  should be done just once. &nbsp;Personally, I not only don't see  why, I think that more than one histogram adjustment, if done carefully,  does more good than bad. So here's a second histogram adjustment.        
<p>This time we're clipping the black point a 0.1177&#37; according to  PixInsight. That's still very ok. It's still a very insignificant  amount and it helps us get some contrast. Also notice that to perform  this stretch, I zoomed in the X axis of the histogram by a factor of 9.  This helps a lot in finding the point where the histogram curve starts  to rise. Likewise we could zoom in the Y axis if we liked. The histogram  tool in PixInsight is, no doubt, the way a histogram tool should be for  processing astro-images.</p>QUICK NOTE: Although I believe no  processing tutorial should be understood as a cooking recipe, if you  really want to replicate the exact histogram adjustments I did in this  example, click on the screenshot to view the large image, and take note  of the Shadows/Highlights/Midtones values.        
<p><a href="http://deepskycolors.com/astro/tut/ifn1/Histo2.jpg"><img src="http://deepskycolors.com/astro/tut/ifn1/smHisto2.jpg" alt="" /></a></p>Hmm... My notes say I only did two histogram  adjustments in a row, but my screenshots show a third one. Ok, that's  just fine :-)       
<p>The truth is, I will perform as many histogram adjustment  iterations as I feel I need, as long as the resulting image looks better  to me, I'm not clipping it, and I'm not going overboard either. When I  see that I cannot improve the image to my satisfaction anymore (again,  without clipping it), then I stop. </p> &nbsp;       
<p> <a href="http://deepskycolors.com/astro/tut/ifn1/Histo3.jpg"><img src="http://deepskycolors.com/astro/tut/ifn1/smHisto3.jpg" alt="" /></a> </p> This may be a good time to see what's going  on with the galaxy M81 &nbsp;(the big white smudge on the  bottom-right, around 5 o'clock)...        
<p> As you can see, after these histogram stretches, M81 is  starting to look a bit saturated. It's not completely blown up, but it's  getting there.... Here's the deal... I know that in the 8 mosaic frames  I've already processed, M81 is already there (barely, but it's there),  nicely processed an all, so when it's time to overlap these two frames  with the already processed mosaic, I'll just place &nbsp;this <span style="font-style: italic;">layer</span>  <b>under</b> the already processed image. In other words,  I'm not concerned about M81 in this image, which gives me more freedom  to work my way to make the IFN pop nicely. </p>        
<p>Having said that, the short  answer for dealing with this is of course using a "gradual luminance-based mask with variable mid tones and white point". Ok, that was a mouthful, but in practice is very simple. The trick is, we don't  want the mask to fully protect the galaxy, this being done in two  different but related fronts:</p>      
<ul>      
<li>    
<p>By building the mask based on the luminance, the mask would be gradual, that is, it will be brighter in the brighter areas of the  galaxy (protecting them better from saturating), and fainter in the outer arms.</p></li>      
<li>    
<p>In addition to that, we do NOT want the mask to fully protect our image. That is, we want our stretches to actually affect the galaxy, just not nearly as much as everything else. To do that we "dim" the mask by lowering its white point. This process of adjusting the white point of the galaxy should be iterative for every new histogram stretch we perform - that is, after we've done our stretch, with the mask in place,  we adjust the histogram of the mask until we see the galaxy (or whatever other object we're protecting) blend well with its surroundings. Of course we work this with a real-time preview.</p></li></ul>      
<p> </p>     
<h2>3 - This is getting noisy</h2>If our goal is to reveal  all this faint stuff in the background, we can see we're starting to get  what we want. However, this comes to a price: our stars are getting fatter (especially the very small stars are becoming anything but subtle details)  and as we stretch this faint signal, we're also bringing up a lot  of noise, and most of this signal we want so much shows itself as  having a very poor signal-to-noise ratio. As for the stars, since we  have not &nbsp;adjusted the white point even once, the problem is  not very severe, fortunately.       
<p>If you click on the screen-shot you'll see the image really is  getting noisy. Unfortunately, the JPEG compression even for the "real  sized" screen-shot, and the fact that even the large screen-shot shows the  image at a reduced size, doesn't give a good picture of what we're  dealing with, but let's just say that yes, the image is getting noisy  because not only we just stacked 6 subexposures during  stacking/calibration, but the IFN sits barely above the noise.</p>      
<p>So in any case it's clear that we need to solve this two  problems, and quickly. It makes sense to "correct" for the noise first,  as the operations to correct the stars will work better on an image with  a better SNR.</p>      
<p>To deal with the noise, my favorite tool is the ACDNR tool from  PixInsight. ACDNR is a very CPU intensive operation, so while we tweak  the parameters, it's better to experiment with a preview, as shown in  the screen-shot below. We try to select an area in our preview that has  some variety: very low SNR areas, low SNR areas and if possible, also  some high SNR areas. We don't really have any area high in SNR here, so  an area with very low and low SNR areas works ok. </p>      
<p>A good understanding of all the parameters in ACDNR is  important, so if you're not familiar with this tool, refer to the <a href="http://blog.deepskycolors.com/PixInsight/NoiseReduction.html#ACDNR">ACDNR  section</a> in my <a href="http://blog.deepskycolors.com/PixInsight/">Unofficial  PixInsight Guide</a>. </p>      
<p>In this case, we definitely check the "luminance mask" option.  We also used the default edge protection values. I'm not sure why I  didn't take advantage of the prefiltering process, as it does an  excellent job with very noisy images (maybe I did, but my notes don't  mention it and I'm just reading from the screen-shot). I would definitely  suggest to preview the effects of using the prefiltering process in  ACDNR. Regardless...I chosed the morphological median "robustness" as it  works better to preserve sharp edges. </p>      
<p>As for the amount and iterations parameters, I always favor  small amounts but several iterations (it usually works better and more  gradually). Last, I used a high value for the standard deviation because  the main purpose of reducing the noise at this point - although we know  there's going to be little background "free" in our image - is to  attack what otherwise would be considered "background noise", and high  StdDev values usually work best for that. </p>      
<p><a href="http://deepskycolors.com/astro/tut/ifn1/ACDNR.jpg"><img src="http://deepskycolors.com/astro/tut/ifn1/smACDNR.jpg" alt="" /></a></p>After applying the ACDNR process, I go, once  again, to the histogram tool, and see if something can be squeezed out  of there now that some of the noise is gone. Usually, there is, and our  faint stuff is looking better. Here's the  image after our fourth histogram adjustment. It may look dirty (I don't  claim all the noise is gone!) but in this small screen-shot, what you  feel it's noise, is in fact, caused by the thousands of stars that are  overwhelming the image. That and the JPEG compression artifacts in the  screen-shot.        
<p><a href="http://deepskycolors.com/astro/tut/ifn1/Histo4.jpg"><img src="http://deepskycolors.com/astro/tut/ifn1/smHisto4.jpg" alt="" /></a></p>      
<h2>3 - Star "management"</h2>Now that we've stretched our  image a great deal and somewhat dealt with the noise, it's time to do  something about the stars. For this, we'll use the  MorphologicalTransformation (MT) tool in PixInsight. For &nbsp;those  not familiar with MT, you can think of it as an extremely fancy and  &nbsp;modelable maximum/minimum filter - but seriously extremely  versatile!!       
<p> Applying a MT to an image to correct the stars unquestionably  requires a star mask that protects everything but the stars. Without a  star mask, the MT would be applied to everything in the image. Not only  the results will not be satisfactory, a true MT takes a well-defined  structuring element as a model for the transformation. In this case the  structuring element is a circle (stars are, well, round), and so it  makes sense to apply the transformation only to circled structures. A  star mask that &nbsp;protects everything but the stars does that.  </p>        
<p>So we start by creating a good star mask...</p>      
<p>A star mask can be easily created with PixInsight's StarMask  module, although for this occassion I chose to create it "manually"  using the ATrousWaveletsTransform (ATWT) tool. This is easy - just  eliminate from a duplicate of the luminance all layers except for the  "R" (residual) layer, on a 4 layers dyalic sequence, and we're done.  </p>      
<p>I often like to binarize the star mask and then blur it a  bit&nbsp; - MT will work well with such strong masks. In this case  however I chose to simply adjust the white/mid points of the histogram  to make the mask stronger - which also works well. Here's how the star  mask looks like: </p>      
<p><a href="http://deepskycolors.com/astro/tut/ifn1/StarMask.jpg"><img src="http://deepskycolors.com/astro/tut/ifn1/smStarMask.jpg" alt="" /></a></p>And here's our image protected by the star mask  (the areas in red are the protected areas):        
<p><a href="http://deepskycolors.com/astro/tut/ifn1/StarMask2.jpg"><img src="http://deepskycolors.com/astro/tut/ifn1/smStarMask2.jpg" alt="" /></a></p>With everything but the stars protected, we  adjust the parameters of the MT and apply. In this case I opted for a  small structuring element (3x3) as it seemed to work better than larger  ones which were inducing a few halos around some stars. These halos can  be corrected by adjusting MT's&nbsp; threshold parameters, but in  this case I just went with the 3x3. I used the Morphological Selection  as my operator choice. &nbsp;Most people tend to use the "erosion"  or "closing" methods but "morphological selection" is usually my  favorite because it acts as a blend between the erosion and dilation  methods, and then I can just adjust the Selection slide to emphasize  either the dilation or the erosion effect, but other operators can also  do a decent job. &nbsp;       
<p>Here's the image after the morphological transformation. Notice  how the very tiny stars are no longer disturbing the scene, and the longer ones are not "in your face" anymore. This also helped  clean up the image from the "in your face" panorama of an overwhelming  field of stars. </p>      
<p><a href="http://deepskycolors.com/astro/tut/ifn1/MT.jpg"><img src="http://deepskycolors.com/astro/tut/ifn1/smMT.jpg" alt="" /></a></p>      
<h2>Final words</h2>Although the image is certainly not  finished, as a result of our last operation, the IFN has become the main  "attraction" in our image, and we can see &nbsp;wisps of it all  over the place. Here's a slightly bigger view of the image as it is at  this point (click on the screen-shot for a larger version):        
<p><a href="http://deepskycolors.com/astro/tut/ifn1/Histo5.jpg"><img src="http://deepskycolors.com/astro/tut/ifn1/smHisto5.jpg" alt="" /></a></p>      
<p>As I just mentioned, our luminance is clearly not finished. We  need to reduce  the flux and halos in the brighter stars if we like (I often do). And  then comes the color, which, after processed independently, will make us  do some adjustments to the image after combining it with the luminance.  And on top of that, in this particular case we'll then need to  make sure everything will match nicely with our already processed 2x4  mosaic (one big reason why mosaics should be processed all at once, and  not in pieces, if at all possible). </p>      
<p>The good part is, we've achieved our goal of making the IFN pop  nicely, without an overwhelming amount of noise (although the compressed JPEG artifacts may give the wrong impression) or the stars "eating"  up the view, and further processing on this image shouldn't be as  demanding and more similar to processing a "regular" astro-image.  </p>      
<p>We haven't used the curves tool, DDP, wavelets (other than to  build a star mask), HDR tools, etc. In a nutshell, all we've really done  is:</p>      
<ul>      
<li>Three histogram stretch iterations</li>      
<li>One pass at reducing the noise</li>      
<li>Another histogram stretch</li>      
<li>One morphological transformation to reduce star size and  impact</li>      
<li>One last histogram stretch</li></ul>      
<p> </p>     
<p>In the next tutorial, also using this image of the IFN as  example - just not these two frames - I will describe a way to make pop  some of the very faintest stuff on this particular image that are  sitting in an area that after all the techniques described in this  tutorial and more, was still presenting a very dark sky background -  using some simple multi-scale techniques.</p>
 ]]>
</description>
 <dc:date>2010-05-01T21:09:00-08:00</dc:date>
 <dc:creator>RBA</dc:creator>
</item>

<item>
 <title>Hasta La Vista, Green!</title>
<link>http://blog.deepskycolors.com/archive/2010/04/26/hasta-La-Vista-Green.html</link>
 <guid isPermaLink="true">http://blog.deepskycolors.com/archive/2010/04/26/hasta-La-Vista-Green.html</guid>
 <description>
 <![CDATA[
<h2>About HLVG</h2><b>Hasta La Vista, Green</b> (<b>HLVG</b> from now on) is my first attempt at writing a Photoshop plug-in. Although I don't use Photoshop much for processing my images, I've always been curious about the procedure of writing a Photoshop plug-in. The HLVG filter seemed a good way to start since it's a very simple plug-in.               
<p>HLVG is a chromatic noise reduction tool that attempts to remove green noise and the green casts such noise may cause in some images. It is based on <a href="http://www.pixinsight.com">PixInsight</a>'s <a href="http://blog.deepskycolors.com/PixInsight/NoiseReduction.html#SCNR">SCNR Average Neutral</a> algorithm.</p>              
<p>The idea is not new. We all know that with a very few exceptions (some planetary nebulae, comets, etc), there are no green objects in the sky. Therefore, if we've already correctly calibrated and color-balanced an image and it's free of gradients (to the best of our ability at least), we have to assume that if something else looks green in our images it's got to be noise...Don't mistake gradients with noise. Removing gradients are best dealt by subtracting a good background model. Chromatic noise on the other hand is tricky, since it "overwrites" the real data we want.<!--How to calculate what that "real data" is the challenging part, since, as with any noisereduction algorithm, it can never be "perfect". <p><h2>It's the noise!</h2>Let me be clear about what I just said - HLVG is NOT a gradient removal tool or a color balancing tool. It is a noise reduction tool.Before applying HLVG to your images, you should have first achieved a good color balance and corrected for othereffects such as gradients, atmospheric extintion, etc. Only then, if you still see green pixels polluting your image,you should apply HLVG. Well, of course you can apply it whenever you want for whatever reason, I'm simply pointing outwhat I believe is the correct use for this tool.<p>And again, as with <b>any</b> noise reduction tool, its results will NOT beperfect. There is no such thing as a PERFECT noise reduction algorithm, whether it's for luminance orchroma noise reduction. We could only wish there was!So when it comes to dealing with noise during image processing, the key is to use a method thatworks BETTER than others.--></p>              
<p>There are several techniques widely used to deal with this problem, however most of them rely on selections and adjustments that sometimes are not easy to execute. SCNR (the base algorithm used by this plug-in) is in my opinion one of the most reliable methods to deal with "green noise" and it works the same every time, without having to worry about anything, just click OK and you're done.<!--  that, due to their manual nature in definingwhat is noise and what isn't and their also manual "corrections", will always generateunreplicable results. --></p>              
<p>  </p>            
<h2>Some examples</h2>The only process applied between the BEFORE and AFTER images below is the HLVG plugin with the <b>Strong</b> option selected, over a "color blended" layer.               
<p>The following three examples are somewhat "extreme", and in fact a couple of them do include uncorrected gradients, that HLVG obviously does NOT correct (see section above), but hopefully they serve the purpose of showing the effect of applying HLVG over a "green polluted" image.               
<table>              
<tbody>              
<tr>              
<td><center><span style="font-weight: bold; color: rgb(255, 255, 255);">Before HLVG</span>              
<p><img src="http://deepskycolors.com/astro/ps/DG1_Before.jpg" alt="" /></p></center></td>              
<td><center><span style="font-weight: bold; color: rgb(255, 255, 255);">After HLVG</span>              
<p><img src="http://deepskycolors.com/astro/ps/DG1_After.jpg" alt="" /></p></center></td></tr>              
<tr>              
<td><center><span style="font-weight: bold; color: rgb(255, 255, 255);">Before</span>              
<p><img src="http://deepskycolors.com/astro/ps/DG2_Before.jpg" alt="" /></p></center></td>              
<td><center><span style="font-weight: bold; color: rgb(255, 255, 255);">After</span>              
<p><img src="http://deepskycolors.com/astro/ps/DG2_After.jpg" alt="" /></p></center></td></tr>              
<tr>              
<td><center><span style="font-weight: bold; color: rgb(255, 255, 255);">Before</span>              
<p><img src="http://deepskycolors.com/astro/ps/DG3_Before.jpg" alt="" /></p></center></td>              
<td><center><span style="font-weight: bold; color: rgb(255, 255, 255);">After</span>              
<p><img src="http://deepskycolors.com/astro/ps/DG3_After.jpg" alt="" /></p></center></td></tr></tbody></table></p>              
<p>  </p>            
<h2>Requirements</h2>To use HLVG you need a computer running Windows (tested on XP, Vista and Windows 7) and Photoshop (tested on CS2, CS3 and CS4). HLVG will likely work under previous versions of Windows and Photoshop but I haven't tested it. If you successfully run HLVG in any of the not-tested versions of Windows and/or Photoshop, <a href="/about.html">let me know</a>.               
<p>Why not Mac? ... Short answer: because I don't have one, therefore I cannot compile and test the plug-in for the Mac.</p>              
<p>  </p>            
<h2>Download it</h2>Downloading HLVG is easy, simply click one the links below:               
<p>For any version of Photoshop (except CS4 64 bits): <a href="http://deepskycolors.com/astro/ps/HLVG.zip">DOWNLOAD HLVG</a></p>              
<p>For Photoshop CS4 64 bits ONLY: <a href="http://deepskycolors.com/astro/ps/HLVG64.zip">DOWNLOAD HLVG 64bits</a></p>              
<p>By the way, HLVG is free (as in "free beer") and I want it to stay that way, so permission is NOT given to include this plug-in in any commercial package. If you downloaded HLVG, whether standalone or as a part of a package, and paid for it, please <a href="/about.html">let me know</a>. Having said that, if you find HLVG useful and would like to make a small donation, please use the "Donate" button below. The Donate button will take you toPayPal - don't worry when you see the donation goes to AR Networks. Yes, that's me.</p> 
<p /><form action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="cmd" value="_s-xclick" /><input type="hidden" name="hosted_button_id" value="7NVXBVU3Q6SNC" /><input type="image" border="0" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" /><img width="1" height="1" border="0" alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" /></form> 
<p>              </p>
<p>  </p>            
<h2>Installing HLVG</h2>Once downloaded, you'll need to <i>unzip</i> the HLVG.zip. This will extract the HLVG.8bf file.               
<p>Once extracted, copy the HLVG.8bf file to the Plug-Ins directory in your Photoshop installation.This usually is something like <b>C:\Program Files\Adobe\Adobe Photoshop CS2\Plug-Ins</b> but it may be different depending on the operating system and the Photoshop version you're running.</p>              
<p>After you've copied the file to the Plug-Ins directory, start (or restart) Photoshop. </p>              
<p>  </p>            
<h2>Using HLVG</h2>When you're ready to use HLVG (you'll need at least one image loaded in Photoshop, preferably an image already color balanced, and with any gradients already corrected), go to the <b>Filters</b> menu, find the <b>DeepSkyColors</b> menu option, select it, then click on the <b>HLVG</b> sub-menu option. If you don't see it there, chances are you did something wrong when you copied the HLVG.8bf file, so double-check you indeed copied it to the right directory. Again, don't forget to restart Photoshop anytime you copy a plug-in filter to the Plug-Ins directory so Photoshop knows it's there.               
<p><img src="http://deepskycolors.com/astro/misc/DegreenerV01.jpg" alt="" /></p>              
<p>From there, just select <b>Strong</b>, <b>Medium</b> or <b>Weak</b>, depending on whether you want HLV go really hard on getting rid of treen noise, t moderately or simply slightly. The recommended setting i&gt;Strong.</p>              
<p>  </p>        
<h2>A note about luminance</h2>HLVG may affect the luminance of the image a bit. This is because the current version of HLVG does not save the luminance prior to applying its "degreening" algorithm (it might in a future version).                
<p>In order to preserve the exact luminance as the original image, it is recommended to follow this process:</p>              
<p>  </p>            
<ul>              
<li>Duplicate the layer where you'd like to apply HLVG.</li>              
<li>Make the blending mode of that new copy to "Color".</li>              
<li>Apply HLVG over that new layer.</li>              
<li>Merge that new layer back with the original</li></ul>              
<p>The above process will get rid of unwanted green noise and hues without affecting the luminance at all. HLVG doesn't degrade the luminance considerably, so using it directly doesn't do a bad job, although I do recommend following the method I just described.</p>              
<p>  </p>            
<h2>Bit depth</h2>HLVG should work on images of either 8, 16 or 32 bit depth. If you find that HLVG didn't work with your image, again, <a href="/about.html">let me know</a>.               
<p>  </p>            
<h2>Color Mode</h2>HLVG only works well when the image is in RGB mode.&nbsp; You can still use HLVG when you're in Lab or CMYK modes for example - HLVG won't complain - but the results will not be what you were expecting. Although this is something HLVG should take care of internally - say converting the image to RGB mode internally, then back to whichever mode it was before - at this point HLVG does not check the current color mode being used, and it simply assumes the image is in RGB mode, so you must make sure your image is in RGB mode prior to using HLVG.    
<p>  </p>            
<h2>HLVG and masks</h2>If you preselect an area in your image - either with the lasso tool, select range, etc. - and then run HLVG, you may be in for a disappointment when you notice that HLVG completely ignored your mask and applied the effect to the entire image. Although I believe that HLVG works best when we leave it up to the plug-in to decide what areas require "HLVG'ing" and which don't, I can understand this behavior of ignoring a mask may feel odd to some people.While there's a chance I may "fix" this in a future version, if you must apply HLVG to just a specific area of your image, you can still do it by creating a duplicate layer, applying HLVG, inverting the mask and hitting the Delete key to get rid of the area you didn't want to "degreen". I don't recommend it, but if you must, that workaround should do the job.               
<p><!--&#160;<h2>A word about PixInsight</h2>As I mentioned before, HLVG is mainly a "clone" of the Average Neutral method found in the PixInsight's SCNR process. <b>I am not associated with PixInsight in any way</b>, but I'm always happy to say that today I find PixInsight tobe the most complete and efficient image procesing software for astronomy images, and I use it for over 80&#37; ofmy image processing, or more. Since HLVG is based on this tool from PixInsight, I felt the least I could do was to suggest that if you've never tried PixInsight or if you haven't used it for a long time, if you like HLVG (or even if you don't), give PixInsight a try by <a href="http://www.pixinsight.com/trial/index.html">downloading a free 45-days trial copy</a>.  SCNR (the process that made HLVG possible and it is in fact more complete than HLVG)is just a tiny tool among many others that you should find very useful in your astro-processing challenges.--></p>
 ]]>
</description>
 <dc:date>2010-04-26T00:37:00-08:00</dc:date>
 <dc:creator>RBA</dc:creator>
</item>

<item>
 <title>Thank you, Sunnyvale... not!</title>
<link>http://blog.deepskycolors.com/archive/2010/04/23/thank-you-Sunnyvale-not.html</link>
 <guid isPermaLink="true">http://blog.deepskycolors.com/archive/2010/04/23/thank-you-Sunnyvale-not.html</guid>
 <description>
 <![CDATA[
About two years ago, at one HOA meeting, we decided to shut down a private street light, mainly due to the fact that the light wasn't necessary (the area is already <span style="font-style: italic;">suffering</span> from an excess of illumination).<br /><br />To me it was very good news for a number of reasons. First because, although I barely do any imaging from home, with that light on, even narrowband imaging is greatly affected, as the light is precisely right in front of my "setup area" and in the part of the only usable sky I get from home (SE to SW, the light being at SE). Second, because the light is so bright and without any kind of shielding, that at night I can see the ceiling of my house excessively illuminated, not to mention how bright everything is even when all the lights inside my home are turned off - something that, leaving astronomy aside, is rather annoying to say the least. Of course I could use window blinds, but the question is... what is the point of making my house look like one of those monuments that are being lit so people can <span style="font-style: italic;">admire</span> them? :-) Anyway, so we all agreed to turn that light off and it has stayed off ever since. Until...<br /><br />A few days ago a city inspector took a walk around the complex, saw the light off and said "<span style="font-style: italic;">that street light should be on or you'd be violating city code</span>", without even checking whether the light being off would in fact be against city code. Mind you, the street light is private and paid by us, it is not a city light, so all the city needs to make sure is whether the area is already sufficiently illuminated according to certain directives - which I can assure you it is. In any case, last night the light was on again.<br /><br />Here's an image of the street light, taken before it was shut down about two years ago. The image doesn't do justice as far as the light being produced by this lamp because the photo was taken with flash, and so the exposure is just a split of a second.<br /><br /><img alt="" src="http://deepskycolors.com/pics/astro/misc/ThatLamp.jpg" style="padding: 6px;" /><br /><br />I will now try to see if at least we can "officially" add some sort of shielding, but I'm not very optimistic. If I was doing little imaging from home before, with this light back on, the imaging time from home has just been reduced to zero.<br /><br /><br />
 ]]>
</description>
 <dc:date>2010-04-23T12:07:00-08:00</dc:date>
 <dc:creator>RBA</dc:creator>
</item>

<item>
 <title>Formulas for Photoshop blending modes</title>
<link>http://blog.deepskycolors.com/archive/2010/04/21/formulas-for-Photoshop-blending-modes.html</link>
 <guid isPermaLink="true">http://blog.deepskycolors.com/archive/2010/04/21/formulas-for-Photoshop-blending-modes.html</guid>
 <description>
 <![CDATA[
Do you want to apply one of the Photoshop blending modes to two images but using a PixelMath-like tool? Here's a list of the current Photoshop blending modes and their equivalent PixelMath formula (blending modes that cannot be achieved by a straight PixelMath operation - such as Luminosity, Hue or Color - are excluded):<style>table .psbmc {border: 1px solid rgb(238, 238, 238);padding: 10px;vertical-align:text-top;}</style>
<table>
<tbody>
<tr>
<td class="psbmc"><b>Blend mode</b></td>
<td class="psbmc"><b>Commutativity</b></td>
<td class="psbmc"><b>Formula</b></td> 

<td class="psbmc"><b>Addtl .info</b></td></tr>&nbsp;

<tr>
<td class="psbmc"><b>Darken</b></td>
<td class="psbmc">commutative</td>
<td class="psbmc">R = min(Target,Blend) &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;</td> 

<td class="psbmc" /></tr>
<tr>
<td class="psbmc"><b>Multiply</b></td>
<td class="psbmc">commutative</td>
<td class="psbmc">R = Target x Blend &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;</td> 

<td class="psbmc" /></tr>
<tr>
<td class="psbmc"><b>Color Burn</b></td>
<td class="psbmc">non-commutative</td>
<td class="psbmc">R = 1 - (1-Target) / Blend &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;</td> 

<td class="psbmc" /></tr>
<tr>
<td class="psbmc"><b>Linear Burn</b></td>
<td class="psbmc">commutative</td>
<td class="psbmc">R = Target + Blend - 1 &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;</td> 

<td class="psbmc" /></tr>
<tr>
<td class="psbmc"><b>Lighten</b></td>
<td class="psbmc">commutative</td>
<td class="psbmc">R = max(Target,Blend) &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;</td> 

<td class="psbmc" /></tr>
<tr>
<td class="psbmc"><b>Screen</b></td>
<td class="psbmc">commutative</td>
<td class="psbmc">R = 1 - (1-Target) x (1-Blend) &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;</td> 

<td class="psbmc" /></tr>
<tr>
<td class="psbmc"><b>Color Dodge</b></td>
<td class="psbmc">non-commutative</td>
<td class="psbmc">R = Target / (1-Blend) &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;</td> 

<td class="psbmc" /></tr>
<tr>
<td nowrap="undefined" class="psbmc"><b>Linear Dodge</b></td>
<td class="psbmc">commutative</td>
<td class="psbmc">R = Target + Blend &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;</td>
<td class="psbmc" /></tr>
<tr>
<td class="psbmc"><b>Overlay</b></td>
<td class="psbmc">non-commutative</td>
<td nowrap="psbmc" class="psbmc">if (Target &gt; &#189;) R = 1 - (1-2x(Target-&#189;)) x (1-Blend)<br />if (Target &lt;= &#189;) R = (2xTarget) x Blend</td>
<td class="psbmc">A combination of multiply and screen.Also the same as Hard Light commuted</td></tr>
<tr>
<td class="psbmc"><b>Soft Light</b></td>
<td class="psbmc">non-commutative</td>
<td class="psbmc">if (Blend &gt; &#189;) R = 1 - (1-Target) x (1-(Blend-&#189;))<br />if (Blend &lt;= &#189;) R = Target x (Blend+&#189;)</td>
<td class="psbmc">A combination of multiply and screen(The formula is only approximate)</td></tr>
<tr>
<td class="psbmc"><b>Hard Light</b></td>
<td class="psbmc">non-commutative</td>
<td class="psbmc">if (Blend &gt; &#189;) R = 1 - (1-Target) x (1-2x(Blend-&#189;))<br />if (Blend &lt;= &#189;) R = Target x (2xBlend)</td>
<td class="psbmc">A combination of multiply and screen. Also the same as Overlay commuted</td></tr>
<tr>
<td class="psbmc"><b>Vivid Light</b></td>
<td class="psbmc">non-commutative</td>
<td class="psbmc">if (Blend &gt; &#189;) R = 1 - (1-Target) / (2x(Blend-&#189;))<br />if (Blend &lt;= &#189;) R = Target / (1-2xBlend)</td>
<td class="psbmc">A combination of color burn and color dodge</td></tr>
<tr>
<td class="psbmc"><b>Linear Light</b></td>
<td class="psbmc">non-commutative</td>
<td class="psbmc">if (Blend &gt; &#189;) R = Target + 2x(Blend-&#189;)<br />if (Blend &lt;= &#189;) R = Target + 2xBlend - 1</td>
<td class="psbmc">A combination of linear burn and linear dodge</td></tr>
<tr>
<td class="psbmc"><b>Pin Light</b></td>
<td class="psbmc">non-commutative</td>
<td class="psbmc">if (Blend &gt; &#189;) R = max(Target,2x(Blend-&#189;))<br />if (Blend &lt;= &#189;) R = min(Target,2xBlend))</td>
<td class="psbmc">A combination of darken and lighten</td></tr>
<tr>
<td class="psbmc"><b>Difference</b></td>
<td class="psbmc">commutative</td>
<td class="psbmc">R = | Target - Blend | &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;</td> 

<td class="psbmc" /></tr>
<tr>
<td class="psbmc"><b>Exclusion</b></td>
<td class="psbmc">commutative</td>
<td class="psbmc">R = &#189; - 2x(Target-&#189;)x(Blend-&#189;) </td>
<td class="psbmc" /></tr></tbody></table>
 ]]>
</description>
 <dc:date>2010-04-21T22:12:00-08:00</dc:date>
 <dc:creator>RBA</dc:creator>
</item>

</channel>
</rss>

