Firstly, install Octave
sudo apt install octave
Now, in order to do image processing in Octave, you have to install the image package for Octave.
For installing any packages, you need to install liboctave-dev. This is the development file for the GNU/Octave.
For installing liboctave-dev :
sudo apt update sudo apt-get install liboctave-dev
Now click here to download the image processing package. You need to download the file in directory:
home/username/octave
After downloading the package, execute the following command in Octave shell:
$ octave >>cd octave >>pkg install image-2.6.1.tar.gz
Now the image package is installed, to test you can execute some commands:
$ octave >>a=imread(example.jpg); >>imshow(a);
Stay tuned…