imagedatastore grayscale to rgb for maskRcnn
3 ビュー (過去 30 日間)
古いコメントを表示
- I have several CT images : ct1, ct2, ct3.....
- Each CT contains of aprox 90 2D grayscale images/planes
- MaskRCnn Requires RGB Input
How do I looup through each CT and save each image within a CT as own image in the datastore?
I also need it as RGB image, where only one plane is set with the grayscale and the reast to 0 or 1.
Hope someone can help me!
0 件のコメント
採用された回答
KALYAN ACHARJYA
2022 年 4 月 11 日
編集済み: KALYAN ACHARJYA
2022 年 4 月 11 日
You may convert the gray image to 3D array planes
rgb_gray=cat(3,gray_image,gray_image,gray_image);
Just do for one images, for all images can be done using call one individual images at a time using loop. There are so many simmilar threads are available.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Computer Vision with Simulink についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!