Package org.datavec.image.data
Class ImageWritable
- java.lang.Object
-
- org.datavec.image.data.ImageWritable
-
- All Implemented Interfaces:
Serializable,Writable
public class ImageWritable extends Object implements Writable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected org.bytedeco.javacv.Frameframe
-
Constructor Summary
Constructors Constructor Description ImageWritable()ImageWritable(org.bytedeco.javacv.Frame frame)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)intgetDepth()org.bytedeco.javacv.FramegetFrame()intgetHeight()WritableTypegetType()intgetWidth()voidreadFields(DataInput in)voidsetFrame(org.bytedeco.javacv.Frame frame)doubletoDouble()floattoFloat()inttoInt()longtoLong()voidwrite(DataOutput out)voidwriteType(DataOutput out)
-
-
-
Method Detail
-
getFrame
public org.bytedeco.javacv.Frame getFrame()
-
setFrame
public void setFrame(org.bytedeco.javacv.Frame frame)
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
getDepth
public int getDepth()
-
write
public void write(DataOutput out) throws IOException
- Specified by:
writein interfaceWritable- Throws:
IOException
-
readFields
public void readFields(DataInput in) throws IOException
- Specified by:
readFieldsin interfaceWritable- Throws:
IOException
-
writeType
public void writeType(DataOutput out) throws IOException
- Specified by:
writeTypein interfaceWritable- Throws:
IOException
-
getType
public WritableType getType()
-
-