Can I extract numerical data from a coloured CFD-plot?
Mostra commenti meno recenti
Hi, I need to extract data from 2-dimensional coloured CFD-plots, as I only have got images of a certain simulation but not the actual data. Is there a convenient way to achieve that with the Image Processing Toolbox? The image must be segmented into "cells" and then for each cell the colour data must be read and tranferred into the "right" data. The images also have colour legends on them, so there would be a way to "calibrate" the data.
Thanks a lot,
Julian
edit: Her is an example picture, the coordinate system is given as cartesian but may also be interpreted as cylindrical because it's a pipe.

2 Commenti
Julian Jantz
il 8 Set 2017
Julian Jantz
il 11 Set 2017
Modificato: Julian Jantz
il 11 Set 2017
Risposte (1)
Jocie Kluger
il 15 Set 2017
0 voti
Try the rgb2ind function. It associates each pixel with an index value, so then it should be straightforward to correlate the color bar index to each CFD plot pixel's index. This doc page has an example of rgb2ind.
Categorie
Scopri di più su Images in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!