Info

This question is closed. Reopen it to edit or answer.

Construction of a look up table and accessing it

1 view (last 30 days)
Srinivas Murthy
Srinivas Murthy on 3 Jul 2011
Closed: MATLAB Answer Bot on 20 Aug 2021
I am doing image interpolation.I will be doing repetitive operations(say cubic or 5th order curve) to obtain the interpolated value. Since i will be doing it hundreds of times each iteration and hundreds of iterations, i want to create a look up table and practically access the values from it instead of calculating the values from the formulae. Currently for this operation, the formulae is being accessed millions of times thus making it slower. Typically the look up table will consist of 1000 X 1000 elements since i need accurate results. The input would typically consist of two N X N matrices. The matrices correspond to X and Y non-integer pixel values. The output would be interpolated intensity values of size N X N. Pls help me in doing this operation efficiently. Thanks for your help

Answers (1)

Rick Rosson
Rick Rosson on 3 Jul 2011
Please try the following:
docsearch LUT
HTH.
Rick

This question is closed.

Community Treasure Hunt

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

Start Hunting!