Microsoft Research Community
Sticking images on the sky with WWT

Suppose you have a photograph of a small part of the sky, and you want to see it in WWT and share it with friends. Here’s how you can do so.

We assume that the image (and, if you wish, a thumbnail) is already internet-accessible.

All you need to do is use the url below, with a few parameters. This is from information provided by Jonathan Fay, the architect/developer of WWT.

Base URL:

http://www.worldwidetelescope.org/wwtweb/ShowImage.aspx?

URL Parameters:

You require the following parameters. All strings are URL encoded – spaces replaced by %20 or +, etc.

name = {string: URL encoded, user friendly, but relatively unique name }
ra = {double: right ascension of image center (or tangent point) from plate solution}
x = {double: pixel position corresponding to the ra above}
dec = {double: declination of the image center {or tangent point) from plate solution}
y = {double: pixel position corresponding to the dec above}
scale = {double: arc seconds per pixel from plate solution}
rotation = {double: rotation east of north}
imageurl = {string: URL encoded link to original image at the scale and size of the image described in the rest of the URL}

While the following parameters are optional:

thumb = {string: URL encoded href to thumbnail image (Should be 96x45)
credits = {string: Text for credits }
creditsUrl = {string: URL encoded link to credit information or image page }
reverseparity = {Bool: True or False (default to false) for image flip } .

PS: reverseparity=true is implemented in a not-yet-released version of WWT. So if you have a flipped image, flip it first for now.

When you are testing, the following parameters could be useful:

goto = {Bool: True or False (default to false) True: Slew and Zoom on Image only, False: Show Image Thumbnail in Open Collections, user must click thumbnail to Slew and Zoom and can save image to collections}
debug = { Bool: True or False (default to false) shows the WTML instead of launching it }

For an example of something really cool that you can do with this, have a gander at Christopher Stumm’s post on the astrometry flickr group. Any image uploaded to that group gets solved by the astrometry.net solver. Chris added a feature whereby the format above is used to display these solved images in WWT. So members of that group can see their images in WWT (and use them in tours) right now. Nifty, eh?

Let’s use this from scratch, say with today’s APOD image of the Horsehead Nebula.

The results of sending this through astrometry.net to get a solved image are here.  The key part of the page is this, as well as the knowledge that the original image was 900 x 600 pixels.

image

And if you click on the url below, you’ll get to the image on WWT.

http://www.worldwidetelescope.org/wwtweb/ShowImage.aspx?name=Horsehead+APOD
&ra=85.2983&dec=-2.42589
&scale=1.69&rotation=90.21
&imageurl=http://antwrp.gsfc.nasa.gov/apod/image/0811/horsehead_caelum.jpg
&x=450&y=300
&creditsUrl=http://antwrp.gsfc.nasa.gov/apod/ap081126.html
&credits=Adam+Block,+Mt.+Lemmon+SkyCenter,+U.+Arizona
&thumb=http://research.microsoft.com/~dinos/wwtimages/tn_horsehead_caelum.jpg

This method works for small and medium sized images. For large images – over 2048 x 2048 pixels, say -  you will want to tile that and use a WTML file for it.

web_corona_rotThere are other interesting things you can do with this. The image you place doesn’t have to be a picture of the sky. For instance, here’s a constellation image – the crown for the Corona Borealis - from the Hevelius collection digitized and put online by the U.S. Naval Observatory and the Space Telescope Science Institute. With some adjustment (making the non-transparent areas white instead of black), this can be placed online and viewed in WWT by clicking on the link below.

http://www.worldwidetelescope.org/wwtweb/ShowImage.aspx?name=Crown
&ra=236&dec=28.894&x=250&y=217&scale=60&rotation=180
&imageurl=http://research.microsoft.com/~dinos/wwtimages/coronawhitesmaller.png
&thumb=http://research.microsoft.com/~dinos/wwtimages/coronatn.jpg

The result looks like this (with crossfade)

crownsnapshot2

Its placement could be improved… but since this is a demo, we’ll leave that as an exercise for the reader.

Did we mention that one can use these in tours?


Posted 11-27-2008 12:48 AM by dinos

Comments

albertoconti wrote re: Sticking images on the sky with WWT
on 12-01-2008 4:55 PM

what about a dtd or a schema for the wtml? :)

htrott wrote re: Sticking images on the sky with WWT
on 12-05-2008 5:29 PM

Hi:

Can you explain how to incorporate "solved" images in a tour in WWT?

I've successfully "solved" several of my personal astronomical images by uploading them to the astrometry flickr group, as described in your note, and I have used the resulting links to add the images to My Collections in WWT. Your note above says that these solved images can be used in WWT tours, but I can't find instructions on how to do that.

What I've tried doesn't work!

I first set the start camera position at some point in the sky, I then click on an image in My Collections, WWT pans over to that part of the sky, where my image is correctly placed, and then I set the end camera position. When I play back that slide, the correct pan occurs, but the end camera position shows the image from the Digitized Sky Survey at that location, instead of the image from my collection.

Thanks for your help.

Cheers,

Howard.

dinos wrote re: Sticking images on the sky with WWT
on 02-06-2009 12:46 PM

That's odd - I can use sky-stuck images in tours fine using the same procedure. Were you working on the same computer?

Hang on - what did you set your Start Camera position too?

You've probably solved this by now - sorry for the delay - apparently I don't have comments send me an email automatically, but that's now fixed.

eScience @ Microsoft wrote Using Flickr for Astronomy – and viewing in WWT
on 02-20-2009 5:55 PM

The use of online services such as Flickr to help scientists is in its infancy and applications utilizing

Dan on eScience wrote Using Flickr for Astronomy – and viewing in WWT
on 02-20-2009 11:09 PM

The use of online services such as Flickr to help scientists is in its infancy and applications utilizing

Jonathan Fay wrote re: Sticking images on the sky with WWT
on 03-26-2009 1:39 PM

There was a bug in SkyImages loading in tours. It will be fixed in the Next Client Release. You may have to re-add the images to a tour if you save the document again after loading it, but the Web Client is already patched. I don't have a ETA on when the update will be posted to the download servers yet. I will make an announcement when it is ready.

©2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Feedback