Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Construction of a look up table and accessing it

1 visualizzazione (ultimi 30 giorni)
Srinivas Murthy
Srinivas Murthy il 3 Lug 2011
Chiuso: MATLAB Answer Bot il 20 Ago 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

Risposte (1)

Rick Rosson
Rick Rosson il 3 Lug 2011
Please try the following:
docsearch LUT
HTH.
Rick

Community Treasure Hunt

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

Start Hunting!

Translated by