plateform stringclasses 1
value | repo_name stringlengths 13 113 | name stringlengths 3 74 | ext stringclasses 1
value | path stringlengths 12 229 | size int64 23 843k | source_encoding stringclasses 9
values | md5 stringlengths 32 32 | text stringlengths 23 843k |
|---|---|---|---|---|---|---|---|---|
github | mu-diff/mu-diff-master | FarFieldDoubleLayer.m | .m | mu-diff-master/PostProcessing/FarField/Interface/FarFieldDoubleLayer.m | 1,807 | utf_8 | b7a08aff0dc92e30957e1f4c88ecdaa1 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | RCSDoubleLayer.m | .m | mu-diff-master/PostProcessing/FarField/Interface/RCSDoubleLayer.m | 1,963 | utf_8 | 35742a44dbd7e5cd39b3628e7fc8db76 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | ExternalPotential.m | .m | mu-diff-master/PostProcessing/NearField/ExternalPotential.m | 7,693 | utf_8 | c70aeb02f58bcbc7911da9e1d684d137 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | InternalPotential.m | .m | mu-diff-master/PostProcessing/NearField/InternalPotential.m | 7,233 | utf_8 | 287e0f6eabc6ba277bcbf0c7db402382 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | InternalDoubleLayerPotential.m | .m | mu-diff-master/PostProcessing/NearField/Interface/InternalDoubleLayerPotential.m | 3,310 | utf_8 | 1a11a732f784eb6580356af66b1cf202 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | ExternalDoubleLayerPotential.m | .m | mu-diff-master/PostProcessing/NearField/Interface/ExternalDoubleLayerPotential.m | 3,310 | utf_8 | 003ebd92c9b68012afb8c6c6b82c3a74 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | InternalSingleLayerPotential.m | .m | mu-diff-master/PostProcessing/NearField/Interface/InternalSingleLayerPotential.m | 3,292 | utf_8 | c65c87e8bf639b4b5fd32e73a4f66826 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | ExternalSingleLayerPotential.m | .m | mu-diff-master/PostProcessing/NearField/Interface/ExternalSingleLayerPotential.m | 3,292 | utf_8 | ad8bee33ec2cd6b3d9921d5e11bb6881 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | GetPotentialOptions.m | .m | mu-diff-master/PostProcessing/NearField/Functions/GetPotentialOptions.m | 1,572 | utf_8 | 5fffebc3bb71affee9052f311f699c63 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | BlockPotential.m | .m | mu-diff-master/PostProcessing/NearField/Functions/BlockPotential.m | 4,329 | utf_8 | 8fa917e255a5dbce6b19a38f36a9a3b9 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | BoundaryOfObstacles.m | .m | mu-diff-master/PostProcessing/Geometry/BoundaryOfObstacles.m | 1,655 | utf_8 | c9d58a1f232c1e7459485cef34865080 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | MaskMatrixObstacles.m | .m | mu-diff-master/PostProcessing/Geometry/MaskMatrixObstacles.m | 1,946 | utf_8 | 7d355ab52d7ab8a2bf85c23134b9b214 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | PlotCircles.m | .m | mu-diff-master/PostProcessing/Geometry/PlotCircles.m | 2,653 | utf_8 | 3129fef6937b630ead90b4b553ff9315 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | IncidentWaveOnGrid.m | .m | mu-diff-master/PostProcessing/IncidentWave/IncidentWaveOnGrid.m | 3,087 | utf_8 | 301201a1ec7f0e3824406f297b1593bd | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | HerglotzWave.m | .m | mu-diff-master/Examples/TimeReversal/FarField/Common/HerglotzWave.m | 851 | utf_8 | f98e3e81c0e24ac560919c9865af2631 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | TimeReversalOperator.m | .m | mu-diff-master/Examples/TimeReversal/FarField/Common/TimeReversalOperator.m | 4,818 | utf_8 | 221aa36c97389317bffe1161e0053707 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | dbesselj.m | .m | mu-diff-master/Common/dbesselj.m | 829 | utf_8 | 9c71e48f157d9be9dd359aac7ab7b143 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | ParserIncidentWave.m | .m | mu-diff-master/Common/ParserIncidentWave.m | 2,500 | utf_8 | 4a873e0f73a021ea6dd815c8319b2801 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | CellDiag.m | .m | mu-diff-master/Common/CellDiag.m | 673 | utf_8 | ce04ac585bcac1d24dd3ffa891cb8668 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | GetK.m | .m | mu-diff-master/Common/GetK.m | 457 | utf_8 | 6b26c5e530c474d0cc21ea711104ee99 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | CellFromMat.m | .m | mu-diff-master/Common/CellFromMat.m | 1,257 | utf_8 | a8d281e9fe153878715131435b1c548d | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | repeat_horiz.m | .m | mu-diff-master/Common/repeat_horiz.m | 901 | utf_8 | 91de1743829746ed6b34a3cd43bb6ad8 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | repeat_vert.m | .m | mu-diff-master/Common/repeat_vert.m | 883 | utf_8 | 6c8841fd0aad4432e3fcf948156876f5 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | ParserIntegralOperator.m | .m | mu-diff-master/Common/ParserIntegralOperator.m | 4,589 | utf_8 | 304324e12ee2915725cfcacbdc91b437 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | dbesselh.m | .m | mu-diff-master/Common/dbesselh.m | 1,117 | utf_8 | 052d3ded40e08ee6d24e6087693f6ca0 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | dbessely.m | .m | mu-diff-master/Common/dbessely.m | 868 | utf_8 | f6d941192108f0be18fba16b39dfc514 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | fangle.m | .m | mu-diff-master/Common/fangle.m | 759 | utf_8 | 5d6b35833cf85ded9bafebdce9303e90 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | GetTypeOfOperatorOrWeight.m | .m | mu-diff-master/Common/GetTypeOfOperatorOrWeight.m | 545 | utf_8 | a8d7ca996fa426478a45d4a94d244a06 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | NeumannRCS.m | .m | mu-diff-master/Solver/Neumann/NeumannRCS.m | 1,018 | utf_8 | da518f7ce3ef5e871078b5c1f38573b9 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | NeumannNearField.m | .m | mu-diff-master/Solver/Neumann/NeumannNearField.m | 1,641 | utf_8 | fe27e9537facca3ea3218267f0ea27d0 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | NeumannSolver.m | .m | mu-diff-master/Solver/Neumann/NeumannSolver.m | 4,095 | utf_8 | 75db4fcf9c9d0d83e89f22443ce1fcd9 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | NeumannFarField.m | .m | mu-diff-master/Solver/Neumann/NeumannFarField.m | 1,116 | utf_8 | 67471a856b61b3607ee85dc42bbc29f5 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | DirichletFarField.m | .m | mu-diff-master/Solver/Dirichlet/DirichletFarField.m | 1,126 | utf_8 | 05e60b3517e3792a68c2a70dc79443ae | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | DirichletNearField.m | .m | mu-diff-master/Solver/Dirichlet/DirichletNearField.m | 1,650 | utf_8 | 3948fa9d887802fedfcdb64bcc1c586e | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | DirichletRCS.m | .m | mu-diff-master/Solver/Dirichlet/DirichletRCS.m | 1,036 | utf_8 | 2c4031b0b71ba313165fc2814ee71945 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | DirichletSolver.m | .m | mu-diff-master/Solver/Dirichlet/DirichletSolver.m | 4,091 | utf_8 | 41fef7387e1ab9675daa1a5f29fa70b9 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | PenetrableNearField.m | .m | mu-diff-master/Solver/Penetrable/PenetrableNearField.m | 1,811 | utf_8 | bf1afd6700ab1e32af241ebd2ac39cf0 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | PenetrableFarField.m | .m | mu-diff-master/Solver/Penetrable/PenetrableFarField.m | 1,135 | utf_8 | df108cdf266c1dc27ae23af0a542b682 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | PenetrableRCS.m | .m | mu-diff-master/Solver/Penetrable/PenetrableRCS.m | 1,045 | utf_8 | 9e9d60e1c8ece49f5b7ac79440f61b34 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | mu-diff/mu-diff-master | PenetrableSolver.m | .m | mu-diff-master/Solver/Penetrable/PenetrableSolver.m | 4,883 | utf_8 | f1b62aed8e036a458eb29fcc5e860743 | % mu-diff - Copyright (C) 2014-2020 X. Antoine and B. Thierry, University of Lorraine, CNRS, France
%
% See the LICENSE.txt file for license information. Please report all
% bugs and problems to either (replace [at] and [dot] by arobase and dot)
% Xavier.Antoine [at] univ-lorraine [dot] fr
% BThierry [at] math.cnrs... |
github | SimonTomazic/gtsam-master | ccolamd_test.m | .m | gtsam-master/gtsam/3rdparty/CCOLAMD/MATLAB/ccolamd_test.m | 11,803 | utf_8 | 2cf7c488966fe7d5987b4062e6f6a1ca | function ccolamd_test
%CCOLAMD_TEST extensive test of ccolamd and csymamd
%
% Example:
% ccolamd_test
%
% See also csymamd, ccolamd, ccolamd_make.
% Copyright 1998-2007, Timothy A. Davis, Stefan Larimore, and Siva Rajamanickam
% Developed in collaboration with J. Gilbert and E. Ng.
help ccolamd_test
global ccolamd... |
github | SimonTomazic/gtsam-master | geodarea.m | .m | gtsam-master/gtsam/3rdparty/GeographicLib/matlab/geodarea.m | 4,241 | utf_8 | a20b9abbe24d8781e0c053b3ddfd9f3a | function [A, P, N] = geodarea(lats, lons, ellipsoid)
%GEODAREA Surface area of polygon on an ellipsoid
%
% A = GEODAREA(lats, lons)
% [A, P, N] = GEODAREA(lats, lons, ellipsoid)
%
% calculates the surface area A of the geodesic polygon specified by the
% input vectors lats, lons (in degrees). The ellipsoid ve... |
github | SimonTomazic/gtsam-master | geoddistance.m | .m | gtsam-master/gtsam/3rdparty/GeographicLib/matlab/geoddistance.m | 17,333 | utf_8 | 3b8e33df114efbd010cafcfdd2b79868 | function [s12, azi1, azi2, S12, m12, M12, M21, a12] = geoddistance ...
(lat1, lon1, lat2, lon2, ellipsoid)
%GEODDISTANCE Distance between points on an ellipsoid
%
% [s12, azi1, azi2] = GEODDISTANCE(lat1, lon1, lat2, lon2)
% [s12, azi1, azi2, S12, m12, M12, M21, a12] =
% GEODDISTANCE(lat1, lon1, lat2, lo... |
github | SimonTomazic/gtsam-master | tranmerc_fwd.m | .m | gtsam-master/gtsam/3rdparty/GeographicLib/matlab/tranmerc_fwd.m | 5,674 | utf_8 | acff0226812f95bc17989337218cdde5 | function [x, y, gam, k] = tranmerc_fwd(lat0, lon0, lat, lon, ellipsoid)
%TRANMERC_FWD Forward transverse Mercator projection
%
% [X, Y] = TRANMERC_FWD(LAT0, LON0, LAT, LON)
% [X, Y, GAM, K] = TRANMERC_FWD(LAT0, LON0, LAT, LON, ELLIPSOID)
%
% performs the forward transverse Mercator projection of points (LAT,LON)... |
github | SimonTomazic/gtsam-master | tranmerc_inv.m | .m | gtsam-master/gtsam/3rdparty/GeographicLib/matlab/tranmerc_inv.m | 5,994 | utf_8 | 3ccf6b37ca13daed68a0ae8f166151ce | function [lat, lon, gam, k] = tranmerc_inv(lat0, lon0, x, y, ellipsoid)
%TRANMERC_INV Inverse transverse Mercator projection
%
% [LAT, LON] = TRANMERC_INV(LAT0, LON0, X, Y)
% [LAT, LON, GAM, K] = TRANMERC_INV(LAT0, LON0, X, Y, ELLIPSOID)
%
% performs the inverse transverse Mercator projection of points (X,Y) to
... |
github | SimonTomazic/gtsam-master | gtsamExamples.m | .m | gtsam-master/matlab/gtsam_examples/gtsamExamples.m | 5,664 | utf_8 | f2621b78fabdb370c4f63d5e0309b7e9 | function varargout = gtsamExamples(varargin)
% GTSAMEXAMPLES MATLAB code for gtsamExamples.fig
% GTSAMEXAMPLES, by itself, creates a new GTSAMEXAMPLES or raises the existing
% singleton*.
%
% H = GTSAMEXAMPLES returns the handle to a new GTSAMEXAMPLES or the handle to
% the existing singleton*.
%
% ... |
github | SimonTomazic/gtsam-master | VisualISAM_gui.m | .m | gtsam-master/matlab/gtsam_examples/VisualISAM_gui.m | 10,009 | utf_8 | ed501f5a7d855d179385d3bb29e65500 | function varargout = VisualISAM_gui(varargin)
% VisualISAM_gui: runs VisualSLAM iSAM demo in GUI
% Interface is defined by VisualISAM_gui.fig
% You can run this file directly, but won't have access to globals
% By running ViusalISAMDemo, you see all variables in command prompt
% Authors: Duy Nguyen Ta
% Last Mod... |
github | Liusifei/Face-Hallucination-master | norm_sender_normalized.m | .m | Face-Hallucination-master/Lib/measure/divine/norm_sender_normalized.m | 4,248 | utf_8 | c1917e5e92ee640096a4105df926d59d |
% try to fix the range of z field
function [subband size_band] = norm_sender_normalized(pyro,pind,Nsc,Nor,parent,neighbor,blSzX,blSzY,nbins)
guardband = 16;
pyro = real(pyro);
Nband = size(pind,1)-1;
band = [1 3 6 8 9 11];
zRange = 15;
p = 1;
for scale=1:Nsc
for orien=1:N... |
github | Liusifei/Face-Hallucination-master | PatchMatch_J.m | .m | Face-Hallucination-master/Lib/patchmatch-2.1/PatchMatch_J.m | 3,795 | utf_8 | c4a364fbc57bbe87f80fcc633fc552a5 | % Modified for Jpeg encoded block DCT image
function [D_best,ann] = PatchMatch_J(IM_a,IM_b,itern)
global SIZE; global PATCHSIZE; global INTERVALSIZE;
SIZE = size(IM_a);
patchSize = 8; PATCHSIZE = patchSize;
intervalSize = patchSize; INTERVALSIZE = intervalSize;
global MAX_X;
global MAX_Y;
[Patches_a,max_x,max_y] = ... |
github | Liusifei/Face-Hallucination-master | Patch_Present_SR.m | .m | Face-Hallucination-master/Lib/patchmatch-2.1/Patch_Present_SR.m | 1,564 | utf_8 | d8ece940c1fb7b4a6348e640c19373da | % modified from Patch_Present.m
% reconstruct a through examplehr, with index ann;
function Cons_a = Patch_Present_SR(examplehr, ann_y, factor)
if ~exist('factor','var')
factor = 4;
end
global SIZE; global PATCHSIZE; global INTERVALSIZE;
size = [320,256];
patchsize = PATCHSIZE * factor;
intervalSize = INTERVALSIZE... |
github | Liusifei/Face-Hallucination-master | Patch_Present_SR_t.m | .m | Face-Hallucination-master/Lib/patchmatch-2.1/Patch_Present_SR_t.m | 1,708 | utf_8 | 384b487d907112149b465cc5538c2401 | % modified from Patch_Present.m
% reconstruct through examplehr, with index ann;
function Cons_a = Patch_Present_SR_t(examplehr, ind_size, factor)
if ~exist('factor','var')
factor = 4;
end
global SIZE; global PATCHSIZE; global INTERVALSIZE;
size = [320,256];
patchsize = PATCHSIZE * factor;
intervalSize = INTERVALS... |
github | Liusifei/Face-Hallucination-master | im2patches.m | .m | Face-Hallucination-master/Lib/patchmatch-2.1/im2patches.m | 1,630 | utf_8 | 0c842f5f92143119ed59ae21b98de11a | % function to convert an image into patches according to a possible mask
% note that for now im has to be a grayscale image
function [patches,max_x,max_y] = im2patches(im,patchSize,intervalSize)
if exist('boundarySize','var')~=1
boundarySize = ceil(patchSize/2); % 5
end
% if boundarySize < patchSize
% error('T... |
github | Liusifei/Face-Hallucination-master | FAST_NLM_II.m | .m | Face-Hallucination-master/Lib/image denoise/FAST_NLM_II.m | 4,487 | utf_8 | 601c7105811f45fc7d6ccc12b231c363 | function DenoisedImg = FAST_NLM_II(NoisyImg,PatchSizeHalf,WindowSizeHalf,Sigma)
% -------------------------------------------------------------------------
% Function FAST_NLM_II (Fast Non-Local Mean Image Denoising using Integral Image)
% Implemented method from the paper
% "FAST NONLOCAL FILTERING APPLIED TO ELECTRO... |
github | Liusifei/Face-Hallucination-master | F26_UpsampleAndBlur.m | .m | Face-Hallucination-master/Code/Ours2/F26_UpsampleAndBlur.m | 1,362 | utf_8 | f180d69ccb2e739ad756a90636a16fed | %Chih-Yuan Yang
%07/20/14 I update the file to support the scaling factor of 3.
%This function is the same as IF5 used in F4d,
function diff_hr = F26_UpsampleAndBlur(diff_lr,zooming, Gau_sigma)
[h w] = size(diff_lr);
h_hr = h*zooming;
w_hr = w*zooming;
upsampled = zeros(h_hr,w_hr);
if zooming == 3
... |
github | Liusifei/Face-Hallucination-master | F40fs_GetTexturePatchMatch_Aligned.m | .m | Face-Hallucination-master/Code/Ours2/F40fs_GetTexturePatchMatch_Aligned.m | 3,569 | utf_8 | f21cdf5e9a8d27fe10f4edb73c9cbca3 | %Chih-Yuan Yang
%01/26/15
%Replace F19a by F19c on line 53.
%
%I want to know how Sifei add her code in this file to improve the output images?
%Use patchmatch to retrieve a texture background
% patchmatch for Lab 3 channels
% using stv
function [gradients_texture, img_color] = F40fs_GetTexturePatchMatch_Aligned(img_y,... |
github | Liusifei/Face-Hallucination-master | U25_ReturnTheLargestToDoNumber.m | .m | Face-Hallucination-master/Code/Ours2/U25_ReturnTheLargestToDoNumber.m | 680 | utf_8 | ac9bd76370d52880c73d168ace8c9354 | %Chih-Yuan Yang
%09/21/12
%To parallel run Glasner's algorithm
function fileidx = U25_ReturnTheLargestToDoNumber(fn_symphony,iistart)
fileidx = -1; %default, if
fid = fopen(fn_symphony,'r+');
C = textscan(fid,'%05d %s %d\n');
iiend = length(C{1,3});
bwriteback = false;
for i=iistart:iien... |
github | Liusifei/Face-Hallucination-master | F5_RetriveAreaGradientsByAlign.m | .m | Face-Hallucination-master/Code/Ours2/F5_RetriveAreaGradientsByAlign.m | 2,894 | utf_8 | 82e41346447277bf03114405f1813844 | %Chih-Yuan Yang
%09/04/12
function gradientcandidate = F5_RetriveAreaGradientsByAlign(testimage_lr, rawexampleimage, inputpoints, basepoints, region_lr, zooming, Gau_sigma)
%copy nose region
% region_lr.left_coor = min(landmarks_test_lr(28:36,1));
% region_lr.right_coor = max(landmarks_test_lr(28:36,1));
% ... |
github | Liusifei/Face-Hallucination-master | F44_ComputeTransformMatrix.m | .m | Face-Hallucination-master/Code/Ours2/F44_ComputeTransformMatrix.m | 1,313 | utf_8 | ae1fc6dbc82ddcbe0df6c9fac2da5c13 | %Chih-Yuan Yang
%08/29/12
%the two base_points are assumed horizontal
function transformmatrix = F44_ComputeTransformMatrix(input_points, base_points)
%check whether the two base_points are horizontal
point1.y = base_points(1,2);
point2.y = base_points(2,2);
if point1.y ~= point2.y
error('Two p... |
github | Liusifei/Face-Hallucination-master | U5b_ReadFileNameList_NoIdx_Comment.m | .m | Face-Hallucination-master/Code/Ours2/U5b_ReadFileNameList_NoIdx_Comment.m | 569 | utf_8 | 8c9bb9af724b6404d0fdb3ef2986a252 | %Chih-Yuan Yang
%03/07/13
%U5: read list from a file and return it as an cell array
function filenamelist = U5b_ReadFileNameList_NoIdx_Comment( fn_list )
fid = fopen(fn_list,'r');
%skip the heading comment lines started with %
tline = fgetl(fid);
idx_fn = 0;
filenamelist = cell(1);
while ischar(... |
github | Liusifei/Face-Hallucination-master | U5c_ReadFileNameList_NoIdx_MoreComment.m | .m | Face-Hallucination-master/Code/Ours2/U5c_ReadFileNameList_NoIdx_MoreComment.m | 1,524 | utf_8 | 9d849ba332bfffa907fef336249d2766 | %Chih-Yuan Yang
%09/01/13
%U5: read list from a file and return it as an cell array
%U5c: add more comment controls, the comment sign % may occur at the end of a line
function filenamelist = U5c_ReadFileNameList_NoIdx_MoreComment( fn_list )
fid = fopen(fn_list,'r');
%skip the heading comment lines started with ... |
github | Liusifei/Face-Hallucination-master | F24_ExtractFeatureFromArea.m | .m | Face-Hallucination-master/Code/Ours2/F24_ExtractFeatureFromArea.m | 499 | utf_8 | d57fe9426432a6780c5c2b2bb18b1790 | %Chih-Yuan Yang
%09/25/12
%Change name, from U16 to F24
function feature = F24_ExtractFeatureFromArea(area)
[h w] = size(area);
%the feature: gradient
%check type, int8 can not compute feature
if isa(area,'double')
area_double = area;
else
area_double = double(area);
end
dx =... |
github | Liusifei/Face-Hallucination-master | F37h_GetTexturePatchMatch_Update.m | .m | Face-Hallucination-master/Code/Ours2/F37h_GetTexturePatchMatch_Update.m | 15,932 | utf_8 | 00aee22e37209c1b4027caf2f94d1c65 | %Chih-Yuan Yang
%07/19/14
%Use patchmatch to retrieve a texture background
%F37h: This file is updated from F37f to support the scaling factor of 3.
function [gradients_texture, img_texture, img_texture_backprojection] = F37h_GetTexturePatchMatch_Update(img_y, ...
hrexampleimages, lrexampleimages, landmarks_test, r... |
github | Liusifei/Face-Hallucination-master | F4e_GenerateIntensityFromGradient.m | .m | Face-Hallucination-master/Code/Ours2/F4e_GenerateIntensityFromGradient.m | 3,699 | utf_8 | ae86fa2df443f8d5464c4535d2a5fd5f | %Chih-Yuan Yang
%07/20/14
%F4b: change first gradient from F19 to F19a, which uses a precise Gaussian kernel
%F4c: F4b is too slow, change the parameters
%F4d: open all parameters because they matter
%Gradually incrase the coef of high-low term to achieve the contrained optimization problem
%F4e: I replace the internal... |
github | Liusifei/Face-Hallucination-master | F36_ShiftLandmark.m | .m | Face-Hallucination-master/Code/Ours2/F36_ShiftLandmark.m | 267 | utf_8 | 9030707013389512ace0c0e133d0d4f0 | %Chih-Yuan Yang
%10/03/12
%for wild face
function landmark_shift = F36_ShiftLandmark(landmark,coorshiftx,coorshifty)
landmark_shift = zeros(68,2);
landmark_shift(:,1) = landmark(:,1) - coorshiftx;
landmark_shift(:,2) = landmark(:,2) - coorshifty;
end
|
github | Liusifei/Face-Hallucination-master | U27c_CreateSemaphoreFile_IndexOnly_PartialOnes.m | .m | Face-Hallucination-master/Code/Ours2/U27c_CreateSemaphoreFile_IndexOnly_PartialOnes.m | 327 | utf_8 | 0b5ce8051ca714af502edc5311ba580c | %Chih-Yuan Yang
%3/30/13
%
function U27c_CreateSemaphoreFile_IndexOnly_PartialOnes(fn_create,iiend,num_filluntil)
fid = fopen(fn_create,'w+');
for i=1:iiend
if i <= num_filluntil
fprintf(fid,'%05d 1\n',i);
else
fprintf(fid,'%05d 0\n',i);
end
end
fclose(fid... |
github | Liusifei/Face-Hallucination-master | F33a_ComputeMask_Eyebrows.m | .m | Face-Hallucination-master/Code/Ours2/F33a_ComputeMask_Eyebrows.m | 2,033 | utf_8 | 2e79bb33e4ba049ac5e3d4bf37ba5416 | %Chih-Yuan Yang
%07/20/14
%F33a: I add new inputs to support the scaling factor of 3. I also replace F19a to F19c.
function [mask_lr, mask_hr] = F33_ComputeMask_Eyebrows(landmarks_hr, scalingfactor, Gau_sigma)
%points 18:27 are eyebrows
mask_hr = zeros(480,640);
drawpair = [18 19; %left
... |
github | Liusifei/Face-Hallucination-master | F27_SmoothnessPreserving.m | .m | Face-Hallucination-master/Code/Ours2/F27_SmoothnessPreserving.m | 7,434 | utf_8 | 077010bd6c38ca3cfb5da61a524850ef | %Chih-Yuan Yang
%09/29/12
%Seperate this function from F21, because this function is required in training phase
function img_out = F27_SmoothnessPreserving(img_y,zooming,Gau_sigma)
img_bb = imresize(img_y,zooming);
%compute the similarity from low
Coef = 10;
PatchSize = 3;
Sqrt_low = IF1_Similarity... |
github | Liusifei/Face-Hallucination-master | U1a_CreateFilelistFromArr.m | .m | Face-Hallucination-master/Code/Ours2/U1a_CreateFilelistFromArr.m | 260 | utf_8 | 80bd16ac92e4dd51811b4dd4e1afc5ce | %Chih-Yuan Yang
%08/24/13
%U1a: do not have the label 0
function U1a_CreateFilelistFromArr(fn_create,arr_filename)
fid = fopen(fn_create,'w+');
for i=1:length(arr_filename)
fprintf(fid,'%d %s\n',i,arr_filename{i});
end
fclose(fid);
end
|
github | Liusifei/Face-Hallucination-master | F21e_EdgePreserving_GaussianKernel.m | .m | Face-Hallucination-master/Code/Ours2/F21e_EdgePreserving_GaussianKernel.m | 9,161 | utf_8 | b207bb1c2c717a3ccd93fbf6c6bc98b7 | %Chih-Yuan Yang
%10/02/12
%F21b: Based on F21a, but change the square kernel to Gaussian, to see whether the square pattern disappear
%F21c: remove the para argument
%F21d: try to use large beta0 and small beta1 to see whether it can save the computational time
%F21e: return gradient_expect to save time
function [gradi... |
github | Liusifei/Face-Hallucination-master | F47_Upsample_ICCV13.m | .m | Face-Hallucination-master/Code/Ours2/F47_Upsample_ICCV13.m | 3,889 | utf_8 | a0ca6d14035b899670b41a0371d4b9ce | %Chih-Yuan Yang
%3/22/14
%I try to replace the patch match method by ICCV 13
function img_hr = F47_Upsample_ICCV13(img_y,sf, clustercenter,coef_matrix)
%load the coef_matrix
patchsize_hr = 3*sf;
num_predictedpixel = (patchsize_hr)^2;
num_pixel_hr = num_predictedpixel;
num_cluster = size(clustercent... |
github | Liusifei/Face-Hallucination-master | U27a_CreateSemaphoreFile_ThreeColumn.m | .m | Face-Hallucination-master/Code/Ours2/U27a_CreateSemaphoreFile_ThreeColumn.m | 400 | utf_8 | 142f2bae5dbcc54b3bb2e312f6b87ca4 | %Chih-Yuan Yang
%10/31/12
function U27a_CreateSemaphoreFile_ThreeColumn(fn_create,arr_filename, idx_until_setasone)
fid = fopen(fn_create,'w+');
for i=1:length(arr_filename)
if i <= idx_until_setasone
fprintf(fid,'%05d %s 1\n',i,arr_filename{i});
else
fprintf... |
github | Liusifei/Face-Hallucination-master | F3_LoadExampleImagesAndLandmark.m | .m | Face-Hallucination-master/Code/Ours2/F3_LoadExampleImagesAndLandmark.m | 386 | utf_8 | 3f412bd7ae47fe1992b6cd59631f5682 | %06/11/13
%Is this file still used?
function imglisthr = F3_LoadExampleImagesAndLandmark(exampleimagefolder)
filelist = dir(fullfile(exampleimagefolder,'*.png'));
listlength = length(filelist);
imglisthr = zeros(480,640,listlength,'uint8');
for i=1:listlength
fn = filelist(i).name;
imgli... |
github | Liusifei/Face-Hallucination-master | F34a_ComputeMask_Eyes.m | .m | Face-Hallucination-master/Code/Ours2/F34a_ComputeMask_Eyes.m | 2,550 | utf_8 | 7274658fac56308b130382fe6a389d48 | %Chih-Yuan Yang
%10/02/12
%F34a: I add new inputs to support the scaling factor of 3. I also replace F19a to F19c.
function [mask_lr, mask_hr] = F34a_ComputeMask_Eyes(landmarks_hr, scalingfactor, Gau_sigma)
mask_hr = zeros(480,640);
groupset{1} = [37 38; %left
38 39;
39 40;
... |
github | Liusifei/Face-Hallucination-master | F4b_GenerateIntensityFromGradient.m | .m | Face-Hallucination-master/Code/Ours2/F4b_GenerateIntensityFromGradient.m | 4,440 | utf_8 | 637b5a401909cca5ded60eb77a1254b5 | %Chih-Yuan Yang
%09/29/12
%F4b: change first gradient from F19 to F19a, which uses a precise Gaussian kernel
%Gradually incrase the coef of high-low term to achieve the contrained optimization problem
%07/20/14 This file should be replaced by F4e
%function img_out = F4b_GenerateIntensityFromGradient(img_y,img_initial,G... |
github | Liusifei/Face-Hallucination-master | U21c_DrawLandmarks_IntraFace.m | .m | Face-Hallucination-master/Code/Ours2/U21c_DrawLandmarks_IntraFace.m | 1,078 | utf_8 | a6acaf9a3da433c32d4dfc43271596cc | %Chih-Yuan Yang
%09/15/12
%Sometimes the format of landmarks are coordinates rather than boxes
%U21b 03/19/14 update the fucntion, the bdrawpose does not work
%U21c 03/19/14 The new file accepts the output of IntraFace
%The format of IntraFace
% output.pred - predicted landmarks (49 x 2) or [] if no face detected(or ... |
github | Liusifei/Face-Hallucination-master | F16c_ACCV12TextureGradientNotIntensity.m | .m | Face-Hallucination-master/Code/Ours2/F16c_ACCV12TextureGradientNotIntensity.m | 48,395 | utf_8 | 37182cf11fbde82b4780bb0f7e221f01 | %Chih-Yuan Yang
%09/19/12
%load allLRexampleimages to speed up
function gradients_merge = F16c_ACCV12TextureGradientNotIntensity(img_y, zooming, Gau_sigma ,sfall,srecall,allHRexampleimages,allLRexampleimages)
if zooming == 4
para.Gau_sigma = 1.6;
elseif zooming == 3
para.Gau_sigma = 1.2;
end... |
github | Liusifei/Face-Hallucination-master | F1b_ArtificiallyAddPoint6165.m | .m | Face-Hallucination-master/Code/Ours2/F1b_ArtificiallyAddPoint6165.m | 312 | utf_8 | b0280a4edd5540e0f5746332c994a625 | %Chih-Yuan Yang
%03/21/14
%I solve the problem of unavailable points of IntraFace outputs by copying two nearest points.
function landmark_out = F1b_ArtificiallyAddPoint6165(landmark_in)
landmark_out = landmark_in;
landmark_out(61,:) = landmark_in(49,:);
landmark_out(65,:) = landmark_in(55,:);
end
|
github | Liusifei/Face-Hallucination-master | PP9_TrainEdgePriors.m | .m | Face-Hallucination-master/Code/Ours2/PP9_TrainEdgePriors.m | 10,855 | utf_8 | 77d08ced71b9aeb709ac30ff8c64cbc5 | %10/11/12
%Chih-Yuan Yang
%Import from ACCV12 to solve the background and hair problem
%update some function names (ComputeMag-->ComputeSRSSD, BicubicReplacor-->SmoothnessPreservingFunction)
%find a bug of missing a line idxstart = idxend+1;
function PP9_TrainEdgePriors()
Setting(1).Gau_sigma = 1.2;
Setting(1).... |
github | Liusifei/Face-Hallucination-master | F37d_GetTexturePatchMatch_PatchSizeAdjustable.m | .m | Face-Hallucination-master/Code/Ours2/F37d_GetTexturePatchMatch_PatchSizeAdjustable.m | 7,696 | utf_8 | 1bcd3ae4af71a520d68c26d4e2bdaecf | %Chih-Yuan Yang
%10/05/12
%Use patchmatch to retrieve a texture background
function [gradients_texture, img_texture, img_texture_backprojection] = ...
F37d_GetTexturePatchMatch_PatchSizeAdjustable(img_y, ...
hrexampleimages, lrexampleimages, patchsize)
[h_lr, w_lr, exampleimagenumber] = size(lrexampleimages... |
github | Liusifei/Face-Hallucination-master | F46_ConvertFilenameStringToFolderString_MultiPIE.m | .m | Face-Hallucination-master/Code/Ours2/F46_ConvertFilenameStringToFolderString_MultiPIE.m | 985 | utf_8 | ea59d28b4a7699d9298682818c90d85e | %Chih-Yuan Yang
%03/21/14
%Convert a filename string to the folder strings of Multi-PIE dataset
function folder_container = F46_ConvertFilenameStringToFolderString_MultiPIE( fn_file )
str_identity = fn_file(1:3);
str_session = fn_file(5:6);
str_expression = fn_file(8:9);
str_cameraposition = fn_file(11:... |
github | Liusifei/Face-Hallucination-master | F16b_ACCV12TextureGradientNotIntensity.m | .m | Face-Hallucination-master/Code/Ours2/F16b_ACCV12TextureGradientNotIntensity.m | 47,555 | utf_8 | 912ce9d2544a868a8174c7642d2f0747 | %Chih-Yuan Yang
%09/19/12
%remove weightmap_texture to emphasize the edge
%The results are worse than F16a
function gradients_merge = F16b_ACCV12TextureGradientNotIntensity(img_y, zooming, Gau_sigma ,sfall,srecall,allHRexampleimages)
if zooming == 4
para.Gau_sigma = 1.6;
elseif zooming == 3
para... |
github | Liusifei/Face-Hallucination-master | F35a_ComputeMask_Nose.m | .m | Face-Hallucination-master/Code/Ours2/F35a_ComputeMask_Nose.m | 2,052 | utf_8 | 32e24280746b82dc016d413597ebf147 | %Chih-Yuan Yang
%07/20/14
%F35a: I add new inputs to support the scaling factor of 3. I also replace F19a to F19c.
function [mask_lr, mask_hr] = F35a_ComputeMask_Nose(landmarks_hr,scalingfactor,Gau_sigma)
mask_hr = zeros(480,640);
setrange = 28:36;
checkpair = [28 32;
32 33;
... |
github | Liusifei/Face-Hallucination-master | F21g_EdgePreserving_GaussianKernel.m | .m | Face-Hallucination-master/Code/Ours2/F21g_EdgePreserving_GaussianKernel.m | 10,531 | utf_8 | 5bfbb1e8dfd8d31411776c204d8bd704 | %Chih-Yuan Yang
%10/27/12
%F21b: Based on F21a, but change the square kernel to Gaussian, to see whether the square pattern disappear
%F21c: remove the para argument
%F21d: try to use large beta0 and small beta1 to see whether it can save the computational time
%F21e: return gradient_expect to save time
%F21f: change t... |
github | Liusifei/Face-Hallucination-master | F38_ExtractFeatureFromAnImage.m | .m | Face-Hallucination-master/Code/Ours2/F38_ExtractFeatureFromAnImage.m | 694 | utf_8 | 796ddd477c92cf9e25510468665edb6c | %Chih-Yuan Yang
%10/05/12
%Extract features from an image
function FeatureMatrix = F38_ExtractFeatureFromAnImage(img)
%Extract the feature of A
[h_lr, w_lr] = size(img);
img_ext = zeros(h_lr+4,w_lr+4);
img_ext(3:end-2,3:end-2) = img;
img_ext(1:2,:) = repmat(img_ext(3,:),[2,1]);
img_ext(end-1:end... |
github | Liusifei/Face-Hallucination-master | F6b_RetriveAreaGradientsByAlign_Optimization_UseMask.m | .m | Face-Hallucination-master/Code/Ours2/F6b_RetriveAreaGradientsByAlign_Optimization_UseMask.m | 2,353 | utf_8 | 2c4433d1fefd4815dbe26347121ed43d | %Chih-Yuan Yang
%10/02/12
%Use mask
function [retrievedhrimage retrievedlrimage retrievedidx] = F6b_RetriveAreaGradientsByAlign_Optimization_UseMask(testimage_lr, ...
rawexampleimage, inputpoints, basepoints, mask_lr, zooming, Gau_sigma)
%the rawexampleimage should be double
if ~isa(rawexampleimage,'uint8')... |
github | Liusifei/Face-Hallucination-master | U8_DrawMultiPieLandmark.m | .m | Face-Hallucination-master/Code/Ours2/U8_DrawMultiPieLandmark.m | 736 | utf_8 | f326688c3c7fefa8d2729e0cda85f104 | %Chih-Yuan Yang
%10/26/12
%This file looks wierd, maybe retired.
function U8_DrawMultiPieLandmark()
%load image
imagefolder = fullfile('Examples','Aligned_Gray');
fnlist = dir(fullfile(imagefolder,'*.png'));
fileidx = 2;
fn = fnlist(fileidx).name;
img = imread(fullfile(imagefolder,fn));
... |
github | Liusifei/Face-Hallucination-master | F40g_GetTexturePatchMatch_Aligned.m | .m | Face-Hallucination-master/Code/Ours2/F40g_GetTexturePatchMatch_Aligned.m | 3,784 | utf_8 | 5b86f2751275fcef64f35bc25f94da74 | %Chih-Yuan Yang
%02/1/15
%Replace F19a by F19c on line 53.
%
%I want to know how Sifei add her code in this file to improve the output images?
%Use patchmatch to retrieve a texture background
% patchmatch for Lab 3 channels
% using stv
%F40g: The parfor is unstable on some certain linux machines. Sometimes a worker doe... |
github | Liusifei/Face-Hallucination-master | F20_GenerateConstraintMatrix.m | .m | Face-Hallucination-master/Code/Ours2/F20_GenerateConstraintMatrix.m | 1,185 | utf_8 | 67cab96bf9cde799d86f4c30d479f15d | %Chih-Yuan Yang
%09/19/12
%Generate the constraint matrix
function Aeq = F20_GenerateConstraintMatrix(h_hr,w_hr,Gau_sigma,zooming)
%parse I_l = (I_h \otimes G) \downarrow to
%v_h = Aeq * v_h
HRpixelnumber = h_hr*w_hr;
n = HRpixelnumber;
LRpixelnumber = HRpixelnumber / zooming^2;
m = LRpixelnumbe... |
github | Liusifei/Face-Hallucination-master | F4d_GenerateIntensityFromGradient.m | .m | Face-Hallucination-master/Code/Ours2/F4d_GenerateIntensityFromGradient.m | 4,732 | utf_8 | fcba5aeef2abaa0fa377f3b94af16360 | %Chih-Yuan Yang
%10/02/12
%F4b: change first gradient from F19 to F19a, which uses a precise Gaussian kernel
%F4c: F4b is too slow, change the parameters
%F4d: open all parameters because they matter
%Gradually incrase the coef of high-low term to achieve the contrained optimization problem
%07/20/14 This function shou... |
github | Liusifei/Face-Hallucination-master | F19f_GenerateLRImage_IntegerSF.m | .m | Face-Hallucination-master/Code/Ours2/F19f_GenerateLRImage_IntegerSF.m | 1,830 | utf_8 | 356ce4df12515a899936c1aab37368db | %Chih-Yuan Yang
%09/28/12
%Change the method of subsampling
%F19f 03/20/14 update the function to accept integer scaling factors
function img_lr = F19f_GenerateLRImage_IntegerSF(img_hr,sf,sigma)
if isa(img_hr,'uint8')
img_hr = im2double(img_hr);
end
[h_hr, w_hr, d] = size(img_hr);
h_hr_trim = h_... |
github | Liusifei/Face-Hallucination-master | F6_RetriveAreaGradientsByAlign_Optimization.m | .m | Face-Hallucination-master/Code/Ours2/F6_RetriveAreaGradientsByAlign_Optimization.m | 2,325 | utf_8 | 0208f2f45a168987c2d33991fa7059b8 | %Chih-Yuan Yang
%09/30/12
%change rawexampleimage to uint8 to save memroy
function gradientcandidate = F6_RetriveAreaGradientsByAlign_Optimization(testimage_lr, rawexampleimage, inputpoints, basepoints, region_lr, zooming, Gau_sigma)
%the rawexampleimage should be double
if ~isa(rawexampleimage,'uint8')
... |
github | Liusifei/Face-Hallucination-master | F23_SortFileListByNumber.m | .m | Face-Hallucination-master/Code/Ours2/F23_SortFileListByNumber.m | 990 | utf_8 | 93452adb03ef10957d88c1db09ecefa9 | %Chih-Yuan Yang
%09/21/12
%the default dir() result is sorted by string, but Windows and MATLAB sort file name by number
%make the
function filelist_out = F23_SortFileListByNumber(filelist,appendix)
listlength = length(filelist);
filelist_out(1:listlength,1) = struct('name',[]);
allnameasnumber = zeros(lis... |
github | Liusifei/Face-Hallucination-master | F18_AlignExampleImageByLandmarkSet.m | .m | Face-Hallucination-master/Code/Ours2/F18_AlignExampleImageByLandmarkSet.m | 1,893 | utf_8 | d9d9c52a4c78f4637dcb032e3b7c5ea4 | %Chih-Yuan Yang
%09/15/12
%Change function name from U20 to F18
%The different from U17: There are 20 points, solve an optimization problem to determine the trasnform matrix
function alignedexampleimage = F18_AlignExampleImageByLandmarkSet(exampleimage,inputpoints,basepoints)
%use shift and scaling only as the init... |
github | Liusifei/Face-Hallucination-master | F6c_RetriveImage_Mask_GlassAware.m | .m | Face-Hallucination-master/Code/Ours2/F6c_RetriveImage_Mask_GlassAware.m | 2,404 | utf_8 | e34dbf69cc41d28b122b89bcee79968c | %Chih-Yuan Yang
%10/03/12
%Use mask
function [retrievedhrimage retrievedlrimage retrievedidx] = F6c_RetriveImage_Mask_GlassAware(testimage_lr, ...
rawexampleimage, inputpoints, basepoints, mask_lr, zooming, Gau_sigma, glasslist, bglassavoid)
%the rawexampleimage should be double
if ~isa(rawexampleimage,'uin... |
github | Liusifei/Face-Hallucination-master | F4b_GenerateIntensityFromGradJpeg.m | .m | Face-Hallucination-master/Code/Ours2/F4b_GenerateIntensityFromGradJpeg.m | 4,914 | utf_8 | 4462f9d0490b3751c31e2d846b998083 | %Chih-Yuan Yang
%09/29/12
%F4b: change first gradient from F19 to F19a, which uses a precise Gaussian kernel
%Gradually incrase the coef of high-low term to achieve the contrained optimization problem
% modify beta0_initial from 1 to 0.2
function img_out = F4b_GenerateIntensityFromGradJpeg(img_y,img_initial,Grad_exp,Ga... |
github | Liusifei/Face-Hallucination-master | F30_ConvertLRRegionToHRRegion.m | .m | Face-Hallucination-master/Code/Ours2/F30_ConvertLRRegionToHRRegion.m | 511 | utf_8 | db8198d99827980659f952b348395601 | %Chih-Yuan Yang
%09/29/12
%Change name from U18 to F30
function region_hr = F30_ConvertLRRegionToHRRegion(region_lr, zooming)
region_hr.left_idx = (region_lr.left_idx-1) * zooming + 1;
region_hr.top_idx = (region_lr.top_idx-1) * zooming + 1;
region_hr.right_idx = region_lr.right_idx * zooming;
region_hr... |
github | Liusifei/Face-Hallucination-master | U5a_ReadGlassList.m | .m | Face-Hallucination-master/Code/Ours2/U5a_ReadGlassList.m | 307 | utf_8 | 99bdfffdcaf70473ea6d9875ebb03729 | %Chih-Yuan Yang
%2/20/15
%U5: read list from a file and return it as an cell array
%U5a: read glass list
function [arr_label, arr_filename] = U5a_ReadGlassList( fn_list )
fid = fopen(fn_list,'r');
C = textscan(fid,'%05d %s %d\n');
fclose(fid);
arr_filename = C{2};
arr_label = C{3};
end
|
github | Liusifei/Face-Hallucination-master | U21b_DrawLandmarks_Points_ReturnHandle.m | .m | Face-Hallucination-master/Code/Ours2/U21b_DrawLandmarks_Points_ReturnHandle.m | 910 | utf_8 | 9b61a9bd6c2605b4d6b55de9c1a9ac98 | %Chih-Yuan Yang
%09/15/12
%Sometimes the format of landmarks are coordinates rather than boxes
%U21b 03/19/14 update the fucntion, the bdrawpose does not work
function hfig = U21b_DrawLandmarks_Points_ReturnHandle(im, points, str_pose,bshownumbers,bdrawpose,bvisible)
if bvisible
hfig = figure;
else
... |
github | Liusifei/Face-Hallucination-master | F17_AlignExampleImageByLandmarkSet.m | .m | Face-Hallucination-master/Code/Ours2/F17_AlignExampleImageByLandmarkSet.m | 2,024 | utf_8 | 70407314c6fb6afdfca2155287efb245 | %Chih-Yuan Yang
%09/15/12
%return alignedpoints for paper writing
function [alignedexampleimage alignedpoints]= F17_AlignExampleImageByLandmarkSet(exampleimage,inputpoints,basepoints)
%inputpoints format: m x 2, m is the number of points
%use shift and scaling only as the initial variables
initial_shift = m... |
github | Liusifei/Face-Hallucination-master | OptProblem.m | .m | Face-Hallucination-master/Code/Ours2/OptProblem.m | 483 | utf_8 | bad41a87910a8d55c3f72a4067909992 | %09/06/12
%Chih-Yuan Yang
function value = OptProblem(x,inputpoints,basepoints)
theta = x(1);
lambda = x(2);
deltax = x(3);
deltay = x(4);
pointnumber = size(inputpoints,1);
transformmatrix = [lambda*cos(theta) -lambda*sin(theta) deltax;
lambda*sin(theta) lambda*cos(theta)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.