seek(treFatBlock.getSubfileOffset() + treHeader.getPointOverviewSectionOffset());
int numberOfPoints =
treHeader.getPointOverviewSectionLength() /
treHeader.getPointOverviewRecordsSize();
for (int i = 0; i < numberOfPoints; i++) {
Point point = new Point();
point.setNumber(i + 1);
// Point type
nextByte(); // fixme, siempre es por default? no se usa el byte?
point.setType(PointType.DEFAULT);
// Maximum level
point.setMaximumLevelWherePresent(nextByte());
// Point subtype
nextByte(); // fixme, siempre es por default? no se usa el byte?
point.setSubtype(PointSubtype.DEFAULT);
subfile.getPoints().add(point);
}
img.getSubfiles().add(subfile);