public class RegionSegmentInformation extends Object implements SegmentData
| Constructor and Description |
|---|
RegionSegmentInformation() |
RegionSegmentInformation(SubInputStream subInputStream) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBitmapHeight() |
int |
getBitmapWidth() |
CombinationOperator |
getCombinationOperator() |
int |
getXLocation() |
int |
getYLocation() |
void |
init(SegmentHeader header,
SubInputStream sis)
Parse the stream and read information of header.
|
void |
parseHeader() |
void |
setBitmapHeight(int bitmapHeight) |
void |
setBitmapWidth(int bitmapWidth) |
public RegionSegmentInformation(SubInputStream subInputStream)
public RegionSegmentInformation()
public void parseHeader()
throws IOException
IOExceptionpublic void init(SegmentHeader header, SubInputStream sis) throws InvalidHeaderValueException, IntegerMaxValueException, IOException
SegmentDatainit in interface SegmentDataheader - - The segments' header (to make referred-to segments available in data part).sis - - Wrapped ImageInputStream into SubInputStream.InvalidHeaderValueExceptionIntegerMaxValueExceptionIOExceptionpublic void setBitmapWidth(int bitmapWidth)
public int getBitmapWidth()
public void setBitmapHeight(int bitmapHeight)
public int getBitmapHeight()
public int getXLocation()
public int getYLocation()
public CombinationOperator getCombinationOperator()
Copyright © 2015. All rights reserved.