Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Construction of a look up table and accessing it

1 visualización (últimos 30 días)
Srinivas Murthy
Srinivas Murthy el 3 de Jul. de 2011
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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

Respuestas (1)

Rick Rosson
Rick Rosson el 3 de Jul. de 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