In [3]:
using Images, RODClf, Color, FixedPointNumbers

In [6]:
images_csv = readcsv("./dataset/test.csv");

In [7]:
props = {"spatialorder" => ASCIIString["x","y"],"pixelspacing" => [1,1],"IMcs" => "sRGB"}


Out[7]:
Dict{Any,Any} with 3 entries:
  "spatialorder" => ASCIIString["x","y"]
  "pixelspacing" => [1,1]
  "IMcs"         => "sRGB"

In [14]:
y = [convert(Ufixed8,convert(Uint8,0xff-integer(x))) for x in split(images_csv[725,2], " ")];
z = reshape([RGB{Ufixed8}(x, x, x) for x in y], (96,96));

In [19]:
Image(z, props)


Out[19]:

In [25]:
size(images_csv)


Out[25]:
(1784,2)