Grid-based modeling of images

These functions enable calculating functions using the grid-based modeling.
865.0 次下载
更新时间 2010/5/31

查看许可证

Three functions are provided:

1. get_function_on_grid: This function can be used to calculate a function on a grid.
2. get_function_on_grid_prior: This function can be used to calculate a function on a grid. The parameters are passed to function using the prior variable.
3. interpolation_a_grid_on_domain: This function can be used to interpolate a calculated grid-function back on the image domain

May 30th, 2010, By Reza Farrahi Moghaddam and Rachid Hedjam, Synchromedia Lab, ETS, Montreal, Canada

For more details about the grid-based modeling, please refer to [1].

Below, an example of calculating the mean function using the grid-based modeling on an sample image is provided. First, the 'mean' function is calculated on the grid, using get_function_on_grid function. Then, the result is interpolated on the image domain using the interpolation_a_grid_on_domain function (see mypublishtest.m for the complete script):
u_avg_G = Get_function_on_grid(u, @mean, s_G, 1);
u_avg = interpolation_a_grid_on_domain(u_avg_G, xm, ym, s_G);

In cases where the function needs some prior parameters, please use Get_function_on_grid_prior function. An example is provided in mypublishtest.m

[1] R. Farrahi Moghaddam and M. Cheriet, A multi-scale
framework for adaptive binarization of degraded document images, Pattern Recognition, 43, pp. 2186--2198, 2010, DOI: 10.1016/j.patcog.2009.12.024

引用格式

Reza Farrahi Moghaddam (2025). Grid-based modeling of images (https://www.mathworks.com/matlabcentral/fileexchange/27808-grid-based-modeling-of-images), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2007b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Biomedical Imaging 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0