Just a Test -- 16k Colored Moon

Tips for creating and manipulating planet textures for Celestia.
Avatar
Topic author
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Just a Test -- 16k Colored Moon

Post #1by t00fri » 25.05.2009, 12:56

Hi all,

unfortunately there is simply NO good Moon imaging, despite the Moon's closeness...

Until hires JAXA/SELENE (KAGUYA) images will be available, we will have to be satisfied with UVVIS/Celementine results. While the latter exist as 90k raw data and 64k VTs have been easily produced with my F-TexTools, color is missing at this highest resolution and there are plenty of artefacts.

After struggling with the 64k Clementine data for several days, I returned to the 5 band UVVIS/Clementine data that exist at 21834 x 10917 resolution such that a nice 16k colored texture set can be done with it.

http://ser.sese.asu.edu/MOON/CLEM_COLOR ... est.cub.gz
http://ser.sese.asu.edu/MOON/CLEM_COLOR ... ast.cub.gz

http://ser.sese.asu.edu/MOON/clem_color.html

The west and east hemispheres of the moon are about 1.2 GB each after decompression.

They are in ISIS2 cub format and the resolution is 500meter/pixel. The three r,g,b colors have to be extracted from the set of 5 color bands with an appropriate isis3 tool.

While this set is again full of artefacts, I think the color is quite impressive with lots of subtle shades.

To explore the "potential" of these colored data set to the end, I used much of the ISIS3 tools arsenal for thorough cleaning of the raw data. An important positive fact is that the black NULL pixel areas are NOT framed by dark non-NULL pixels as in the 64k monochromatic data.

While at some distance the Moon display looks quite pleasing, still when closing up, lots of bad mosaic transitions and color error patches exist. That's why I am still uncertain whether I shall ever consider publishing my results... Of course, if people want to experiment e.g. for making VTs ...let me know.

Here come some test shots that in my view look quite "natural". I feel overall this is the BEST available Moon texture at this time.

Image

Image

Image

Image

Image


Let me know your opinion,

Fridger
Last edited by t00fri on 25.05.2009, 15:47, edited 1 time in total.
Image

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Re: Just a Test -- 16k Colored Moon

Post #2by cartrite » 25.05.2009, 14:29

The screen shots look pretty good. A lot better than I thought was possible. I only put the 2 files together and I saw a lot of work was needed. I'm just going to keep the files as a base for LRO data which will available some day soon I hope.
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 10 months

Re: Just a Test -- 16k Colored Moon

Post #3by Chuft-Captain » 25.05.2009, 14:30

I would be interested to see some closeups of the poles ... have you managed to get rid of most of the artefacts? That second image looks suspiciously like it might be one of the poles...

CC
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Avatar
Topic author
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: Just a Test -- 16k Colored Moon

Post #4by t00fri » 25.05.2009, 14:40

cartrite wrote:The screen shots look pretty good. A lot better than I thought was possible. I only put the 2 files together and I saw a lot of work was needed. I'm just going to keep the files as a base for LRO data which will available some day soon I hope.
cartrite

Steve,

indeed a lot of work is needed to comply with my usual standards. ;-)

But at least most black NULL pixel artefacts can be eliminated in < 1 minute via isis3-based cleaning (lowpass filter). The polar regime looks much better after replacing the NULL pixel and other very dark areas by a nice gray tone. Since the NULL pixels are not at exactly the same location in all three color bands, one has to again take recourse to the isis3 cleaning arsenal...

Fridger
Image

Avatar
jogad
Posts: 458
Joined: 17.09.2008
With us: 16 years 1 month
Location: Paris France

Re: Just a Test -- 16k Colored Moon

Post #5by jogad » 25.05.2009, 14:44

Hi,
t00fri wrote:I feel overall this is the BEST available Moon texture at this time.
I agree with that.

