Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Construction of a look up table and accessing it

1 Ansicht (letzte 30 Tage)
Srinivas Murthy
Srinivas Murthy am 3 Jul. 2011
Geschlossen: MATLAB Answer Bot am 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

Antworten (1)

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

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by