Package boofcv.core.image
Class FactoryGImageGray.GSingle_S8
java.lang.Object
boofcv.core.image.FactoryGImageGray.GSingleBase<T>
boofcv.core.image.FactoryGImageGray.GSingleBaseInt<GrayS8>
boofcv.core.image.FactoryGImageGray.GSingle_S8
- All Implemented Interfaces:
GImageGray
- Enclosing class:
- FactoryGImageGray
-
Field Summary
Fields inherited from class boofcv.core.image.FactoryGImageGray.GSingleBase
image -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(int x, int y) floatgetF(int index) voidset(int index, float value) Sets pixel based on pixel value in data arrayvoidSet's pixel value using number.doubleunsafe_getD(int x, int y) get which returns a double, has no bounds checking.floatunsafe_getF(int x, int y) Methods inherited from class boofcv.core.image.FactoryGImageGray.GSingleBaseInt
isFloatingPointMethods inherited from class boofcv.core.image.FactoryGImageGray.GSingleBase
getHeight, getImage, getWidth, wrap
-
Constructor Details
-
GSingle_S8
-
-
Method Details
-
get
-
unsafe_getD
public double unsafe_getD(int x, int y) Description copied from interface:GImageGrayget which returns a double, has no bounds checking. Still slow, but faster than the super generic get. Also doesn't create memory on each get -
unsafe_getF
public float unsafe_getF(int x, int y) -
set
Description copied from interface:GImageGraySet's pixel value using number. If native type of 'num' and image are the same then there is no loss in precision.- Parameters:
x- pixel coordinate x-valuey- pixel coordinate y-valuenum- Value of the pixel
-
set
public void set(int index, float value) Description copied from interface:GImageGraySets pixel based on pixel value in data array -
getF
public float getF(int index) -
getImageType
-