inedi-master
所属分类:其他
开发工具:matlab
文件大小:35KB
下载次数:4
上传日期:2018-12-14 08:33:15
上 传 者:
mathzcy
说明: 利用提高的NEDI算法放大图像,灰度图像和彩色图像均可,放大倍数应为2的幂次
(improved New Edge-Directed Interpolation Image Zooming)
文件列表:
LICENSE (43752, 2016-06-29)
inedi.m (22327, 2016-06-29)
inediexample.m (3108, 2016-06-29)
testimage.png (12724, 2016-06-29)
# iNEDI
*iNEDI (improved New Edge-Directed Interpolation) Image Zooming Algorithm*
[![Donate via PayPal](https://img.shields.io/badge/donate-paypal-87ceeb.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations¤cy_code=GBP&business=paypal@tecnick.com&item_name=donation%20for%20inedi%20project)
*Please consider supporting this project by making a donation via [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_donations¤cy_code=GBP&business=paypal@tecnick.com&item_name=donation%20for%20inedi%20project)*
* **category** Application
* **package** \Com\Tecnick\inedi
* **author** Nicola Asuni
* **copyright** 2006-2016 Nicola Asuni - Tecnick.com LTD
* **license** http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT)
* **link** https://github.com/tecnickcom/inedi
* **version** 1.6.2
## Description
This projects contains a Matlab implementation of the iNEDI (improved New Edge-Directed Interpolation) algorithm to enlarge (zoom) digital images.
This inedi.m function returns an enlarged image by a factor of 2^ZK for both horizontal and vertical directions.
This function implements the technicque described in:
N. Asuni, "iNEDI - Tecnica non lineare per l'interpolazione di immagini," Master's thesis - University of Cagliari, 2007.
Thesis [ITA]: http://www.tecnick.com/pagefiles/appunti/iNEDI_tesi_Nicola_Asuni.pdf
Presentation [ITA]: http://www.tecnick.com/pagefiles/appunti/iNEDI_presentazione_Nicola_Asuni.pdf
## USAGE
-
[EIM] = inedi(IM)
[EIM] = inedi(IM, ZK)
[EIM] = inedi(IM, ZK, MT)
[EIM] = inedi(IM, ZK, MT, ML)
[EIM] = inedi(IM, ZK, MT, ML, BT)
[EIM] = inedi(IM, ZK, MT, ML, BT, BS)
[EIM] = inedi(IM, ZK, MT, ML, BT, BS, SZ)
[EIM] = inedi(IM, ZK, MT, ML, BT, BS, SZ, VR)
## INPUT
IM : source image
ZK : power of the zoom factor (default = 1)
the image enlargement on vertical and horizontal direction is
2^ZK; the final image size will be (SIZE * 2^ZK) - (2^ZK - 1)
MT : maximum radius of the local circular window (default = 9)
ML : minimum radius of the local circular window (default = 3)
BT : brightness tollerance (default = 32)
Y points are choosen from the ones inside a circular area around
the pixel to be interpolated. These pixels must have a
brightness between a range defined by
the minimum and maximum brightness values of the 4 neighbors
pixels of the pixel to interpolate. This range is extended by
+/- BT value.
BS : maximum brigthess difference for smooth areas (default = 4)
This parameter is compared to the difference between the maximum
and minimum brightness value of 4 neighbors pixels to
discriminate between smooth areas (bicubic interpolation) and
edge areas (iNEDI interpolation).
SZ : number of image bits per layer (default = 8)
VR : verbose mode (default = false)
if true prints some information during calculation
## OUTPUT
EIM : enlarged image
## Examples
Please check the inediexample.m file on how to use this function.
## Notes
This implementation is not intended to be used in a production environment. The main purpose of this script is to clearly show how this technique works. Better performaces could be obtained using a compiled version or rewriting this technique using a low-level programming language.
## KEYWORDS
iNEDI, NEDI, image, zooming, magnification, upsizing, resampling, resolution enhancement, interpolation, super-resolution, covariance-based adaptation, geometric regularity, matlab, octave.
近期下载者:
相关文件:
收藏者: