conversion of data into bitmap
Show older comments
Hello,
I am actually working on Matlab R2015a. I would like to know if it is possible to plot an image from data? I explain:
I have for example a matrix composed by 4000 signals of 128 samples (so a matrix 4000x128) and the data is on 12 bit (from -2048 to +2047). By using the imagesc function (to have a gray image), I have an "image" view of my data. But I plot this on a GUI and added a slide barre to select the signal in order to plot on another figure (for example the barre is on the 1287th signal so the second plot corresponds to this last). When I slide the barre, using Matlab functions, I success to actualize the second figure (the one who plot only one signal). But the deplacement of the barre is slow, I think because of the size of my data. So I thought that convert my data into a bitmap image could be ameliore the speed of my GUI.
I precise I haven't the image processing toolbox. Maybe I am wrong and it is slow just because of the imagesc function?
I thank you in advance for your help. Best regards
Accepted Answer
More Answers (2)
Walter Roberson
on 11 Jul 2015
0 votes
Changing your data into a bitmap is not likely to help in this situation.
You will need to show us your code for using a slider to select the signal to plot.
Categories
Find more on Signal Attributes and Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!