(imageId, vector)
imageId forms a primary key
imageId
(curveId, point, imageId)
the pair (curveId, point) forms a primary key with an ordering, where point = CcurveId(vimageId)
(curveId, point)