std.image.base.model
create-model
added in 3.0
(create-model label)creates a predefined image model given a label
(create-model :ushort-555-rgb) => {:type :color :label :ushort-555-rgb :channel {:count 1 :fn vector :inv first} :meta {:type Short/TYPE :span 1} :data {:red {:type Byte/TYPE :channel 0 :index 0 :access 10 5} :green {:type Byte/TYPE :channel 0 :index 0 :access 5 5} :blue {:type Byte/TYPE :channel 0 :index 0 :access 0 5}}}
model
added in 3.0
(model)(model x)(model x overwrites)creates a model with overwrites
(model :int-rgb {:type :stuff :data :none :channel {:hello :world}}) => (contains-in {:type :stuff, :data :none, :channel {:count 1, :hello :world}})
model-inv-table
added in 3.0
(model-inv-table {:keys [meta data type]})