Package biopb.image
Interface PixelsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Pixels,Pixels.Builder
public interface PixelsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionPixel valuesPixel valuesA string describing the dimension order of the pixel data, e.g.com.google.protobuf.ByteStringA string describing the dimension order of the pixel data, e.g.getDtype()A string describing the data type using numpy's convention.com.google.protobuf.ByteStringA string describing the data type using numpy's convention.intoptional uint32 offset_c = 26;intoptional uint32 offset_t = 25;intfor large image dataset, it is necessary to send a stream of image patches instead of one monolithic data structure of the whole dataset.intoptional uint32 offset_y = 23;intoptional uint32 offset_z = 24;physical size unit, default "µm"com.google.protobuf.ByteStringphysical size unit, default "µm"floatPhysical size of a pixel.floatoptional float physical_size_y = 15;floatoptional float physical_size_z = 16;intgetSizeC()uint32 size_c = 12;intgetSizeT()uint32 size_t = 13;intgetSizeX()Dimensional size of pixel data array [units:none]intgetSizeY()uint32 size_y = 10;intgetSizeZ()uint32 size_z = 11;floattime_increment is used for time series that have a global timing specification instead of per-timepoint timing info.time unit, default "s"com.google.protobuf.ByteStringtime unit, default "s"booleanPixel valuesbooleanoptional uint32 offset_c = 26;booleanoptional uint32 offset_t = 25;booleanfor large image dataset, it is necessary to send a stream of image patches instead of one monolithic data structure of the whole dataset.booleanoptional uint32 offset_y = 23;booleanoptional uint32 offset_z = 24;booleanPhysical size of a pixel.booleanoptional float physical_size_y = 15;booleanoptional float physical_size_z = 16;booleantime_increment is used for time series that have a global timing specification instead of per-timepoint timing info.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasBindata
boolean hasBindata()Pixel values
.biopb.image.BinData bindata = 3;- Returns:
- Whether the bindata field is set.
-
getBindata
BinData getBindata()Pixel values
.biopb.image.BinData bindata = 3;- Returns:
- The bindata.
-
getBindataOrBuilder
BinDataOrBuilder getBindataOrBuilder()Pixel values
.biopb.image.BinData bindata = 3; -
getDimensionOrder
String getDimensionOrder()A string describing the dimension order of the pixel data, e.g. "XYZCT" The string must be a permutaion of these 5 letters even if some of the dimension doesn't exist in the data.
string dimension_order = 4;- Returns:
- The dimensionOrder.
-
getDimensionOrderBytes
com.google.protobuf.ByteString getDimensionOrderBytes()A string describing the dimension order of the pixel data, e.g. "XYZCT" The string must be a permutaion of these 5 letters even if some of the dimension doesn't exist in the data.
string dimension_order = 4;- Returns:
- The bytes for dimensionOrder.
-
getDtype
String getDtype()A string describing the data type using numpy's convention. E.g., 'i8' represent int64. Endianness indicator, e.g. '=i8', is allowed but will be ignored. Instead the endianness will be determined by the field within the Bindata structure.
string dtype = 5;- Returns:
- The dtype.
-
getDtypeBytes
com.google.protobuf.ByteString getDtypeBytes()A string describing the data type using numpy's convention. E.g., 'i8' represent int64. Endianness indicator, e.g. '=i8', is allowed but will be ignored. Instead the endianness will be determined by the field within the Bindata structure.
string dtype = 5;- Returns:
- The bytes for dtype.
-
getSizeX
int getSizeX()Dimensional size of pixel data array [units:none]
uint32 size_x = 9;- Returns:
- The sizeX.
-
getSizeY
int getSizeY()uint32 size_y = 10;- Returns:
- The sizeY.
-
getSizeZ
int getSizeZ()uint32 size_z = 11;- Returns:
- The sizeZ.
-
getSizeC
int getSizeC()uint32 size_c = 12;- Returns:
- The sizeC.
-
getSizeT
int getSizeT()uint32 size_t = 13;- Returns:
- The sizeT.
-
hasPhysicalSizeX
boolean hasPhysicalSizeX()Physical size of a pixel.
optional float physical_size_x = 14;- Returns:
- Whether the physicalSizeX field is set.
-
getPhysicalSizeX
float getPhysicalSizeX()Physical size of a pixel.
optional float physical_size_x = 14;- Returns:
- The physicalSizeX.
-
hasPhysicalSizeY
boolean hasPhysicalSizeY()optional float physical_size_y = 15;- Returns:
- Whether the physicalSizeY field is set.
-
getPhysicalSizeY
float getPhysicalSizeY()optional float physical_size_y = 15;- Returns:
- The physicalSizeY.
-
hasPhysicalSizeZ
boolean hasPhysicalSizeZ()optional float physical_size_z = 16;- Returns:
- Whether the physicalSizeZ field is set.
-
getPhysicalSizeZ
float getPhysicalSizeZ()optional float physical_size_z = 16;- Returns:
- The physicalSizeZ.
-
getPhysicalSizeUnit
String getPhysicalSizeUnit()physical size unit, default "µm"
string physical_size_unit = 17;- Returns:
- The physicalSizeUnit.
-
getPhysicalSizeUnitBytes
com.google.protobuf.ByteString getPhysicalSizeUnitBytes()physical size unit, default "µm"
string physical_size_unit = 17;- Returns:
- The bytes for physicalSizeUnit.
-
hasTimeIncrement
boolean hasTimeIncrement()time_increment is used for time series that have a global timing specification instead of per-timepoint timing info. For example in a video stream. Units are set by TimeIncrementUnit.
optional float time_increment = 18;- Returns:
- Whether the timeIncrement field is set.
-
getTimeIncrement
float getTimeIncrement()time_increment is used for time series that have a global timing specification instead of per-timepoint timing info. For example in a video stream. Units are set by TimeIncrementUnit.
optional float time_increment = 18;- Returns:
- The timeIncrement.
-
getTimeIncrementUnit
String getTimeIncrementUnit()time unit, default "s"
string time_increment_unit = 21;- Returns:
- The timeIncrementUnit.
-
getTimeIncrementUnitBytes
com.google.protobuf.ByteString getTimeIncrementUnitBytes()time unit, default "s"
string time_increment_unit = 21;- Returns:
- The bytes for timeIncrementUnit.
-
hasOffsetX
boolean hasOffsetX()for large image dataset, it is necessary to send a stream of image patches instead of one monolithic data structure of the whole dataset. The offset values allows one to specify the relative locations of each patch. These include spatial (x,y,z), channel (c), and time (t) offsets.
optional uint32 offset_x = 22;- Returns:
- Whether the offsetX field is set.
-
getOffsetX
int getOffsetX()for large image dataset, it is necessary to send a stream of image patches instead of one monolithic data structure of the whole dataset. The offset values allows one to specify the relative locations of each patch. These include spatial (x,y,z), channel (c), and time (t) offsets.
optional uint32 offset_x = 22;- Returns:
- The offsetX.
-
hasOffsetY
boolean hasOffsetY()optional uint32 offset_y = 23;- Returns:
- Whether the offsetY field is set.
-
getOffsetY
int getOffsetY()optional uint32 offset_y = 23;- Returns:
- The offsetY.
-
hasOffsetZ
boolean hasOffsetZ()optional uint32 offset_z = 24;- Returns:
- Whether the offsetZ field is set.
-
getOffsetZ
int getOffsetZ()optional uint32 offset_z = 24;- Returns:
- The offsetZ.
-
hasOffsetT
boolean hasOffsetT()optional uint32 offset_t = 25;- Returns:
- Whether the offsetT field is set.
-
getOffsetT
int getOffsetT()optional uint32 offset_t = 25;- Returns:
- The offsetT.
-
hasOffsetC
boolean hasOffsetC()optional uint32 offset_c = 26;- Returns:
- Whether the offsetC field is set.
-
getOffsetC
int getOffsetC()optional uint32 offset_c = 26;- Returns:
- The offsetC.
-