Announcement

Collapse
No announcement yet.

how to read a picture ? 16 bit color 80x60???

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to read a picture ? 16 bit color 80x60???

    Hello Everybody,

    I have a question really stupid but I do not know how how to open a 16 unsigned bit image.

    To do that, I use the following program with matlab...
    HTML Code:
    f = fopen('ucam.dat','r'); part_corr = fread(f, 80*60, 'ubit16','ieee-be');[HTML]fclose (f);
    im=reshape(part_corr,80,60);
    imagesc(im')[/HTML]You will find to my website the original data: http://130.120.117.103/Stations/France/TEST/ucam.dat

    My result is the image named result.jpg

    and what I want to obtain with the demo provided by 4D ucam.JPG...


    I hope you will find a good representation. I

    16 bit color and resolution: 80x60

    Thanks for advance!!!
Working...
X