Technique for Manipulating Satellite Photos Now Reveals Ancient Images (2025)

Posted by gumby 2 days ago

Counter374Comment71OpenOriginal

https://dstretch.com/DecorrelationStretch.pdf

https://www.nasa.gov/technology/tech-transfer-spinoffs/nasa-...

Comments

Comment by Waterluvian 1 day ago

False colour composites were something I was introduced to in high school GIS and did a lot of in undergrad remote sensing. It was one of those Eureka! moments for me in terms of developing a better understanding of signals and signal processing, as well as sensors and data collection. Ie. absorbing the reality that the way in which my eyes (or any optical sensor) see the world is not canonical. Vegetation is red, not green!

It was also just the COOLEST THING EVER to swap infrared bands in LANDSAT ETM+ imagery and watch vegetation immediately pop out at you. It's what turned this sort of dull (at least for a teenager) geoscience into a kind of puzzle where you have to figure out how to bring the signal up out of the data.

Comment by dylan604 1 day ago

> False colour composites were something I was introduced to in high school GIS

As an old guy, this is something I'm jealous of in a positive way. I'm impressed that schools are offering this type of subject. My senior year was the first year to introduce a "computer science" class where I learned PASCAL on an Apple SE/30. The year after I graduated, the school created an actual computer lab. To be honest, I haven't even thought about looking to see what is available in schools today, but nice to hear something positive

Comment by Waterluvian 1 day ago

I want to share a bit about this becuase it is dear to me.

My public high school was a "Geography / GIS magnet school" because some unnamed retired geography teacher donated a very large sum to make it happen. I was an underachieving student with no ambitions to go anywhere, doing just enough to pass. The geography program teacher pulled me aside and encouraged me to sign up for Grade 10 GIS the next year. It became my first academic passion and my entire life pivoted.

I studied GIS/remote sensing every year. I participated in Skills Canada a few times, eventually going the full distance by winning gold at the regional and provincial levels. I was accepted to University for GIS/Remote Sensing. I earned a BES, defended a thesis, earned an MSc, won a national award for GIS, and got into remote sensing + robotics as a career, which I'm still doing ~15 years later.

I don't think I have the words to really describe just how thankful I am for everything teachers and professors did along the way to support and encourage people like me.

Comment by dylan604 1 day ago

I had a math teacher do something similar. He recognized that I was avoiding things by hanging out in his classroom. He decided that if I was going to stay in a maths room, I "clearly wanted to learn more maths" so he taught me more maths. And I soaked up as much as I could and it set me on a path as well. I'm thankful I had 3 teachers that took time and provided me that little extra that lasts a lifetime

Comment by z3t4 1 day ago

When I was a kid you would get yelled at or even outright banned from using a computer if they found out you where programming. I printed out programming code and read it at home like if it where magical runes.

Comment by koonsolo 1 day ago

My kids follow STEM here in Belgium, and there were multiple times when I thought "If only I could do those things when I was young".

At 12 years old, they get an Arduino and start programming in C. Then over the years they do all kinds of interesting things with it: build a car with controlled acceleration, build a tiny house with all kinds of sensors and controllers, monitor algae breeding.

