What does the equation do in the 2 images to combine it to one image
2 ビュー (過去 30 日間)
古いコメントを表示
Elysi Cochin
2020 年 9 月 5 日
回答済み: Sulaymon Eshkabilov
2020 年 9 月 5 日
Please can someone explain what happens in the below code
cb and cr are chrominance in red and blue channels
bmean and rmean is the mean value of cb and cr
x = [(cb − bmean), (cr − rmean)]
how is becomes a single image, what does that comma do there? Please can someone help me
0 件のコメント
採用された回答
Sulaymon Eshkabilov
2020 年 9 月 5 日
Actually this gives two images representing one image twice one of which is darker than the other. The comma "," just a separates two data sets. You can skip "," and leave blank space that gives the same output. Or if you use ";" then the two image will be displayed one above another in a vertical form.
In order to get or see one image, just to use:
x1 = (cb − bmean); x2= (cr − rmean); subplot(211), imshow(x1); subplot(212);imshow(x2)
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!