You say there are artifacts but they are not so visible in the pictures. (Great shots).
But perhaps too beautiful?
Is it possible to have the original image in a format that is readable by your F-TexTools (or clues to do that) so we are able to have a personal point of view?

PS: Just a test? I hope no!

Avatar
Topic author
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: Just a Test -- 16k Colored Moon

Post #6by t00fri » 25.05.2009, 14:44

Chuft-Captain wrote:I would be interested to see some closeups of the poles ... have you managed to get rid of most of the artefacts? That second image looks suspiciously like it might be one of the poles...

CC

CC,

Yes the north pole is visible in image 2 and N/S pole region also borderline in others.
That was actually the reason for showing image 2!

By replacing the black NULL pixels via isis3, the poles look MUCH more pleasing than
in the 64k raw texture.

Fridger
Last edited by t00fri on 25.05.2009, 15:35, edited 2 times in total.
Image

Avatar
Topic author
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: Just a Test -- 16k Colored Moon

Post #7by t00fri » 25.05.2009, 14:54

jogad wrote:Hi,
t00fri wrote:I feel overall this is the BEST available Moon texture at this time.
I agree with that.

You say there are artifacts but they are not so visible in the pictures. (Great shots).
But perhaps too beautiful?
Is it possible to have the original image in a format that is readable by your F-TexTools (or clues to do that) so we are able to have a personal point of view?

PS: Just a test? I hope no!

jogad,

as I wrote, all standard artefacts were eliminated with isis3 methodology. But this means that the many black areas were replaced by averages from surrounding pixels via e.g. an isis3 lowpass filter. This in turn means (cf. averages!) that from a somewhat more distant perspective, the display looks effectively FREE of artefacts, as is confirmed in my test shots. But when zooming in more, you will see plenty of localized color errors, sharp mosaic border lines, and the replacement areas from the previous null pixels.

Yes, it just takes a few minutes to generate a binary input for making VT tiles with my F-TexTools. As soon as I find some time, I'll do it and upload the resulting file. But remember, the upload will take several HOURS...

Fridger
Image

praesepe
Posts: 220
Joined: 15.10.2002
Age: 44
With us: 22 years 1 month
Location: Barcelona, Spain

Re: Just a Test -- 16k Colored Moon

Post #8by praesepe » 25.05.2009, 18:58

hey! You've cloned my previous post! Obviously I'm just joking :lol:

I'd say this is more than "just a test" the texture looks awesome even it's "only" a 16K one... This is definatively the best Moon texture so far. Maybe a low resolution version (1k, 2k) should replace the actual Moon map of the official distribution?
Greets :P

praesepe

Avatar
Topic author
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: Just a Test -- 16k Colored Moon

Post #9by t00fri » 25.05.2009, 19:11

praesepe wrote:hey! You've cloned my previous post! Obviously I'm just joking :lol:

I'd say this is more than "just a test" the texture looks awesome even it's "only" a 16K one... This is definatively the best Moon texture so far. Maybe a low resolution version (1k, 2k) should replace the actual Moon map of the official distribution?

Hi praesepe,

thanks for the flowers. Yet, it was also me who made the official moon texture in the distribution ;-)

But read my posts carefully. There are still quite a few artefacts on closer distance...

Cheers,
Fridger
Image

praesepe
Posts: 220
Joined: 15.10.2002
Age: 44
With us: 22 years 1 month
Location: Barcelona, Spain

Re: Just a Test -- 16k Colored Moon

Post #10by praesepe » 26.05.2009, 00:21

Fridger,

Ok, looking at the images you posted I can still see some artifacts. I had also a fast look at the .cub files at http://ser.sese.asu.edu/MOON/clem_color.html, all bands have them but at different locations, so I think that your results are more than reasonable according to the original data input... In a shorter scale the remaining artifacts wouldn't be so visible, say 1k or 2k which is the highest resolution map that comes with the standard distribution.
Greets :P

praesepe

Avatar
Topic author
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: Just a Test -- 16k Colored Moon

