Welcome, Guest

Author Topic: Coding  (Read 149822 times)

atomic7732

  • Global Moderator
  • *****
  • Posts: 3781
  • caught in the river turning blue
    • Paladin of Storms
Re: Coding
« Reply #750 on: July 04, 2019, 01:31:09 AM »
can we get a subtraction (or other diff) between the two pics

FiahOwl

  • *****
  • Posts: 1234
  • This is, to give a dog and in recompense desire my dog again.
Re: Coding
« Reply #751 on: July 04, 2019, 11:02:23 AM »
here you go

Darvince

  • *****
  • Posts: 1821
  • gab
Re: Coding
« Reply #752 on: July 04, 2019, 08:38:05 PM »
This is, to give a dog and in recompense desire my dog again.

vh

  • formerly mudkipz
  • *****
  • Posts: 1138
  • "giving heat meaning"
Re: Coding
« Reply #753 on: August 26, 2019, 10:24:48 PM »


new drizzle experiment

bottom right = high res image of a 2d signal
top left = a simulated image of that signal, where the imaging sensor is 21 x 21 px
going from top left to bottom right, the other images are 10, 100, and 1000 images taken with *the same low res sensor*, but drizzled into a high resolution map. the imaging sensor is jittered with random 1 px translation and random 0.05 radian rotation each time.

i think it's fairly cool to see exactly how much detail can be retrieved even with such a low res sensor. presumably some sort of deconvolution can be applied to undo the blurring caused by finite sized photosites here.

atomic7732

  • Global Moderator
  • *****
  • Posts: 3781
  • caught in the river turning blue
    • Paladin of Storms
Re: Coding
« Reply #754 on: August 27, 2019, 02:24:58 AM »
interestong

why isn't this technique used more

(maybe it is already used quite a bit in some fields, i wouldn't know)

vh

  • formerly mudkipz
  • *****
  • Posts: 1138
  • "giving heat meaning"
Re: Coding
« Reply #755 on: August 27, 2019, 12:58:10 PM »
afaik it was actually invented for processing Hubble images, where the resolution of the optics exceeds the resolution of the sensor

vh

  • formerly mudkipz
  • *****
  • Posts: 1138
  • "giving heat meaning"
Re: Coding
« Reply #756 on: August 27, 2019, 11:55:31 PM »


zoom to see detail... but basically this is the above drizzling technique applied to super-res a scene i took 20 images of.

right is the original, left is drizzled

still a bunch of artifacts because it's not quite perfected yet. also both images have a weird tint because i haven't figured out how to apply color correction / calibration yet

tuto99

  • *****
  • Posts: 532
  • the electricity may be cut by something stimulus.
Re: Coding
« Reply #757 on: August 31, 2019, 08:32:14 AM »
I'm pretty sure there's a threshold for the input image quality right? Like at what point would there not be enough detail to make a reasonably detailed drizzled image?

Also isn't this photo-optimizing technique, or a technique like this, used for security camera snapshots? I know you see the stuff in movies but it's a real thing right? (Or for like license plates)

atomic7732

  • Global Moderator
  • *****
  • Posts: 3781
  • caught in the river turning blue
    • Paladin of Storms
Re: Coding
« Reply #758 on: August 31, 2019, 11:29:26 AM »
ENHANCE

tuto99

  • *****
  • Posts: 532
  • the electricity may be cut by something stimulus.
Re: Coding
« Reply #759 on: August 31, 2019, 01:04:11 PM »
That was the word I was trying to remember mess

vh

  • formerly mudkipz
  • *****
  • Posts: 1138
  • "giving heat meaning"
Re: Coding
« Reply #760 on: August 31, 2019, 04:44:58 PM »
I'm pretty sure there's a threshold for the input image quality right? Like at what point would there not be enough detail to make a reasonably detailed drizzled image?

Also isn't this photo-optimizing technique, or a technique like this, used for security camera snapshots? I know you see the stuff in movies but it's a real thing right? (Or for like license plates)

well it's not magic. basically there are two bottlenecks (well there are many, but relevant to us) to capturing more details: the quality of the optics in the camera, and the resolution of the sensor.

if sensor resolution is the bottleneck -- say each photosite on the camera sensor is 1 mm across, then by shifting the camera exactly 0.5mm and taking another photo, you're basically doubling the resolution of the sensor. and mathematically you can take advantage of that.

of course optics is still a limiting factor, so you can't get infinite super-res this way.


vh

  • formerly mudkipz
  • *****
  • Posts: 1138
  • "giving heat meaning"
Re: Coding
« Reply #761 on: October 06, 2019, 01:33:48 AM »
today we have an optiksim update!!!!

previously we had this

today i wrote a massive amount of code in order to implement fully automated gay luxury gay space lens design. ok not really, but it was very tricky to get right. and i'm kind of surprised it works at all. and the result is that instead of hand designing lenses, i have an optimization algorithm to do it for me. it is fairly amazing

before optimization


after optimization


observe compared to my previous lens design the sharpness at all angles, instead of only directly in the middle of the image.

the design is inspired by the zeiss protar, considered to be the first modern photographic lens


my original lens was pretty much completely unusable. my new optimized lens has an average "sharpness" of 0.37mm (the plots on the right are 1mm^2. a modern camera's photosites are about 0.005mm across. so i have a long ways to go. but i calculated it and this lens should be able to generate sharp images up to 200 by 200 px!!!