When my son was 16, they brewed their own beer (Hey, it's Belgium and they can legally drink at 16 :D)

Now in the final year, they can propose their own projects. I heard previous years did things like create their own windmill and analyse the efficiency, electric generators in rain drainpipe, etc.

Comment by SoftTalker 1 day ago

And, insects see flowers (and each other) differently than we do, as they are senstive to different parts of the spectrum, specfically ultraviolet. They see patterns and markings that are not discernable to human eyes.

Comment by shagie 1 day ago

While it hasn't been updated in a long while (2009)... Flowers in Ultraviolet http://www.naturfotograf.com/UV_flowers_list.html#top and http://www.naturfotograf.com/uvstart.html#top (note: I'm looking into an old frames site - the proper page is http://www.naturfotograf.com/index2.html ... and while its tangent to this, the reason I know of the site is drooling over large aperture lenses http://www.naturfotograf.com/need_speed00.html )

Comment by sleepybrett 1 day ago

Also birds.

Comment by jacobolus 1 day ago

It's really fun to play with black and white photography using various kinds of color filters and see how different you can get the same scene to appear.

(Also fun to play with a polarizing filter.)

Comment by dylan604 1 day ago

in the same vein, most high-end astrophotography imagers use B&W CCD sensors. Instead of dividing the pixel count by the RGBG layout, you get the full sensor worth of pixels. Different filters are used and then recombined using false color merging. Also, high-end motion film scanners using B&W CCD sensors using RGB filters so that each frame of film is scanned 3 times.

Comment by adolph 1 day ago

This done to enhance light gathering, right? Normal color CCDs have per-pixel filters so lose some light in order to gather the light at the same time?

  The most common method is to blanket the CCD pixel array with an alternating mask of red, green, and blue (RGB) microlens filters arranged in a specific pattern, usually the Bayer mosaic pattern. 
https://www.microscopyu.com/digital-imaging/introduction-to-...

Comment by dylan604 22 hours ago

If you apply some sort of Bayer filtering, you are reducing the number of pixels per channel that the sensor can take. If you use all of the pixels for each channel, there is more information in each channel. The trade off is that you have to take multiple full sensor images vs a single image. It also gives you flexibility in what filters you want to use as full sensor filters are interchangeably. High-end telescopes can use filter wheels which can hold multiple filters like Hydrogen-beta, OIII, etc, and swap out very easily with some controllable from software.

Comment by ambicapter 1 day ago

> Ie. absorbing the reality that the way in which my eyes (or any optical sensor) see the world is not canonical. Vegetation is red, not green!

Pretty funny to figure out that your perspective wasn't objective reality and then immediately decide to canonicalize another arbitrary reality as the One True Reality.

Comment by matja 1 day ago

You can do something similar in GIMP:

1) Colors > Components > Decompose > LAB

2) For the layers of the A/B (chroma) channels, Colors > Levels > "Auto Input Levels" (maximize the contrast), and move the mid point to the median.

3) Colors > Components > Compose > LAB

Comment by MisterTea 1 day ago

Can you explain 2 a bit more? I see the Auto input levels but unsure what you mean by "move the midpoint to the median."

The result I got for the original mars image was a washed out red image with some yellow around the craters.

Comment by zamadatix 1 day ago

I interpreted that step as "once you click 'Auto Input Levels', drag the center triangle of the 3 at the bottom of the histogram to where you think the median of the histogram is". That middle slider defaults to being the midpoint of the other 2 sliders. I'm not sure if there is a smarter way to move it to the median beyond "looks about right".

I got this as a result https://i.imgur.com/RsXx3y2.jpeg and it certainly doesn't preserve the color of the rest of the image (there are probably more algorithmic steps needed for that) but it does seem to make highlight the same faint patterns much more clearly.

Comment by MisterTea 1 day ago

Thanks. I was able to get the same result as you did. Pretty neat trick.

Comment by matja 1 day ago

The levels tool maps a subset of the channel range to the full range, effectively changing the brightness and contrast in one step.

The center point controls the gamma correction, so you can map a biased distribution (mostly bright or dark for example) to be more evenly distributed.

That was the purpose of that step - move the midpoint slider to about where the peak in the histogram is, to get an evenly distributed range.

The low/high slider can be moved towards that to increase the contrast.

"Contrast" here will only apply to the A/B channels, which is the color information, so it's increasing the color contrast and unbiasing it, while keeping the luminance information.

Photoshop also can do the same transform, and interactively in the LAB colorspace (no need to combine/uncombine the channels first).

Comment by MisterTea 1 day ago

Thanks for the details but I realized I should have said "Pretend I just installed GIMP and my knowledge of image editing is MS paint."

This is what I was after: "move the midpoint slider to about where the peak in the histogram is, to get an evenly distributed range."

It kinda worked! Thank you and sorry for making you explain the gory details though they are appreciated and useful.

Comment by rf15 1 day ago

That is very clever, thank you. Didn't even consider that yes, the contrast of the A/B channels is also the spread across the colour spectrum. Shows how little I use LAB... thanks for the reminder.

Comment by tyrabound 1 day ago

Have you validated that it produces similar results?

Comment by voidUpdate 1 day ago

I just checked it using one of the photos on that page. The final colours are not the same, but the contrast enhancing ability is comparable

Comment by freetime2 1 day ago

My first thought reading this headline was "Really? Nobody thought of this until now?" But reading further, the Dstretch plugin has been around since 2005 or so. And presumably people have been using contrast enhancement, color manipulation, multispectral imaging, etc. to uncover hidden images long before that.

So not exactly "news" at this point. But still a pretty cool success story.

