Professional sky surveys, pixel-matched to our images. [more]
Categories: Astrometry, DeepSkyColors
Keywords: all-sky survey, HiPS, hips2fits, CDS, reprojection, astrometric solution, DSS, Planck, IRAS, WISE, GALEX, H-alpha, dust, galactic cirrus, integrated flux nebula.
[hide]
[hide]
SurveyOverlay fetches a professional sky survey for the exact field of our image and creates a new image with it. The new image has the same dimensions and the same geometry as ours: star for star and pixel for pixel, the survey lines up with our data, ready to be compared with it. Our image itself is not changed.
The sky has been mapped many times over in light our cameras do not record, and to depths a single night does not reach. The Planck and IRAS dust maps show galactic cirrus no matter how faint it is in visible light. The H-alpha surveys trace ionized hydrogen across the whole sky. GALEX shows the ultraviolet, WISE and 2MASS the infrared, and the DSS, Pan-STARRS and the DESI Legacy Surveys give a deep optical view of almost any field. With one of them registered to our image, questions that usually take guesswork become a matter of looking: is that faint smudge real nebulosity, or is it a gradient? Where is the background truly empty? What does this object look like in the infrared?
SurveyOverlay needs just two things: an image with an astrometric solution, and an Internet connection. It reads where the image points, asks the hips2fits service of the CDS (the Strasbourg astronomical Data Center) for that piece of the survey we chose, and reprojects it through our image's own solution, distortion corrections included. Our image is never modified: the survey always arrives as a new image.
Thirty-one surveys are built in, ten of them in color, and any other image survey published in the HiPS network can be fetched by typing its identifier.
[hide]
The only official distribution of SurveyOverlay is through DSC Hub, our free PixInsight process for installing and updating everything Deep Sky Colors makes. One address covers every one of our processes:
https://repo.deepskycolors.com/
Adding that repository to PixInsight installs DSC Hub, and PixInsight handles that installation itself, with our Developer and Repository certificates verified before it completes. We then open PROCESS > DeepSkyColors > DSCHub, select SurveyOverlay in the list, and click Download and install.
DSC Hub checks every download against a catalog that is digitally signed, and refuses anything whose checksum does not match. PixInsight then verifies the module's own signature every time it loads it, so a module altered after we published it is refused.
Keep that repository in the list. DSC Hub tells us at startup when an update for SurveyOverlay is waiting, and installs it in a couple of clicks. There is nothing else to add: the older per-module repositories are no longer needed, and DSC Hub offers to clear them away.
If you'd rather bypass DSC Hub and add one repository per process, SurveyOverlay still has its own: https://repo.deepskycolors.com/SurveyOverlay/ DSC Hub will offer to remove it. Do NOT use these individual repositories and DSC Hub at the same time. We would be asked to install the same modules twice, if we do.
Once installed, SurveyOverlay appears under the PROCESS > DeepSkyColors and PROCESS > Astrometry menus, and in the Process Explorer under the same categories. As with most processes, we open its interface, set its parameters, and apply it to a view: we drag the New Instance triangle onto the image, or click the Apply button to run it on the active view. SurveyOverlay works on one open image at a time. There is no file list and no batch mode.
The view can also be a preview. Only the area of the preview is fetched then, which is quicker, and is the natural way to look closely at one part of a large image.
The image must carry an astrometric solution, and the computer must be connected to the Internet. An image that has not been plate solved is refused with a message that says so, and nothing is downloaded.
SurveyOverlay is free and fully functional. There is no trial period and nothing expires: every survey and every feature is available to everyone, forever.
The free version shows a small advertisement banner at the bottom of the interface, usually promoting other Deep Sky Colors tools for PixInsight. The banner is a single clickable image; it never interrupts our work and it makes no attempt to track us. If we click on the banner, SurveyOverlay opens our default browser with the direct destination link, without saving nor tracking any information about the click at all.
Registering SurveyOverlay removes the banner. To register, we click the wrench (Preferences) button on the process panel, enter the e-mail and license key from our purchase confirmation, and click Register. The banner disappears immediately and stays gone.
[hide]
The interface is deliberately minimal: a survey to choose, what to make of it, and two options for the image that comes back.
The SurveyOverlay interface:
The survey list, with the identifier and a short description of the survey selected, above the two output options.
The Survey list holds the built-in surveys. The color surveys come first, each one marked Color:, and the single band surveys follow: optical, dust and gas, H-alpha, ultraviolet and infrared. Just below, a line of text says what the selected survey shows, how much of the sky it covers and how fine its detail is, which is usually all we need to decide whether it suits our image.
HiPS identifier is the name the survey has in the HiPS network, the system professional observatories use to publish their surveys. For a survey of the list it is there only to be read. The last entry of the list, Other, makes the field editable: we type the identifier of any other image survey, such as CDS/P/SDSS9/g, and press Enter. The full catalog, with several hundred surveys, can be browsed at aladin.cds.unistra.fr/hips/list.
The identifier is the process parameter (surveyId), so a saved process icon carries its survey with it, and a script can ask for any survey by name.
The color surveys are pictures made for the screen: already stretched, with 8 bits per channel. They come back as an RGB image that is good to look at and to compare with ours, and is not data to measure.
| Survey | HiPS identifier | What it shows |
|---|---|---|
| Color: DSS2 | CDS/P/DSS2/color | Optical color made from the red and blue plates of the Digitized Sky Survey. All sky. |
| Color: Mellinger optical | CDS/P/Mellinger/color | True color panorama of the whole sky, at 36"/px. The one for very wide fields. |
| Color: Pan-STARRS DR1 (i, r, g) | CDS/P/PanSTARRS/DR1/color-i-r-g | Optical CCD color. North of declination -30°. |
| Color: DESI Legacy Surveys DR10 | CDS/P/DESI-Legacy-Surveys/DR10/color | Deep optical CCD color. About two thirds of the sky, away from the Milky Way. |
| Color: SDSS9 | CDS/P/SDSS9/color | Optical CCD color. About a third of the sky. |
| Color: GALEX ultraviolet | CDS/P/GALEXGR6_7/color | Far and near ultraviolet shown as color. Most of the sky away from the Milky Way. |
| Color: 2MASS (J, H, K) | CDS/P/2MASS/color | Near infrared shown as color. All sky. |
| Color: AllWISE (W4, W2, W1) | CDS/P/allWISE/color | Mid infrared shown as color. All sky. |
| Color: IRAS-IRIS (dust) | CDS/P/IRIS/color | Far infrared dust emission shown as color. All sky, 4' resolution. |
| Color: Planck 353-545-857 GHz (dust) | CDS/P/PLANCK/R2/HFI/color | Emission of cold dust shown as color. All sky, 5' resolution. |
The single band surveys come back as a grayscale image that holds the survey's own values, which makes them the ones to use for anything beyond looking.
| Survey | HiPS identifier | What it shows |
|---|---|---|
| Optical | ||
| DSS2 Red | CDS/P/DSS2/red | Red plates of the Digitized Sky Survey. All sky, about 1"/px. Photographic: not linear. |
| DSS2 Blue | CDS/P/DSS2/blue | Blue plates. All sky, about 1"/px. Photographic: not linear. |
| DSS2 Near infrared | CDS/P/DSS2/NIR | Near infrared plates. All sky, about 1"/px. Photographic: not linear. |
| Pan-STARRS DR1 r | CDS/P/PanSTARRS/DR1/r | CCD, r band. North of declination -30°, 0.25"/px. |
| DESI Legacy Surveys DR10 r | CDS/P/DESI-Legacy-Surveys/DR10/r | Deep CCD, r band. About half the sky, away from the Milky Way. |
| Dust and gas | ||
| Planck 857 GHz (dust) | CDS/P/PLANCK/R2/HFI857 | Thermal emission of cold dust: the reference for galactic cirrus. All sky, 5' resolution. |
| Planck 545 GHz (dust) | CDS/P/PLANCK/R2/HFI545 | Thermal emission of cold dust. All sky, 5' resolution. |
| IRAS-IRIS 100 um (dust) | ov-gso/P/IRIS/4 | Far infrared dust emission, from the reprocessed IRAS survey. All sky, 4' resolution. |
| AKARI 90 um (dust) | CDS/P/AKARI/FIS/WideS | Far infrared dust emission. All sky, about 1' resolution. |
| WISE 12 um diffuse dust (WSSA) | CDS/P/WISE/WSSA/12um | Diffuse dust with the stars removed (Meisner & Finkbeiner). All sky, 15" resolution. |
| AllWISE W3 (12 um) | CDS/P/allWISE/W3 | Mid infrared, stars included. All sky, 6.5" resolution. |
| E(B-V) reddening (SFD98) | ov-gso/P/EBV/SFD98 | The dust reddening map of Schlegel, Finkbeiner & Davis. All sky, 6' resolution. |
| HI4PI neutral hydrogen | CDS/P/HI4PI/NHI | Column density of atomic hydrogen. All sky, 16' resolution. |
| H-alpha | ||
| H-alpha composite (Finkbeiner) | CDS/P/Finkbeiner | The WHAM, VTSS and SHASSA surveys combined. All sky, 6' resolution. |
| SHASSA H-alpha | CDS/P/SHASSA/H | H-alpha with the continuum, stars included. Southern sky, about 1' resolution. |
| SHASSA H-alpha, continuum subtracted | CDS/P/SHASSA/SM | H-alpha without the stars, smoothed. Southern sky, 4' resolution. |
| VTSS H-alpha, continuum corrected | CDS/P/VTSS/HaCC | H-alpha. Parts of the northern sky only, 1.6' pixels. |
| WHAM H-alpha | ov-gso/P/WHAM | The faintest H-alpha emission. All sky, 1° resolution. |
| Ultraviolet and near infrared | ||
| GALEX Near ultraviolet | CDS/P/GALEXGR6_7/NUV | 177 to 283 nm. Most of the sky away from the Milky Way, 5" resolution. |
| GALEX Far ultraviolet | CDS/P/GALEXGR6_7/FUV | 134 to 179 nm. Most of the sky away from the Milky Way, 4" resolution. |
| 2MASS K (2.16 um) | CDS/P/2MASS/K | Near infrared. All sky, 2" resolution. |
Coverage and resolution are those of each survey and are given as a guide. A survey that does not reach our field leaves it black, and SurveyOverlay reports how much of the image has no data.
Output says what SurveyOverlay makes:
A survey comes in its own units: megajanskys per steradian, Rayleighs, counts, magnitudes of reddening. Its values can be anything, negative ones included, while PixInsight works in the range from 0 to 1. With Rescale the survey values to the [0,1] range ticked, which is the default, the values are mapped linearly so that the lowest value in our field becomes 0 and the highest becomes 1. The two values are written to the keywords of the new image, SVOLOW and SVOHIGH, so the original units can always be recovered. A color survey is mapped from its 0 to 255 range instead, the same for the three channels, which keeps its color balance.
Unticked, the values are stored exactly as the survey gives them. This is the choice when we want to measure the survey, or to work on its real values with PixelMath.
Show the new image with an automatic screen stretch gives the new image a screen transfer function, so the survey is visible the moment it opens. Only the way it is displayed changes; its pixels stay as they are. A color survey is already stretched and gets none.
All three are process parameters as well (output, rescale and autoStretch).
The context image shows where our image sits on the sky, and what surrounds it. It is always 5000 by 5000 pixels, north up, centered on our image, and from 2 to 16 times as wide as its larger side, so it covers at least four times its area. Our image goes on top of the survey at its true place, size and rotation, placed there through its own astrometric solution.
The context is a stereographic projection, which keeps the shapes of the sky and stretches it little toward the edges, so even a very wide context looks right. It can be up to 180 degrees across, a whole hemisphere of sky.
Our image goes in as it is displayed: with its screen stretch applied, so a linear image looks the same in the context as it does on our screen. When the context has room for fewer pixels than our image has, our image is first reduced by averaging, which keeps it smooth. The context image is in color when either our image or the survey is; a grayscale one then fills the three channels.
The survey under it is always mapped to the range from 0 to 1, so Rescale does not apply to a context image. With Show the new image with an automatic screen stretch ticked, a single band survey is stretched in its pixels instead of on screen: a screen stretch of the whole context would stretch our image a second time. A color survey is used as it comes.
With Context image selected, a small button appears to the right of Output. It opens the options of the context image:
OK keeps the new values and Cancel the old ones. They apply to the next context image, and stay as they are for the rest of the session. They are process parameters too (contextLayers, contextWidth, contextOpacity, contextBlend, contextFeather, contextOutline, contextOutlineColor and contextCreateMask), so a process icon carries them, and Reset brings back the defaults.
[hide]
The workflow is short:
SurveyOverlay works out which piece of the sky the image covers, downloads that piece of the survey and builds from it a new image with the size and geometry of ours. When it is done, the new image opens beside ours. It is named after both: Planck 857 GHz applied to an image called M31 gives M31_PLANCK_R2_HFI857, and M31_PLANCK_R2_HFI857_context for a context image. With separate images, our image alone is M31_PLANCK_R2_HFI857_context_image, and the mask, when we ask for one, is M31_PLANCK_R2_HFI857_context_mask.
Our own image is only read. It is not changed, and nothing is added to its processing history. We can apply one survey after another to the same image, and each gives its own new image.
A small progress window follows the work. Most of the time goes into the first step: the survey is not a file sitting on a server, and CDS has to build the image we asked for out of the tiles of the survey before it can send any of it. How long that takes grows with the number of pixels requested, which follows the size of our image.
A request larger than 1000 pixels on a side is split into tiles of up to 1000 pixels, and four of them are downloaded at the same time. Each tile is an exact piece of the image we asked for, so the tiles fit together with no seams. Four at a time makes a large request about four times quicker: a 5000-pixel color image that takes CDS three minutes in one piece arrives in under a minute as 25 tiles. The Process Console shows how the request was split.
CDS builds each tile before it sends any of it, so the tiles arrive in bursts, with pauses in between. The window has two rows. The first says how far the download is: Progress, with how many tiles have been received out of the total and the seconds gone. The second says what is happening: Waiting for CDS to build the survey tiles during a pause, Downloading the survey tiles while data come in. Until the first tile arrives, a block travels along the bar to show that the wait is alive; from then on the bar fills as the tiles arrive.
A request of up to 1000 pixels on a side is made in one piece. While CDS builds it, the first row shows the seconds gone, the second reads Waiting for CDS to build the survey image, and the block travels along the bar: nothing can tell us how far along CDS is, so the bar makes no claim about it. Such an image is usually built in a few seconds. Once it is built it is sent: the second row reads Downloading the survey image, and the first row and the bar show the megabytes received out of the total.
Tiles are downloaded with curl, the command line download tool that comes with Windows 10 and 11 and with macOS, and with nearly every Linux distribution. On a computer without it, every request is made in one piece, and a large one can take several minutes; the Process Console warns us before one starts.
The last step, the reprojection of the survey to the geometry of our image, takes a moment.
We can stop at any time with the Cancel button of the progress window, or by aborting the process from the Process Console. If the CDS server does not answer, or a tile fails, SurveyOverlay tries its mirror before it gives up.
SurveyOverlay reports what it does in the Process Console. Before the download we see the survey, the field it worked out from our astrometric solution (its center, its radius and the scale of our image in arcseconds per pixel) and the size and scale of the image it requests. After it, the name the survey gives itself and its copyright notice, when it has one. At the end, the name of the new image, the lowest and highest survey values found in the field, and the fraction of the image for which the survey has no data, if any.
The new image is a 32-bit floating point image of exactly the size of ours: grayscale for a single band survey, RGB for a color one. It carries:
SVOSURV holds the identifier of the survey, SVOLOW and SVOHIGH the survey values stored as 0 and 1 when the values were rescaled, and a few HISTORY lines record the image it was made for, the copyright of the survey and the acknowledgment CDS asks for.Pixels the survey does not cover are black.
A context image is also a 32-bit floating point image, 5000 by 5000 pixels, in color when our image or the survey is. It has an astrometric solution of its own, stereographic, so astrometry-aware tools work on it as well, and it carries the same keywords, plus SVOMODE, which says what it is, SVOWIDTH, its width in times our image's, and for a composite SVOBLEND, SVOOPAC and SVOFEATH, the blend, opacity and soft edge it was made with. The console reports the size of the context, its scale at the center, these values and the outline, if any. With separate images, the image of ours has the same size, color space and astrometric solution as the survey, so the two combine directly. The mask, when we ask for one, is a grayscale image of the same size, with the same astrometric solution.
Because the new image has exactly the geometry of ours, the two can be compared directly. The simplest way is to look at one and then the other at the same zoom. With LayerBlender we can stack the survey over our image and change its opacity or its blend mode, and PixelMath can combine the two pixel by pixel.
A survey is a reference, not a second exposure of ours. Its resolution, its depth and the date it was taken differ from ours, and it has artifacts of its own: plate edges, satellite trails, ghosts around bright stars. What matters is the structure the two images share.
[hide]
Understanding the pipeline helps us read the console output and know what to expect from the result. The work proceeds in stages:
A context image follows a different path after the field. The request is a 5000-pixel square 2 to 16 times as wide as our image, always in tiles where curl is available, in a stereographic projection: it keeps shapes, and stretches the sky only 1.3 times at 60 degrees from its center and twice at 90, where a tangent projection would stretch it 4 times and without limit. The survey image that comes back is the context itself, north up, with no reprojection. It is mapped to the range from 0 to 1, and stretched in its pixels when it is a single band survey and the automatic stretch is on. Then our image goes on top: for each pixel of the context that falls inside it, SurveyOverlay finds its position on the sky, asks our astrometric solution where that position is in our image, and combines the value there, stretched as displayed, with the survey under it through the chosen blend, opacity and soft edge, and draws the outline; with separate images it writes the value to a canvas of its own instead. The context gets a solution of its own, which is exact because it is a plain stereographic projection.
The surveys are served by the hips2fits service of the Centre de Données astronomiques de Strasbourg (CDS), which is free and open to everyone, and SurveyOverlay would not exist without it. Every image it creates records the acknowledgment CDS asks for: This research made use of hips2fits, a service provided by CDS.
[hide]
curl, where it is made in one piece. A preview is the quick way to get one part of a large image at full detail.Copyright © 2026 Deep Sky Colors. All Rights Reserved.