Post #11by t00fri » 26.05.2009, 08:06

praesepe wrote:Fridger,

Ok, looking at the images you posted I can still see some artifacts. I had also a fast look at the .cub files at http://ser.sese.asu.edu/MOON/clem_color.html, all bands have them but at different locations, so I think that your results are more than reasonable according to the original data input... In a shorter scale the remaining artifacts wouldn't be so visible, say 1k or 2k which is the highest resolution map that comes with the standard distribution.

Praesepe,

yes the NULL pixel areas are not at the same place. But we are ISIS3 experts aren't we? ;-) Hence there are three ways to try. I used 2 ways so far:

1) use 'bandtrim', which copies all NULL pixel areas (of each band) onto ALL bands. This takes a loooooooooong time, but works OK. Thereafter eliminate the NULL pixels with the standard lowpass setup like so:

lowpass from=<infile> to=<outfile> samples=130 lines=7 filter=outside null=yes hrs=no his=no lrs=no lis=no replacement=center

This way all local color artefacts will be gone, but you will have more patches with "average pixel" areas.

2) use 'explode' that will give you all 5 bands as separate files:

moon_5uvvis_500m.band0001.cub
moon_5uvvis_500m.band0002.cub
moon_5uvvis_500m.band0003.cub
moon_5uvvis_500m.band0004.cub
moon_5uvvis_500m.band0005.cub

Then eliminate the NULL pixel areas individually in each band with

lowpass from=<infile> to=<outfile> samples=130 lines=7 filter=outside null=yes hrs=no his=no lrs=no lis=no replacement=center

Then compose the result into a (r, g, b) PNG file with 'isis2std' and examine.

3) Ignore the different location of the NULL pixel areas and eliminate whatever you can with the lowpass. Do the rest by hand with "proven handicraft" technology ;-)

I am still examining which of the three approaches finally gives the most pleasing display!

I think (know) that the artefacts are visible at ALL resolutions (including 1k or 2k) once you zoom in more than corresponds to the "natural" distance at the given pixel resolution.


Fridger
Last edited by t00fri on 26.05.2009, 20:47, edited 1 time in total.
Image

bdm
Posts: 461
Joined: 22.07.2005
With us: 19 years 3 months
Location: Australia

Re: Just a Test -- 16k Colored Moon

Post #12by bdm » 26.05.2009, 10:52

t00fri wrote:But read my posts carefully. There are still quite a few artefacts on closer distance...
And if you zoom in reeeeealy close you might find artifacts like the Apollo 11 lander. :wink:

Even if the images do have artefacts, they are still very good, and bring the magnificent desolation of the moon to life.

Avatar
Topic author
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: Just a Test -- 16k Colored Moon

Post #13by t00fri » 26.05.2009, 10:55

bdm wrote:
t00fri wrote:But read my posts carefully. There are still quite a few artefacts on closer distance...
And if you zoom in reeeeealy close you might find artifacts like the Apollo 11 lander. :wink:

:lol: :lol:

But jokes aside, that's what people do and then come the complaints about a faint line here and a dark spot there ....

Even if the images do have artefacts, they are still very good, and bring the magnificent desolation of the moon to life.

I tend to agree with you! The really good aspect of these 500meter/pixel UVVIS textures is the sophisticated color. It really looks like the moon ;-)

Fridger
Image

Avatar
Topic author
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: Just a Test -- 16k Colored Moon

Post #14by t00fri » 26.05.2009, 12:10

Hi all,

unfortunately ISIS3 is still not available to Windows users. But perhaps it's of interest to some of you, if I illustrate a bit what the ISIS3 cleaning can do easily and what not.

Let me start will a little area of the colored 500 meter/pixel Moon from UVVIS/Clementine that includes a socalled NULL pixel domain. In my first example below, it is this black triangle shaped artefact in the image left of the blue bar:

Image