It almost feels like a feature that should be built into the default camera app. For anyone wanting to conduct their own forensic analysis to determine how thoroughly their hotel room has been cleaned, for example (although personally I'd probably rather not know).

Comment by fc417fc802 20 hours ago

> For anyone wanting to conduct their own forensic analysis to determine how thoroughly their hotel room has been cleaned, for example

Probably more effective to bring a UV flashlight with you.

Comment by 1 day ago

Comment by qurren 1 day ago

I tried to look for hidden rock art at Ankgor Wat by imaging with multiple bandpass filters and amplifying cross-spectral differences. I didn't succeed, but maybe I was in the wrong place. The shit guards there also didn't like me using a tripod while I changed filters, so it was also hasty.

Comment by blincoln 1 day ago

If it makes you feel any better, I've also never had any luck finding hidden rock art, petroglyphs, or similar using multispectal bandpass filters or decorellation stretching.

I was super excited about DCS based on some of the recovered petroglyph photos online, and integrated it into some software I wrote years ago.[1] Still hoping I find something as interesting with it as the fellow mentioned in the article. It works, but I haven't had a "gosh, I never would have seen that without DCS!" moment.

[1] https://www.beneaththewaves.net/Photography/Decorrelation_St... / https://www.beneaththewaves.net/Software/The_Mirrors_Surface...

Comment by wdutch 1 day ago

Sounds like they were the opposite of shit if they noticed someone setting up specialist equipment. I don't think any national monument in the world would be keen on people doing that without advanced permission.

Comment by fc417fc802 20 hours ago

As long as it's equivalent to a camera on a tripod, why not? Outside of impeding traffic flow or museums that want to charge you for it being bothered by that seems entirely counterproductive.

Comment by qurren 1 day ago

You will never get explicit permission unless you have connections. So until that kind of beaurocracy changes, this is the kind of thing you just go ahead and do.

Life is short, assuming it is fully non-destructive and leave-no-trace, just do it until someone gets in your way.

Comment by dylan604 1 day ago

“No one really knows why people made the rock art they made, at least in many cases,” Harman said

Well, it's obvious they really wanted to though. This isn't like marking on a wall with a Sharpie. They had to work at it to make it happen. The commitment alone is impressive even if it was just a "Grogg was here!"

Comment by tyrabound 1 day ago

Decently intentional and deliberate in many if not most cases. There are examples of it in high up places along sheer cliff walls in Arizona that boggle the mind trying to figure out how they managed to accomplish it and at the scale they are, then there are cave paintings that are hundreds of meters deep inside narrow caves in Europe.

It actually makes me wonder if this technique would produce any results in the notorious Erdstalls in Germany. I suspect not, but no one has any better ideas, so it might be worth checking.

Comment by fc417fc802 20 hours ago

> the notorious Erdstalls

It seems quite strange that they could be that prolific while requiring that much manual labor to construct yet there's no written reference to any of them.

Comment by Terr_ 1 day ago

https://smbc-comics.com/comic/rite-on

> "No matter what you do, when we find something weird in ancient history we will decide it must've been part of a fertility rite."

Comment by alexpotato 21 hours ago

Some books, from off the top of my head, that use interesting color film processing or other "photographs saw something humans can't:

- The Sunbird by Wilbur Smith [0]

IIRC, archaeologists use side lighting and IR film + lenses to identify that a stone wall was made out of bricks and then painted over. This hid an entrance to a special place (don't want to spoil too much).

- Congo by Michael Crichton [1]

The protagonists use a camera + satellite link to visually scan a mural and then send the scan back to supercomputers for processing. That mural explains a key point about the jungle where the humans find themselves. Earlier in the story, I believe the one character analyses chromatographic images of jungle canopies to find where the ancient city might be.

Both books are from the 1970s/1980s so fascinating to see this happen using modern technology too.

I would curious if folks are aware of other books where photographic analysis plays a part.

0 - https://amzn.to/4gZFoUW

1 - https://amzn.to/4gLBsbI

Comment by rf15 1 day ago

I'm surprised this is getting so much coverage; This is well known from medical imagining and whatnot, that you take a black&white/limited gamut space and spread it to the full perceivable gamut.

Comment by 1shooner 1 day ago

DStretch is also really great at revealing painted ghost signs on old buildings.

Comment by mlmonkey 1 day ago

Is there an imagemagick implementation that I can just throw into the pipeline?

Comment by zamber 1 day ago

I made a quick vibe-coded on-device web app trying to replicate what dstretch does: https://zamber.github.io/dstretch/index.html

Comment by HPsquared 1 day ago

See also: Eulerian Video Magnification (EVM) to amplify subtle motions and colour changes:

https://youtu.be/ONZcjs1Pjmk https://youtu.be/_qtzWNZApsw

Comment by roger_ 1 day ago

Always wanted to implement that on a phone, it would be like a superpower!

Comment by NegativeLatency 10 hours ago

Comment by bookofjoe 1 day ago

I loved reading this comment stream even though I understood nothing about the technical aspects involved: rather, it's the lack of hostility and aggressiveness as opposed to the enthusiastic and welcoming attitude of almost all commenters, so rare in these threads here nowadays.

Comment by tomrod 1 day ago

Hacker News is genuinely one of the few communities that seems to improve as it ages and grows. Somehow, despite strong concerns about an eternal September, it seems to say "Hey, come in and lets learn together." I just think its neat.

Comment by macmac 1 day ago

>But it’s also due to the chance intersection of one man’s hobby with his unrelated professional and educational background.

I wonder how many great inventions can be traced to this type of circumstances. I suspect more than we realize.

Comment by BlackRabbit1 1 day ago

Very Cool! I have a lot of 40MPx RAW pictures from the almost unreadable historic written walls in Delphi, Greece.

Let me test this with them.

Comment by NegativeLatency 10 hours ago

How'd it turn out?

Comment by BlackRabbit1 6 hours ago

I played around with the LLM-Generated website (see past posts here) of this algorithm and the Gimp method.

It actually doesn't improve the readability of the letters carved in stone nor does it show any hidden details on the surroundings (at least in my very small amount of pictures). But that's not unexpected as they readability depends on the angle of light and shadow.

I have to look into my archives.. maybe there are some wall paintings on which this kind of algorithms excels.

Surprisingly it's working very good in finding living plants and separating it from hay.

Comment by NDlurker 1 day ago

Amazing. This will change how I take photos

Comment by Aboutplants 1 day ago

Going to be taking a lot more pictures of rock faces!

Comment by NDlurker 1 day ago

I want to try this on faded graffiti. I have a few spots in mind already.

Comment by tedecristal 1 day ago

any repo or link where other people can try?

Comment by ortusdux 1 day ago

Matlab - https://www.mathworks.com/help/images/enhance-color-separati...

This paper might also be of interest - https://www.mdpi.com/2227-7390/13/20/3297

"In this paper, we review the theory behind decorrelation stretch and propose some alternative algorithms that resolve the issues of the standard approach."

Comment by shannietron 1 day ago

Had an llm build something quickly so I could play with it. https://shannietron.github.io/decorrelation_stretch/

Comment by marcd35 1 day ago

this is awesome. can you open source it so i can fork it and add some enhancements like exposure/contrast adjustments etc?

Comment by shannietron 20 hours ago

Comment by hackyhacky 1 day ago

You the real MVP

Comment by pimlottc 1 day ago

The app is called DStretch, it's available for iOS and Android

https://dstretch.com/Apps/index.html

Comment by Aboutplants 1 day ago

Someone needs to vibecode some updated options

Comment by mightysashiman 1 day ago

That isn't 20 bucks. Seriously, this is crazy pricing for an app.

Comment by tyrabound 1 day ago

Any would you not want to support someone who implanted this? You probably squander more than $20 on meaningless nonsense frequently, why not support him a bit?

Comment by Aboutplants 1 day ago

Because at $20 it’s cost prohibitive to a lot of non-professionals who may want to go out exploring and potentially find new discoveries.

The app is also a 7 years old

Comment by EQFitzgerald 1 day ago

This supports something similar (PCA color stretch)

https://meesoft.com/Analyzer/

Comment by yread 1 day ago

Comment by ButlerianJihad 1 day ago

"A contribution is mandatory before I will send the plugin. It may take me a few days to respond, have patience. Please note that the plugin is not an app. It has much more functionality than is possible in an app on a smartphone."

"The DStretch [mobile] app is a lightweight version of DStretch intended to give users the ability to enhance rock art in the field. It is not a substitute for the DStretch plugin which has much more functionality."

Comment by pimlottc 1 day ago

This is based off a NASA article, which has an expanded version with more details here:

https://spinoff.nasa.gov/Manipulating_Satellite_Photos_Now_R...

Comment by yorwba 1 day ago

The 1996 paper mentioned in the NASA article: https://dstretch.com/DecorrelationStretch.pdf

Comment by euroderf 1 day ago

TFA is lossy compression ?

Comment by tomhow 1 day ago

Comment by homeonthemtn 1 day ago

Way better, thank you

Comment by xd1936 1 day ago

[flagged]

Comment by timschmidt 1 day ago

Weather satellites have done more to increase crop yield than anything since the invention of artificial fertilizer and save more lives.

Comment by cwmoore 1 day ago

[flagged]