Image.H | INVT | NRT |
---|---|---|
Get Image width | img.getWidth() | img.width() |
Get Image height | img.getHeight() | img.height() |
int/float img | Image<float> | Image<PixGray<float> > |
get value (x,y) | img.getVal(x,y) | img.at(x,y) |
set value (x,y) | img.setVal(x,y,value) | img(x,y) = value |
get value from float img | img.getVal(x,y) | img.at(x,y).val() |
Create Image | Image<float> img(w,h,NO_INIT) | Image<PixGray<float> >(w,h,ImageInitPolicy::None) |
Check initialized | img.initialized() | img.size()>0 |
Get Writeable iterator | img.beginw() | img.begin() |
Get Read-Only iterator | img.begin() | img.const_begin() |
* Point.H
Point.H | INVT | NRT |
---|---|---|
Get X,y | point.i,point.j | point.x(),point.y() |