Lookup table for 2D matrix
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Lookup Tables en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!