Issue in undefined function in conversion with 2016a version
Show older comments
Hi, I am facing a problem in conversion of RGB to gray scale image using rgb2gray function in the script. It shows that the function is not defined... When I use this is the command window, it works .. but while using that function in the script or the matlab, it doesn't work... Can you help me out at this ???
Answers (1)
yanqi liu
on 30 Sep 2021
0 votes
sir,may be you should check the image data is valid
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!