-
Category : matlab
Tags :
- Update : 2012-11-26
- Size : 4kb
- Downloaded :0次
- Author :abeaqhax
- About :
Nobody
- PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
ZI = mirt2D_mexinterp(Z,XI,YI) interpolates 2D image Z at the points with coordinates XI,YI. Z is assumed to be defined at regular spaced points 1:N, 1:M, where [M,N]=size(Z).
If XI,YI values are outside the image boundaries, put NaNs in ZI.
The function is similar to Matlab s native
ZI = INTERP2(Z,XI,YI, linear ,NaN),
but is much master. If Z is vector valued 2D image (3D array), then iteratively interpolates Z(:,:,1), Z(:,:,2),Z(:,:,3),.. etc. This works faster than to interpolate each image independently, such as
ZI(:,:,1) = INTERP2(Z(:,:,1),XI,YI)
ZI(:,:,2) = INTERP2(Z(:,:,2),XI,YI)
ZI(:,:,3) = INTERP2(Z(:,:,3),XI,YI)
The extra speed gain is from the precomputation of coefficients for interpolation, which are the same for all images. Interpolation of a set of images is useful, e.g. for image registration, when one has to interpolate image and its gradients or for vector valued images such as RGB.
Limitations: only works for images on a regular grid,
Packet file list
(Preview for download)
license.txt
mirt2D_mexinterp
................\mirt2D_mexinterp.cpp
................\mirt2D_mexinterp.m
Related instructions
- We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
- The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
- Please use Winrar for decompression tools
- If download fail, Try it againg or Feedback to us.
- If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
- Before downloading, you can inquire through the uploaded person information