burstinterpolant
Create high-resolution image from set of low-resolution burst mode images
Description
creates a high-resolution image, B
= burstinterpolant(imds
,tforms
,scale
)B
from a set of low-resolution burst
mode images stored as an ImageDatastore
object,
imds
. scale
specifies the magnification value
for high-resolution image. The size of B
is scale
times the size of input images.
Examples
Input Arguments
Output Arguments
Tips
Compute
tforms
with respect to each input image using theimregtform
function. The first image in the input can be used as the reference image for estimating rigid geometric transformations (rotations and translations only).Compute input arguments
optimizer
andmetric
inimregtform
usingimregconfig
function.optimizer
must be aRegularStepGradientDescent
object andmetric
must be aMeanSquares
object.To improve the high-resolution output, you can modify the input argument value of
RegularStepGradientDescent
optimizer object inimregtform
. For more details about these modifications, see the properties ofRegularStepGradientDescent
.
Algorithms
The burstinterpolant
function uses the inverse distance weighting
method [1] to generate high-resolution image from a
set of low-resolution burst mode images. The function predicts a high-resolution pixel value
from a set of pixels in the low-resolution burst mode images, selected based on the
transformation parameter. The use of transformation parameter tforms
makes the pixel selection robust to any rigid geometric transformations (rotations and
translations only).
Note
If the input images are 2-D RGB images, estimate
tforms
from the lightness component. You can use thergb2lightness
function to compute lightness values from the RGB color values.
References
[1] Shepard, Donald. “A Two-Dimensional Interpolation Function for Irregularly-Spaced Data”, In Proceedings of the 1968 23rd ACM National Conference, 517-524. New York, NY: ACM, 1968.
Version History
See Also
scatteredInterpolant
| imregtform
| imregconfig
| rgb2lightness