Is there a rgb2gray conversion block in Simulink ?
Show older comments
I have a RGB video and I would like to find out optical flow and optical flow block accepts only 2-d image only...So I want to convert this RGB into Gray and then give Grayscale output to Optical Flow block...But I didn't find a default Grayscale block in Simulink...It would be gr eat if anyone could help me with this...
Accepted Answer
More Answers (1)
Messlaha Hamza
on 24 Feb 2014
1 vote
i still have the same problem, i don't know how to convert my output to m-n-3 matrix
1 Comment
Mahadev
on 18 Feb 2025
add a matrix concatenate block. double click the matrix concatenate block and change the dimensions to 3
Categories
Find more on Computer Vision Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!