Commit d97fd037 authored by mtoeppe's avatar mtoeppe
Browse files

logarithmus in bac integriert

parent 08b463f9
Pipeline #100536 passed with stage
in 1 minute and 30 seconds
......@@ -3,9 +3,10 @@ function result = phaserec_bac(im1, settings)
%
% ``result = phaserec_bac(im1, settings)``
%
% Reconstructed the intensity distribution in the object plane using the Bronnikov
% Aided Correction (BAC) algorithm proposed by de Witte et al. :cite:`Witte_JOSAA_2009`. It is valid for
% short propagation distances and weakly absorbing objects.
% Reconstructs the negative logarithm of the intensity distribution in the object
% plane using the Bronnikov Aided Correction (BAC) algorithm proposed by de Witte et
% al. :cite:`Witte_JOSAA_2009`. It is valid for short propagation distances and
% weakly absorbing objects.
%
%
% Parameters
......@@ -114,7 +115,7 @@ else
C = im1;
end
result = im1 ./ (1 - settings.reg_gamma * C);
result = -log(im1 ./ (1 - settings.reg_gamma * C));
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment