public class CodestreamManipulator extends Object
Constructor and Description |
---|
CodestreamManipulator(File file,
int nt,
int pptp,
boolean ppm,
boolean ppt,
boolean tempSop,
boolean tempEph)
Instantiates a codestream manipulator..
|
Modifier and Type | Method and Description |
---|---|
int |
doCodestreamManipulation()
This method performs the actual manipulation of the codestream which is
the reparsing for tile parts and packed packet headers
|
public CodestreamManipulator(File file, int nt, int pptp, boolean ppm, boolean ppt, boolean tempSop, boolean tempEph)
outname
- The name of the original outfilent
- The number of tiles in the imagepptp
- Packets per tile-part. If zero, no division into tileparts
is performedppm
- Flag indicating that PPM marker is usedppt
- Flag indicating that PPT marker is usedtempSop
- Flag indicating whether SOP merker should be removedtempEph
- Flag indicating whether EPH merker should be removedpublic int doCodestreamManipulation() throws IOException
IOException
- If an I/O error ocurred.Copyright © 2014. All rights reserved.