Package gov.nih.mipav.model.file.rawjp2
Class ImgWriterRAWColor
- java.lang.Object
-
- jj2000.j2k.image.output.ImgWriter
-
- gov.nih.mipav.model.file.rawjp2.ImgWriterRAW
-
- gov.nih.mipav.model.file.rawjp2.ImgWriterRAWColor
-
public class ImgWriterRAWColor extends ImgWriterRAW
-
-
Field Summary
Fields Modifier and Type Field Description protected int
cFactor
protected jj2000.j2k.image.DataBlkInt
db0
protected jj2000.j2k.image.DataBlkInt
db1
protected jj2000.j2k.image.DataBlkInt
db2
private int[]
fb
private int[]
levShift
-
Constructor Summary
Constructors Constructor Description ImgWriterRAWColor(ModelImage mi, jj2000.j2k.image.BlkImgDataSrc imgSrc, boolean isSigned)
ImgWriterRAWColor(java.io.File out, jj2000.j2k.image.BlkImgDataSrc imgSrc, int c, boolean isSigned)
ImgWriterRAWColor(java.lang.String fname, jj2000.j2k.image.BlkImgDataSrc imgSrc, int c, boolean isSigned)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setOffset(int slcIdx)
void
setSrc(jj2000.j2k.image.BlkImgDataSrc slc)
void
writeModImg(int x, int y)
void
writeSlice()
-
Methods inherited from class gov.nih.mipav.model.file.rawjp2.ImgWriterRAW
close, flush, getImgType, getOffset, setImgType, toString, write, write, writeModImg
-
-
-
-
Constructor Detail
-
ImgWriterRAWColor
public ImgWriterRAWColor(java.io.File out, jj2000.j2k.image.BlkImgDataSrc imgSrc, int c, boolean isSigned) throws java.io.IOException
- Throws:
java.io.IOException
-
ImgWriterRAWColor
public ImgWriterRAWColor(ModelImage mi, jj2000.j2k.image.BlkImgDataSrc imgSrc, boolean isSigned) throws java.io.IOException
- Throws:
java.io.IOException
-
ImgWriterRAWColor
public ImgWriterRAWColor(java.lang.String fname, jj2000.j2k.image.BlkImgDataSrc imgSrc, int c, boolean isSigned) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
setOffset
public void setOffset(int slcIdx)
- Overrides:
setOffset
in classImgWriterRAW
-
writeSlice
public void writeSlice() throws java.io.IOException
- Overrides:
writeSlice
in classImgWriterRAW
- Throws:
java.io.IOException
-
writeModImg
public void writeModImg(int x, int y) throws java.io.IOException
- Throws:
java.io.IOException
-
setSrc
public void setSrc(jj2000.j2k.image.BlkImgDataSrc slc)
- Overrides:
setSrc
in classImgWriterRAW
-
-