Question: Octave could not find a similar function in matlab image processing-related, such as rgb2gray
The solution: load the appropriate image package before use
In the following command line command Octave
pkg load image
The following command can be used to view the installed packages
pkg list
Reference links:
https://stackoverflow.com/questions/20939152/octave-rgb2gray-undefined-error