File:Ghost imaging.gif

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

Ghost_imaging.gif(538 × 218 pixels, file size: 3.25 MB, MIME type: image/gif, looped, 256 frames)

Captions

Captions

Schematic of the ghost imaging technique

Summary[edit]

Description
English: Instead of using a single light source and a pixellated detector, you can use a patterned illumination and a single pixel detector. Combining the (known) illumination patterns with the measured values, the original image can be reconstructed.

[Refs]

  • R.S. Bennink, S.J. Bentley, and R.W. Boyd, Phys. Rev. Lett. 89, 113601 (2002).
  • P. Sen et al., ACM Transactions on Graphics 24, 745 (2005).
  • M.J. Padgett, and R.W. Boyd, Phil. Trans. R. Soc. A 375, 20160233 (2016).
Date
Source https://twitter.com/j_bertolotti/status/1138375699855749121
Author Jacopo Bertolotti
Permission
(Reusing this file)
https://twitter.com/j_bertolotti/status/1030470604418428929

Mathematica 11.0 code[edit]

ghost3 = Import["<path to the image>"];
(*Pad and reshape the image so that it is a 512x512 array of 0 and 1*)
mp = 32;
dim = 2^9/mp;
h = HadamardMatrix[(dim)^2];
ArrayPlot[UnitStep@h]
min = Min[h];
max = Max[h];
b = Table[
   N@ArrayFlatten[Partition[h[[j]], dim] /. {max -> ConstantArray[max, {32, 32}], min -> ConstantArray[min, {32, 32}]}], {j, 1, dim^2}];
c = Table[Total[Flatten[ghost3*b[[j]] ]], {j, 1, dim^2}];
partialsums = Accumulate[b*c];
p1 = Table[
   Grid[{{
      ArrayPlot[UnitStep[b[[j]] ]*ghost3, Frame -> False, PlotLabel -> "Illuminated object", LabelStyle -> {Black, Bold, FontSize -> 14}]
      ,
      Graphics3D[{Cylinder[{{0, 0, 0}, {0.5, 0.5, 0}}, 1], Cylinder[{{-0.3, -0.3, 0}, {0.5, 0.5, 0}}, 0.5], Text[Style[c[[j]], Bold, FontSize -> 14], {1.5, -2, 0}]}, Boxed -> False, Lighting -> "Neutral",  
       PlotLabel -> "Single-pixel\ndetector", LabelStyle -> {Black, Bold, FontSize -> 14}]
      ,
      ArrayPlot[partialsums[[j]], Frame -> False, PlotLabel -> "\!\(\*SubscriptBox[\(\[CapitalSigma]\), \(j\)]\) \ \!\(\*SubscriptBox[\(c\), \(j\)]\)\!\(\*SubscriptBox[\(P\), \ \(j\)]\)", LabelStyle -> {Black, Bold, FontSize -> 14}]
      }}]
   , {j, 1, dim^2, 1}];
ListAnimate[p1]

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.

File history

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

Date/TimeThumbnailDimensionsUserComment
current08:26, 13 June 2019Thumbnail for version as of 08:26, 13 June 2019538 × 218 (3.25 MB)Berto (talk | contribs)User created page with UploadWizard

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file:

Metadata