# image processing using vhdl /MATLAB

how i can get acces to binary file content pixel of image from ENVI logi (100*100) pixel coded each pixel in 16 bits in vhdl or in matlab , when i get acces i want to modify the file? thanks

• Read in the bit stream with fread and parse it. – Voltage Spike Feb 23 '18 at 16:29
• @ laptop2d can you explain more , i know the instructions how to read and write – elmakhloufi assaad Feb 23 '18 at 16:44

In MATLAB, use the imread() function (and friends).
In VHDL, you need a file object. Of course, this only works in simulation.