I am new to Octave platform and am trying the image tool for image processing version-2.8.0. I have installed this tool using 'pkg install -forge image'. It installed perfectly and even contains in the package list. Now when i try to convert a colored image into gray scale it gives me following error.
warning: the 'rgb2gray' function belongs to the image package from Octave Forge but has not yet been implemented.
Please read http://www.octave.org/missing.html to learn how you can contribute missing functionality.
error: 'rgb2gray' undefined near line 1 column 1*
Here is my code:
pkg load image;
img = imread('IMG_20170815_004922_213.jpg');
img_gray = rgb2gray(img);
imshow(img_gray);
I have read some errors that were due to not having 'pkg load image' line that is like an import statement. But in my case even this statement haven't solved my problem. I am using Octave Version-4.2.2 , Windows 7 64-bit and i5-processor.