Skip to content

This repository contains the code to reproduce the results presented in the paper following paper: *N. Diaz, A. Alvarado, P. Meza, F. Guzman and E. Vera, "Multispectral Filter Array Design by Optimal Sphere Packing," in Transactions on Image Processing, 2023.

License

nelson10/DemosaickingMultispectral3DSpherePacking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multispectral filter array by optimal sphere packing

This repository contains the code to reproduce the results presented in the paper following paper:

*Nelson Diaz, Alejandro Alvarado, Pablo Meza, Felipe Guzman and Esteban Vera, "Multispectral Filter Array Design by Optimal Sphere Packing," in IEEE Transactions on Image Processing, 2023. link

This repository aims to design the multispectral filter array (MSFA) using sphere packing approach. The reconstruction is performed using the captured compressive projection and exploiting the MSFA using interpolation method, demosaicking methods and deep learning methods.

Usage

This code was written using Matlab R2022a. It should be downloaded the DemosaickingMultispectral3DSpherePacking repository

  1. Download this repository via git
git clone https://github.com/nelson10/DemosaickingMultispectral3DSpherePacking.git
  1. To run the code use the function MainFigures.m that performs the sensing, and the reconstruction using interpolation, demosaicking algorithms and deep learning.
  2. Or MainFigures.m that computes the coded aperture using sphere packing approach.

Datasets and run file

  1. The datasets could be download from the following link

  2. The files should be placed in the Dataset, Test, and Test1 folder of this repository.

  3. Run the MainFigures.m files, it computes the figures of the paper from figures 2 to 9. Moreover,

Abstract

Multispectral imaging collects a datacube of spatio-spectral information of a scene. Many acquisition methods for spectral imaging use scanning, preventing its widespread usage for dynamic scenes. On the other hand, the conventional color filter array (CFA) method often used to sample color images has also been extended to snapshot MSI using a Multispectral Filter Array (MSFA), which is a mosaic of selective spectral filters placed over the Focal Plane Array (FPA). However, even state-of-the-art MSFAs coding patterns produce artifacts and distortions in the reconstructed spectral images, which might be due to the non-optimal distribution of the spectral filters. To reduce the appearance of artifacts and provide tools for the optimal design of MSFAs, this paper proposes a novel mathematical framework to design MSFAs using a Sphere Packing (SP) approach. By assuming that each sampled filter can be represented by a sphere within the discrete datacube, SP organizes the position of the equal-size and disjoint spheres’s centers in a cubic container. Our method is denoted Multispectral Filter Array by Optimal Sphere Packing (MSFA-OSP), which seeks filter positions that maximize the minimum distance between the spheres’s centers. Simulation results show an image quality improvement of up to 2 dB and a remarkable boost in spectral similarity when using our proposed MSFA design approach for a variety of reconstruction algorithms. Moreover, MSFA-OSP notably reduces the appearance of false colors and zipper effect artifacts, often seen when using state-of-the-art demosaicking algorithms. Experiments using synthetic and real data prove that the proposed MSFA-OSP outperforms state-of-the-art MSFAs in terms of spatial and spectral fidelity.

This repository reproduces figures 2-9.









About

This repository contains the code to reproduce the results presented in the paper following paper: *N. Diaz, A. Alvarado, P. Meza, F. Guzman and E. Vera, "Multispectral Filter Array Design by Optimal Sphere Packing," in Transactions on Image Processing, 2023.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published