File:Ghost imaging.gif
Ghost_imaging.gif (538 × 218 像素,檔案大小:3.25 MB,MIME 類型:image/gif、循環、256 畫格)
摘要
描述Ghost imaging.gif |
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]
|
日期 | |
來源 | https://twitter.com/j_bertolotti/status/1138375699855749121 |
作者 | Jacopo Bertolotti |
授權許可 (重用此檔案) |
https://twitter.com/j_bertolotti/status/1030470604418428929 |
Mathematica 11.0 code
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]
授權條款
我,本作品的著作權持有者,決定用以下授權條款發佈本作品:
此檔案在創用CC CC0 1.0 通用公有領域貢獻宣告之下分發。 | |
在此宣告之下分發本作品者,已依據各國著作權法,在全世界放棄其對本作品所擁有的著作權及所有相關相似的法律權利,從而將本作品貢獻至公有領域。您可以複製、修改、分發和演示該作品,用於任何商業用途,所有這些都不需要請求授權。
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
11 6 2019
image/gif
檔案歷史
點選日期/時間以檢視該時間的檔案版本。
日期/時間 | 縮圖 | 尺寸 | 使用者 | 備註 | |
---|---|---|---|---|---|
目前 | 2019年6月13日 (四) 08:26 | 538 × 218(3.25 MB) | Berto | User created page with UploadWizard |
檔案用途
詮釋資料
此檔案中包含其他資訊,這些資訊可能是由數位相機或掃描器在建立或數位化過程中所新增的。若檔案自原始狀態已被修改,一些詳細資料可能無法完整反映出已修改的檔案。
GIF 檔案備註 | Created with the Wolfram Language : www.wolfram.com |
---|