Published June 14, 2024 | Version 1.0

Dataset of the "Unwrapping Non-Locality in the Image Transmission Through Turbid Media"

Description

This post provides the dataset associated with the study titled "Unwrapping Non-Locality in Image Transmission Through Turbid Media."

The "X_random.npy" file contains speckle image data with dimensions (150,000, 128, 128). The first axis spans the 150,000 images used in this study. The first 120,000 images are speckles corresponding to randomly generated images. The next 10,000 images (from 120,000 to 130,000) correspond to the first 10,000 images of the CelebA dataset. The remaining 20,000 (from 130,000 to 150,000) images consist of the first 10,000 images of the CIFAR and MNIST datasets, respectively.

The ground truth images (SLM commanded images) are provided in "gt_random.npy", "gt_cifar.npy", and "gt_mnist.npy" for randomly generated images, CIFAR, and MNIST datasets, respectively. Each image in these datasets is scaled to a resolution of 128 by 128 pixels. The faces dataset are the 128 by 128 resized images of the CelebA dataset.

A code example of the presented neural network model and its architecture implementation is given in "GAM on ImageNet data.py". This code reads the training dataset (speckle images) from the Ref [1] study ("x_train.npy") and rescales them to 128 by 128 pixels. The rescaled data, along with their corresponding resized SLM commanded images ("y_train.npy"), are used for training the GAM model (the model presented in the manuscript). This code then saves three files: "Trained GAM.h5," "samp_final_16_0.npy," and "samp_final_16_1.npy," which contain the trained model weights and biases and the sampling index of the model nodes, as described in the manuscript and commented on in the "GAM on ImageNet data.py" code.

Code for testing this model is also provided in "test GAM.py." This file reads the testing dataset from the [1] study, specifically "x_test_cat.npy," "x_test_horse.npy," "x_test_punch.npy," and "x_test_parrot.npy" speckle images. It applies the trained model ("Trained GAM.h5," "samp_final_16_0.npy," and "samp_final_16_1.npy") to them. The code then calculates the structural similarity index (SSIM) to the ground truth files, namely "y_test_cat.npy," "y_test_horse.npy," "y_test_punch.npy," and "y_test_parrot.npy" for the "x_test_cat.npy," "x_test_horse.npy," "x_test_punch.npy," and "x_test_parrot.npy" data, respectively.

Reference

[1] Caramazza, P., Moran, O., Murray-Smith, R., & Faccio, D. (2019). Transmission of natural scene images through a multimode fibre. Nature Communications, 10(1), 2029.

Files

Files (15.5 GB)

Name Size
md5:4edd64da100d0ab69b27921df7e311f3
10.4 kB Download
md5:2bc9528ce524b28e14668b18d569e60c
163.8 MB Download
md5:0a75a8ca21993e8576c6b003527539f6
163.8 MB Download
md5:5f813edbfb7b3462d56bb376bbede471
2.0 GB Download
md5:b8463b69086fbbc1e793f42503ca95c9
10.1 kB Download
md5:92c66bb81050248a7ac603ab1aa762e9
10.1 kB Download
md5:433391ea3d495127d6511e577fcd1586
18.6 kB Download
md5:010acfaeb75896cdc0ca74f279425783
48.3 MB Download
md5:90aacc8a4a20af87a6837a80d20b55c6
4.9 GB Download
md5:8f4044f0b2a748ae6c772b96d709d82a
1.4 MB Download
md5:e4702e2a66c656bd3ce8462a433d12ab
1.4 MB Download
md5:a7b729547ab383728340c31a2031427b
2.5 MB Download
md5:28159d826b61bbb2d4c27c0a20bc4ec8
1.4 MB Download
md5:05f61fead6b94e6a51b34c7838c1b4e4
5.2 GB Download
md5:8cd58b3bea075ae9900a94aa536e438f
812.7 kB Download
md5:7c8fd147160273ef01b8fc235f81c021
812.7 kB Download
md5:1fb8a44520697b7e090c1622f161d59b
1.5 MB Download
md5:8bafecbbc67a79023faea6f63d621a84
812.7 kB Download
md5:20439db811b7f4816a55582d1babbec2
3.0 GB Download

Additional details

Software

Programming language
Python