Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Create a new matrix that contains indices for values that are larger than X
1 回表示 (過去 30 日間)
古いコメントを表示
Task 2: Use the matrix that you previously created for the values of green
(G) Create a new matrix that contains
indices for green values that are larger than the intensity threshold,
(S) The size of this matrix should be
“number of pixels” x “number of pixels”. Clearly label this new matrix. Create a new matrix with size “number of pixels” x “number of
pixels x 3”, where the matrix obtained in the previous step is “duplicated”
along the 3 dimensions. This generates a “mask” that tells us whether or
not the RGB content at any pixel met the criteria in the previous task (i.e.,
whether the green channel intensity was greater than the threshold).
Task 4: Display in figure 3 a new image where the background from the
original image has been replaced with a white background. Hint: the color
white implies an intensity of 255 for all three channels, R, G, and B
0 件のコメント
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!