Uses of Class
org.apache.pdfbox.jbig2.Bitmap
-
-
Uses of Bitmap in org.apache.pdfbox.jbig2
Fields in org.apache.pdfbox.jbig2 declared as Bitmap Modifier and Type Field Description private BitmapSlidingBitmapWindow. bitmapprivate BitmapJBIG2Page. pageBitmapThe page bitmap that represents the page bufferMethods in org.apache.pdfbox.jbig2 that return Bitmap Modifier and Type Method Description protected BitmapJBIG2Page. getBitmap()This method returns the decoded bitmap if present.BitmapRegion. getRegionBitmap()Decodes and returns a regions content.Methods in org.apache.pdfbox.jbig2 that return types with arguments of type Bitmap Modifier and Type Method Description java.util.ArrayList<Bitmap>Dictionary. getDictionary()Decodes a dictionary segment and returns the result.Methods in org.apache.pdfbox.jbig2 with parameters of type Bitmap Modifier and Type Method Description static voidBitmap. arraycopy(Bitmap src, int srcPos, Bitmap dest, int destPos, int length)Copy parts of the underlying array of a Bitmap to another Bitmap.private booleanJBIG2Page. fitsPage(PageInformation pageInformation, Bitmap regionBitmap)Check if we have only one region that forms the complete page.Constructors in org.apache.pdfbox.jbig2 with parameters of type Bitmap Constructor Description SlidingBitmapWindow(Bitmap bitmap)Constructs a window over the given bitmap, positioned at (0, 0).SlidingBitmapWindow(Bitmap bitmap, int dx, int dy)Constructs a window over the given bitmap with a coordinate offset, positioned at (0, 0). -
Uses of Bitmap in org.apache.pdfbox.jbig2.decoder
Fields in org.apache.pdfbox.jbig2.decoder declared as Bitmap Modifier and Type Field Description private BitmapGenericRefinementRegionDecodingProcedure. referenceBitmapprivate BitmapGenericRefinementRegionDecodingProcedure. regionBitmapThe bitmap being built; held as a field to avoid passing it everywhere.Methods in org.apache.pdfbox.jbig2.decoder that return Bitmap Modifier and Type Method Description static BitmapGenericRefinementRegionDecodingProcedure. decode(ArithmeticDecoder arithDecoder, CX cx, int width, int height, short grTemplate, boolean isTPGROn, Bitmap referenceBitmap, int referenceDX, int referenceDY, short[] grAtX, short[] grAtY)Executes the Generic Refinement Region decoding procedure (§6.3.5.6) and returns the decoded bitmap.private BitmapGenericRefinementRegionDecodingProcedure. run(int width, int height, short grTemplate, boolean isTPGROn, Bitmap referenceBitmap, int referenceDX, int referenceDY, short[] grAtX, short[] grAtY)Methods in org.apache.pdfbox.jbig2.decoder with parameters of type Bitmap Modifier and Type Method Description static BitmapGenericRefinementRegionDecodingProcedure. decode(ArithmeticDecoder arithDecoder, CX cx, int width, int height, short grTemplate, boolean isTPGROn, Bitmap referenceBitmap, int referenceDX, int referenceDY, short[] grAtX, short[] grAtY)Executes the Generic Refinement Region decoding procedure (§6.3.5.6) and returns the decoded bitmap.private intGenericRefinementRegionDecodingProcedure. getPixelSafe(Bitmap bitmap, int x, int y)private BitmapGenericRefinementRegionDecodingProcedure. run(int width, int height, short grTemplate, boolean isTPGROn, Bitmap referenceBitmap, int referenceDX, int referenceDY, short[] grAtX, short[] grAtY) -
Uses of Bitmap in org.apache.pdfbox.jbig2.decoder.mmr
Methods in org.apache.pdfbox.jbig2.decoder.mmr that return Bitmap Modifier and Type Method Description BitmapMMRDecompressor. uncompress()Methods in org.apache.pdfbox.jbig2.decoder.mmr with parameters of type Bitmap Modifier and Type Method Description private voidMMRDecompressor. fillBitmap(Bitmap result, int line, int[] currentOffsets, int count) -
Uses of Bitmap in org.apache.pdfbox.jbig2.image
Fields in org.apache.pdfbox.jbig2.image declared as Bitmap Modifier and Type Field Description private BitmapBitmapScanline. bitmapMethods in org.apache.pdfbox.jbig2.image that return Bitmap Modifier and Type Method Description static BitmapBitmaps. extract(java.awt.Rectangle roi, Bitmap src)Returns the specified rectangle area of the bitmap.static BitmapBitmaps. subsample(Bitmap src, javax.imageio.ImageReadParam param)static BitmapBitmaps. subsampleX(Bitmap src, int xSubsampling, int xSubsamplingOffset)static BitmapBitmaps. subsampleY(Bitmap src, int ySubsampling, int ySubsamplingOffset)Methods in org.apache.pdfbox.jbig2.image with parameters of type Bitmap Modifier and Type Method Description static java.awt.image.BufferedImageBitmaps. asBufferedImage(Bitmap bitmap)Returns the given bitmap as buffered image.static java.awt.image.BufferedImageBitmaps. asBufferedImage(Bitmap bitmap, javax.imageio.ImageReadParam param, FilterType filterType)Returns the given bitmap as buffered image.static java.awt.image.BufferedImageBitmaps. asBufferedImage(Bitmap bitmap, FilterType filterType)Returns the given bitmap as buffered image.static java.awt.image.WritableRasterBitmaps. asRaster(Bitmap bitmap)Returns the given bitmap as writable raster.static java.awt.image.WritableRasterBitmaps. asRaster(Bitmap bitmap, javax.imageio.ImageReadParam param, FilterType filterType)Returns the given bitmap as writable raster.static java.awt.image.WritableRasterBitmaps. asRaster(Bitmap bitmap, FilterType filterType)Returns the given bitmap as writable raster.static voidBitmaps. blit(Bitmap src, Bitmap dst, int x, int y, CombinationOperator combinationOperator)This method combines a given bitmap with the current instance.private static voidBitmaps. blitByPixel(Bitmap src, Bitmap dst, int xDstOffset, int yDstOffset, CombinationOperator combinationOperator)private static voidBitmaps. blitShifted(Bitmap src, Bitmap dst, int startLine, int lastLine, int dstStartIdx, int srcStartIdx, int srcEndIdx, int toShift, int shiftVal1, int shiftVal2, CombinationOperator op, int padding)private static voidBitmaps. blitSpecialShifted(Bitmap src, Bitmap dst, int startLine, int lastLine, int dstStartIdx, int srcStartIdx, int srcEndIdx, int toShift, int shiftVal1, int shiftVal2, CombinationOperator op)private static voidBitmaps. blitUnshifted(Bitmap src, Bitmap dst, int startLine, int lastLine, int dstStartIdx, int srcStartIdx, int srcEndIdx, CombinationOperator op)private static java.awt.image.WritableRasterBitmaps. buildRaster(Bitmap bitmap, FilterType filterType, double scaleX, double scaleY)private static voidBitmaps. copyLine(Bitmap src, Bitmap dst, int sourceUpShift, int sourceDownShift, int padding, int firstSourceByteOfLine, int lastSourceByteOfLine, boolean usePadding, int sourceOffset, int targetOffset)static BitmapBitmaps. extract(java.awt.Rectangle roi, Bitmap src)Returns the specified rectangle area of the bitmap.static BitmapBitmaps. subsample(Bitmap src, javax.imageio.ImageReadParam param)static BitmapBitmaps. subsampleX(Bitmap src, int xSubsampling, int xSubsamplingOffset)static BitmapBitmaps. subsampleY(Bitmap src, int ySubsampling, int ySubsamplingOffset)Constructors in org.apache.pdfbox.jbig2.image with parameters of type Bitmap Constructor Description BitmapScanline(Bitmap src, java.awt.image.WritableRaster dst, int width) -
Uses of Bitmap in org.apache.pdfbox.jbig2.segments
Fields in org.apache.pdfbox.jbig2.segments declared as Bitmap Modifier and Type Field Description private BitmapHalftoneRegion. halftoneRegionBitmapDecoded dataprivate BitmapGenericRegion. hSkipprivate Bitmap[]SymbolDictionary. newSymbolsprivate BitmapGenericRefinementRegion. pageBitmapprivate BitmapGenericRefinementRegion. referenceBitmapVariables for decodingprivate BitmapGenericRegion. regionBitmapDecoded data as pixel values (use row stride/width to wrap line)private BitmapTextRegion. regionBitmapFields in org.apache.pdfbox.jbig2.segments with type parameters of type Bitmap Modifier and Type Field Description private java.util.ArrayList<Bitmap>SymbolDictionary. exportSymbolsReturn value of that segmentprivate java.util.ArrayList<Bitmap>SymbolDictionary. importSymbolsprivate java.util.ArrayList<Bitmap>HalftoneRegion. patternsPreviously decoded data from other regions or dictionaries, stored to use as patterns in this region.private java.util.ArrayList<Bitmap>PatternDictionary. patternsDecoded bitmaps, stored to be used by segments, that refer to itprivate java.util.ArrayList<Bitmap>SymbolDictionary. sbSymbolsprivate java.util.ArrayList<Bitmap>TextRegion. symbolsMethods in org.apache.pdfbox.jbig2.segments that return Bitmap Modifier and Type Method Description private Bitmap[]HalftoneRegion. combineGrayScalePlanes(Bitmap[] grayScalePlanes, int j)private BitmapHalftoneRegion. computeHSkip(int hPatternWidth, int hPatternHeight)private BitmapSymbolDictionary. decodeHeightClassCollectiveBitmap(long bmSize, int heightClassHeight, int totalWidth)private BitmapTextRegion. decodeIb(long r, long id)private BitmapGenericRefinementRegion. getGrReference()BitmapGenericRefinementRegion. getRegionBitmap()Decode using a template and arithmetic coding, as described in 6.3.5.6BitmapGenericRegion. getRegionBitmap()The procedure is described in 6.2.5.7, page 17.BitmapHalftoneRegion. getRegionBitmap()The procedure is described in JBIG2 ISO standard, 6.6.5.BitmapTextRegion. getRegionBitmap()Methods in org.apache.pdfbox.jbig2.segments that return types with arguments of type Bitmap Modifier and Type Method Description java.util.ArrayList<Bitmap>PatternDictionary. getDictionary()This method decodes a pattern dictionary segment and returns an array ofBitmaps.java.util.ArrayList<Bitmap>SymbolDictionary. getDictionary()6.5.5 Decoding the symbol dictionaryprivate java.util.ArrayList<Bitmap>HalftoneRegion. getPatterns()Methods in org.apache.pdfbox.jbig2.segments with parameters of type Bitmap Modifier and Type Method Description private voidTextRegion. blit(Bitmap ib, long t)private Bitmap[]HalftoneRegion. combineGrayScalePlanes(Bitmap[] grayScalePlanes, int j)private int[][]HalftoneRegion. computeGrayScaleValues(Bitmap[] grayScalePlanes, int bitsPerValue)private voidSymbolDictionary. decodeHeightClassBitmap(Bitmap heightClassCollectiveBitmap, int heightClassFirstSymbol, int heightClassHeight, int[] newSymbolsWidths)private voidSymbolDictionary. decodeNewSymbols(int symWidth, int hcHeight, Bitmap ibo, int rdx, int rdy)Decodes a new symbol using the provided parameters.private voidPatternDictionary. extractPatterns(Bitmap collectiveBitmap)private int[][]HalftoneRegion. grayScaleDecoding(int bitsPerValue, Bitmap hSkip)Gray-scale image decoding procedure is special for halftone region decoding and is described in Annex C.5 on page 98.voidGenericRefinementRegion. setPageBitmap(Bitmap pageBitmap)Call this to pass the page bitmap in case there is no reference bitmap.protected voidGenericRefinementRegion. setParameters(CX cx, ArithmeticDecoder arithmeticDecoder, short grTemplate, int regionWidth, int regionHeight, Bitmap grReference, int grReferenceDX, int grReferenceDY, boolean isTPGRon, short[] grAtX, short[] grAtY)Deprecated.UseGenericRefinementRegionDecodingProcedure.decode( ArithmeticDecoder, CX, int, int, short, boolean, Bitmap, int, int, short[], short[])directly, supplying the sharedArithmeticDecoderandCXas arguments.protected voidGenericRegion. setParameters(boolean isMMREncoded, long dataOffset, long dataLength, int gbh, int gbw, byte gbTemplate, boolean isTPGDon, boolean useSkip, Bitmap hSkip, short[] gbAtX, short[] gbAtY)Used byPatternDictionaryandHalftoneRegion.Method parameters in org.apache.pdfbox.jbig2.segments with type arguments of type Bitmap Modifier and Type Method Description protected voidTextRegion. setParameters(ArithmeticDecoder arithmeticDecoder, ArithmeticIntegerDecoder iDecoder, boolean isHuffmanEncoded, boolean sbRefine, int sbw, int sbh, long sbNumInstances, int sbStrips, int sbNumSyms, short sbDefaultPixel, short sbCombinationOperator, short transposed, short refCorner, short sbdsOffset, short sbHuffFS, short sbHuffDS, short sbHuffDT, short sbHuffRDWidth, short sbHuffRDHeight, short sbHuffRDX, short sbHuffRDY, short sbHuffRSize, short sbrTemplate, short[] sbrATX, short[] sbrATY, java.util.ArrayList<Bitmap> sbSyms, int sbSymCodeLen) -
Uses of Bitmap in org.apache.pdfbox.jbig2.util
Methods in org.apache.pdfbox.jbig2.util with parameters of type Bitmap Modifier and Type Method Description static voidDictionaryViewer. show(Bitmap b)Method parameters in org.apache.pdfbox.jbig2.util with type arguments of type Bitmap Modifier and Type Method Description static voidDictionaryViewer. show(java.util.List<Bitmap> symbols)
-