SYSTEM.ARCHIVE // LOGS

The Archive

A log of thoughts, esoteric tools, recommended reading, and unorganized debris from the production process.

Subscribe via RSS
← Back to Archive Index
2026-06-10 MATH & UTILITIES GLITCH & DEGRADATION

Wavelet and Polarization Features for Lunar Crater Detection

This is a side project about finding craters in places that are very hard to see. Near the lunar poles the Sun never rises far above the horizon, so the floors of many craters never receive direct sunlight. These are the permanently shadowed regions (PSRs). Some have probably been dark for a very long time, they are among the coldest surfaces measured in the Solar System, and they are a main target for exploration because they may hold water ice.

They are also bad images. A PSR is lit only by sunlight scattered off nearby terrain, so optical images of one have very low signal, a lot of sensor noise, and hard shadow edges where sunlit rims meet dark floors. A crater detector trained on ordinary, well-lit imagery tends to treat those shadow edges and noise patterns as rims, and it is easy for a person looking at the same frames to do the same.

Several inputs instead of one

Most computer vision models assume that with enough images they will learn what matters. Here the image itself is unreliable, so rather than relying on one stream I combined several, each answering a different question:

  • Wavelet decomposition splits the image into scales, so structure that persists across scales can be separated from noise that lives mostly in the finest ones.
  • A polarization channel (labelled DoLP, degree of linear polarization, in the diagram) carries information about surface texture that brightness alone doesn't.
  • Near-infrared albedo is there for reflectance patterns that might point to ice.

A separate check asks whether a detected shape makes physical sense as a crater. The inputs are stacked into a 64-channel tensor and passed through a U-Net with two outputs: crater rims and candidate ice regions. The aim is to make each detection rest on evidence I can point to, rather than on what the image seems to show.

Two caveats about the ice side. The near-infrared reflectance that works inside PSRs comes from an active instrument: the Lunar Orbiter Laser Altimeter (LOLA) on LRO measures reflectance at 1064 nm with its own laser, and unusually bright PSR floors have been read as possible surface frost. The polarization data used in the search for polar ice is mostly radar, such as the circular polarization ratio from Mini-RF on LRO. A high ratio is consistent with ice, but rough, blocky surfaces such as fresh crater ejecta produce it too, so on its own it is not proof.

Synthetic training data

There are very few labelled examples of places nobody can properly observe. To get around this I generated synthetic lunar terrain procedurally, with varied lighting angles, dust, noise and imperfections, and trained on that before moving to real data. The obvious limit is that a model trained this way learns the generator's idea of a crater, so anything the generator doesn't produce, the model is likely to miss.

What interests me most here is less the network than the uncertainty: working in data where the obvious reading is often wrong, and trying to be explicit about which evidence supports each answer. The payoff, if it works, is better maps of safe landing sites and of where ice might be.

System Architecture: Tri-Modal U-Net
WAVELETDoLP (POL)NIR ALBEDO64-CH TENSORU-NET CORECRATER RIMSICE REGIONS