How can I specify the output of insertShape or insertText as 2D grayscale images?
2 views (last 30 days)
Show older comments
MathWorks Support Team
on 12 Jan 2015
Answered: MathWorks Support Team
on 14 Jan 2015
The returned output of 'insertShape' is in RGB format, is there a way I can specify the output to be a grayscale image?
Accepted Answer
MathWorks Support Team
on 12 Jan 2015
The output of 'insertShape' is only specified to be in truecolor format. The workaround is to call 'rgb2gray' on the output to convert it to grayscale.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!