All models

FlatNet

Two-stage network that reconstructs images from the measurements of a separable-model lensless camera.

107 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (23 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
59.4M
Operations
107
Framework
PyTorch
Recurrent
No
Published
IEEE TPAMI (arXiv 2020)
Cited by
100 (as of 3 November 2026)
Authors
Salman S. Khan, Varun Sundar, Vivek Boominathan and others
License
BSD-3-Clause
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m16692
Graph hash
68af217e8b5bf13d926bd28ed45124aebc6c29e5c8707c237a8d8728e30c3099
Skeleton hash
fc317fd669c63d2673e6c740b2574e7079a41cb7c06a963b9031b5f1d5c5ff35
Architecture hash
4f877626d68ae85850137114d12e610af5d4ac8aaf3a23396a5ec6f2272e6372
Diagram SHA-256
77d9be0a740d62852b4502dae9bb02f9e57e4241fc07be7e869e66c3b9f5e8f1
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

FlatNet reconstructs images from lensless cameras, which have no focusing lens and rely on computational algorithms to recover the scene from multiplexed measurements. The paper proposes it as a non-iterative alternative to the iterative-optimization-based reconstruction algorithms of the time, which it says produce noisier and perceptually poorer images.

The network has two stages that are trained together end to end. An inversion stage maps the measurement to an intermediate reconstruction by learning parameters within the camera's forward model. A perceptual enhancement stage then improves the perceptual quality of that intermediate reconstruction.

This model is FlatNet-Sep, the version for a camera with a separable forward model; FlatNet-Gen is the version for a more general non-separable cropped-convolution model. In FlatNet-Sep the trainable inversion layer has two weight matrices, which for the paper were initialized from the calibration matrices of a single sensor channel. The repository also supplies random Toeplitz matrices as an alternative initialization for the same layer.

Key idea. FlatNet pairs an inversion stage that learns parameters within the camera's forward model with a perceptual enhancement stage, trained end to end, to reconstruct images from mask-based lensless cameras.

  • FlatNet
  • FlatNet-Sep
  • lensless imaging
  • lensless reconstruction
  • lensless camera
  • FlatCam
  • mask-based lensless camera
  • computational imaging
  • photorealistic reconstruction

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{khan2020flatnetphotorealisticscenereconstruction,
      title={FlatNet: Towards Photorealistic Scene Reconstruction from Lensless Measurements}, 
      author={Salman S. Khan and Varun Sundar and Vivek Boominathan and Ashok Veeraraghavan and Kaushik Mitra},
      year={2020},
      eprint={2010.15440},
      archivePrefix={arXiv},
      primaryClass={eess.IV},
      doi={https://doi.org/10.1109/TPAMI.2020.3033882},
      url={https://arxiv.org/abs/2010.15440}, 
}