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

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

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


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

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

In [27]:
Image(z, props)


Out[27]:

In [20]:
length(images_csv[1324,2])


Out[20]:
30703

In [25]:
size(images_csv)


Out[25]:
(1784,2)

In [23]:
sh(z)


Out[23]:
27648

In [ ]: