File:Stormsuperresolution.webm

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(WebM audio/video file, VP9, length 33 s, 1,000 × 343 pixels, 64 kbps overall, file size: 260 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: Super-resolution (Storm): even if you can't resolve them, if you can make the fluorophores in the object you want to image to turn on a few at a time, you can localize them as the centroid of your point spread function and thus beat the diffraction limit.
Date
Source https://twitter.com/j_bertolotti/status/1239490363968163840
Author Jacopo Bertolotti
Permission
(Reusing this file)
https://twitter.com/j_bertolotti/status/1030470604418428929

Mathematica 12.0 code

[edit]
data = Abs[ExampleData[{"TestImage", "Clock"}, "GrayLevels"] - 1];
data2 = data[[64 ;; 191, 128 ;; 255]];
pos = Position[data2, _?(# > 0.4 &)];
sample = RandomSample[pos];
h = Round[10*((data2[[#[[1]], #[[2]] ]] & /@ sample) - 0.4)/Max[data2 - 0.4]];
size = Dimensions[data2][[1]];
kernel = RotateRight[PadRight[GaussianMatrix[{15, 5}], {size, size}], {-15, -15}];
cd = RotateRight[InverseFourier[Fourier[data2]*Conjugate[Fourier[kernel]]], {10, 10}];
p0 = Table[
   GraphicsRow[{
     ArrayPlot[cd, PlotLabel -> "Diffraction limited image", LabelStyle -> {Black, Bold}],
     ArrayPlot[RotateRight[kernel, {-sample[[n, 1]] + 128, sample[[n, 2]]} ], DataReversed -> True, PlotLabel -> "Image of blinking fluorophores", LabelStyle -> {Black, Bold}],
     Graphics[{Black, PointSize[0.01], Table[{Opacity[h[[j]]/10], Point[{sample[[j, 2]], -sample[[j, 1]] + 128} ]}, {j, 1, n}]},
PlotRange -> {{0, 128}, {0, 128}}, Frame -> True, FrameTicks -> None, PlotLabel -> "Reconstructed image", LabelStyle -> {Black, Bold}]}, ImageSize -> 1000]
   , {n, 1, 5000, 10}];
ListAnimate[p0]

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

This file, which was originally posted to https://twitter.com/j_bertolotti/status/1239490363968163840, was reviewed on 6 July 2020 by reviewer GRuban, who confirmed that it was available there under the stated license on that date.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current11:15, 16 March 202033 s, 1,000 × 343 (260 KB)Berto (talk | contribs)Imported media from uploads:aa97321c-6776-11ea-a831-1e87b8d75c3a

The following page uses this file:

Transcode status

Update transcode status
Format Bitrate Download Status Encode time
VP9 480P 58 kbps Completed 11:15, 16 March 2020 9.0 s
Streaming 480p (VP9) Not ready Unknown status
VP9 360P 38 kbps Completed 11:15, 16 March 2020 7.0 s
Streaming 360p (VP9) Not ready Unknown status
VP9 240P 26 kbps Completed 11:15, 16 March 2020 6.0 s
Streaming 240p (VP9) 27 kbps Completed 22:36, 16 December 2023 1.0 s
WebM 360P 101 kbps Completed 11:15, 16 March 2020 5.0 s
Streaming 144p (MJPEG) 615 kbps Completed 10:35, 19 November 2023 2.0 s

File usage on other wikis

The following other wikis use this file:

Metadata