Change color representation of pressure sensor data converted to images on MATLAB code.
3 ビュー (過去 30 日間)
古いコメントを表示
I work on converting foot pressure sensor data to images to use in the deep learning model. the problem is the colors of the image are only the grades of blue, I want to change the numbers(sensor data) pixel representation with another more accurate scale. my data is between 0 and 1.
But the change is very small like I have some values 0.00873 and others 0.9342, so I need to choose colors that are very sensitive to my data as when converting it into pixels the difference will appear more.
Attached is a sample of the images I generate, each image have 4 pressure sensor for both the right and left foot. ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/977600/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/977600/image.png)
The one to the left, I tried rgb2hsv but also appeared only with different grades of blue.
0 件のコメント
回答 (1 件)
yanqi liu
2022 年 5 月 7 日
yes,sir,may be use ind2rgb、ind2gray to get color index format to image file
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!