-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Squash commit including some minor bug fixes.
- Loading branch information
Showing
315 changed files
with
7,865 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
% Simultaneous Demosaicing and Chromatic Aberration Correction through Spectral Reconstruction | ||
% Version 2.0.0 18-Jul-2019 | ||
% | ||
% Refer to README.md for setup instructions and high-level documentation. | ||
% | ||
% Subdirectories are documented with their own 'Contents.m' files, and are also | ||
% described in README.md | ||
% | ||
% Files | ||
% SetFixedParameters - Set parameters used by multiple scripts in the codebase. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
% ABERRATION_CORRECTION | ||
% Version 2.0.0 18-Jul-2019 | ||
% | ||
% Spectral or colour image reconstruction and chromatic aberration correction. | ||
% | ||
% Image reconstruction or correction scripts | ||
% CorrectByHyperspectralADMM - Demosaicing and hyperspectral ADMM-based correction of chromatic aberration | ||
% CorrectByWarping - Correction of chromatic aberration by image warping | ||
% | ||
% Image transformation | ||
% channelConversionMatrix - Create a sparse matrix to convert images between colour spaces | ||
% mosaicMatrix - Create a sparse matrix to mosaic an image | ||
% warpImageSpectral - Patch-wise warping and conversion to colour of a spectral image | ||
% | ||
% Regularization operators for optimization problems | ||
% spatialGradient - Create sparse matrices acting as image spatial gradient operators | ||
% spatialLaplacian - Create a sparse matrix acting as an image spatial Laplacian operator | ||
% spectralGradient - Create a sparse matrix acting as an image spectral gradient operator | ||
% TestMatrices - Test script for matrix generation functions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
% ADMM | ||
% Version 2.0.0 18-Jul-2019 | ||
% | ||
% Image reconstruction optimization problem setup and resolution. | ||
% | ||
% Alternating Direction Method of Multipliers | ||
% baek2017Algorithm2LowMemory - Run ADMM (loosely) as in Algorithm 2 of Baek et al. 2017 | ||
% initBaek2017Algorithm2LowMemory - Allocate memory for 'baek2017Algorithm2LowMemory()' | ||
% solvePatchesColor - Run ADMM (loosely) as in Algorithm 2 of Baek et al. 2017, with weight selection and patch-wise decomposition | ||
% solvePatchesSpectral - Run ADMM for spectral image estimation | ||
% | ||
% Regularization weight selection for the optimization problem | ||
% initPenalties - Allocate memory for 'penalties()' | ||
% initWeightsLowMemory - Allocate memory for 'weightsLowMemory()' | ||
% penalties - Calculate data fitting and regularization errors | ||
% weightsLowMemory - Select regularization weights using a grid search |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
% PATCH | ||
% Version 2.0.0 18-Jul-2019 | ||
% | ||
% Helper code for image splitting into patches. | ||
% | ||
% Files | ||
% patchBoundaries - Find the inner and outer boundaries of an image patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.