필터 지우기
필터 지우기

Can I extract numerical data from a coloured CFD-plot?

조회 수: 2 (최근 30일)
Julian Jantz
Julian Jantz 2017년 9월 8일
답변: Jocie Kluger 2017년 9월 15일
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
Julian Jantz
Julian Jantz 2017년 9월 8일
Ok, I inserted an example in the first post.
Julian Jantz
Julian Jantz 2017년 9월 11일
편집: Julian Jantz 2017년 9월 11일
Hey guys, aren't there any easy ways to extract the RGB-data of each pixel? Then I had to linearly order the possible RGB-combinations in the same way as in the legend. How could you do that? The rest would be straight forward I think...

댓글을 달려면 로그인하십시오.

답변 (1개)

Jocie Kluger
Jocie Kluger 2017년 9월 15일
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.

Community Treasure Hunt

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

Start Hunting!

Translated by