The black color also indicates that this NULL pixel region is equally present in all three color bands that I used to form the colored moon image. Like this artefact, there will be many in our moon texture before cleaning. They are inserted by the software do indicate hardware failure or similar malfunctions. A NULL pixel can be a different number, depending on the used format. But anyway, ISIS3 has special features to deal with NULL pixels (and other special pixels) in the cleaning process.

So let us see explicitly what this simple ISIS3 command does to our black triangular artefact:

Code: Select all

lowpass from=moon_5uvvis_500m.raw.cub to=output.cub samples=130 lines=11 filter=outside null=yes hrs=no his=no lrs=no lis=no replacement=center

It is a lowpass filter that is configured to replace any NULL pixel by the pixel average of the surrounding filter rectancle (of size 130 x 11), called "boxcar"

The result you can see in the image to the right of the blue bar! The black triangular artefact has gone and clearly -- as seen from some distance -- the replacement will be hardly noted, due to the insert being an average of surrounding pixels! But some imperfection must of course remain since at any NULL pixel actual measurements were lacking!!

So on the good side, many such black NULL pixel artefacts will be instantaneously eliminated in the indicated manner with a single ISIS3 command.

Unfortunately the situation is not always that simple. In the next two little examples, you see colored artefacts which are also from NULL pixels that however are lacking or shifted on some color band(s). The composition of the bands then does NOT addd up to black. From the visible artefact color you can tell right away on which band the NULL pixels were.

Image

Image

As much as it looks, the best method seems manual cleaning as always ;-)
The GIMP has some neat tools for this, e.g the clone tool or the smudge tool.

Perhaps there is one other automatic method that I mentioned already in my previous post.
One can use an ISIS3 tool called 'bandtrim' which copies the NULL pixels to all bands. Clearly all colored artefacts can be automatically eliminated this way. So far I have used it for all 5 bands at once which resulted in an "artefact inflation".

But there is still hope: I suspect if I reduce from 5 colors to only three, the Iinflation" might well become much less severe...

Another hopeful aspect comes from applying the standard trick of converting RGB -> HSV (command rgb2hsv) and cleaning the artefacts in the 'Value' file.

We'll see...

Fridger
Image

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: Just a Test -- 16k Colored Moon

Post #15by John Van Vliet » 27.05.2009, 19:54

--- edit ---
Last edited by John Van Vliet on 21.10.2013, 01:58, edited 1 time in total.

Avatar
Topic author
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: Just a Test -- 16k Colored Moon

Post #16by t00fri » 27.05.2009, 20:14

john Van Vliet wrote:the above colored "stripes " are why i used a
red+green image to fix the blue
red+blue image to fix the green
and a green+blue image to fix the red image

the 5 layer cub ( i used the first 3 ) layer 1 =blue, layer 2=green, and layer 3 = red
Image

There is a very easy solution within isis3:

1) 'explode' the 5 bands into individual .cubs
2) 'cubeit' bands 1,2,4 = (414, 750, 950) as a rgb cube just as in this official composition:
http://ser.sese.asu.edu/MOON/clem_color.html
3) 'bandtrim' the NULL pixels such that they appear on all three component textures.
4) replace the NULL pixel artefacts via a 'lowpass' by the 'boxcar' average.
5) 'isis2std' the result into PNG format

This takes about 15 minutes for the 21k Moon texture, altogether.

The result has NO multicolored remaining artefacts and is of equal quality as the official colored moon (500m/pixel) from here: http://ser.sese.asu.edu/MOON/clem_color.html

Fridger
Image

W0RLDBUILDER
Posts: 122
Joined: 02.06.2010
With us: 14 years 5 months

Re: Just a Test -- 16k Colored Moon

Post #17by W0RLDBUILDER » 04.06.2010, 22:28

t00fri wrote:Image
Will NASA please stop sending highlighters to the moon? It's making our maps all screwed up. :mrgreen:


Return to “Textures”