Lookup table for 2D matrix
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Let say i have large matrix (data) of size 103680x10 uint8 which stores value range of 0-255.
And lookup Table (LUT) is 256x255 double, i want to replace each element in data matrix with row vector of LUT.
In current i do this with following code : result = LUT(data'+1,:);
But it took 0.8 second to do this one operation, Can it be faster i have to do this for all frames in my video?
I really appreciate any help you can provide.
3 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Lookup Tables dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!