Issue in undefined function in conversion with 2016a version

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 ???

답변 (1개)

yanqi liu
yanqi liu 2021년 9월 30일

0 개 추천

sir,may be you should check the image data is valid

질문:

2021년 8월 25일

답변:

2021년 9월 30일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by