Uses of Class
org.apache.pdfbox.jbig2.Bitmap
Packages that use Bitmap
Package
Description
-
Uses of Bitmap in org.apache.pdfbox.jbig2
Fields in org.apache.pdfbox.jbig2 declared as BitmapModifier and TypeFieldDescriptionprivate final BitmapSlidingBitmapWindow.bitmapprivate BitmapJBIG2Page.pageBitmapThe page bitmap that represents the page bufferMethods in org.apache.pdfbox.jbig2 that return BitmapModifier and TypeMethodDescriptionprotected BitmapJBIG2Page.getBitmap()This method returns the decoded bitmap if present.Region.getRegionBitmap()Decodes and returns a regions content.Methods in org.apache.pdfbox.jbig2 that return types with arguments of type BitmapModifier and TypeMethodDescriptionDictionary.getDictionary()Decodes a dictionary segment and returns the result.Methods in org.apache.pdfbox.jbig2 with parameters of type BitmapModifier and TypeMethodDescriptionstatic voidCopy 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 BitmapModifierConstructorDescriptionSlidingBitmapWindow(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 BitmapModifier and TypeFieldDescriptionprivate 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 BitmapModifier and TypeMethodDescriptionstatic 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 BitmapModifier and TypeMethodDescriptionstatic 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 BitmapMethods in org.apache.pdfbox.jbig2.decoder.mmr with parameters of type BitmapModifier and TypeMethodDescriptionprivate 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 BitmapMethods in org.apache.pdfbox.jbig2.image that return BitmapModifier and TypeMethodDescriptionstatic BitmapReturns the specified rectangle area of the bitmap.static BitmapBitmaps.subsample(Bitmap src, 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 BitmapModifier and TypeMethodDescriptionstatic BufferedImageBitmaps.asBufferedImage(Bitmap bitmap) Returns the given bitmap as buffered image.static BufferedImageBitmaps.asBufferedImage(Bitmap bitmap, ImageReadParam param, FilterType filterType) Returns the given bitmap as buffered image.static BufferedImageBitmaps.asBufferedImage(Bitmap bitmap, FilterType filterType) Returns the given bitmap as buffered image.static WritableRasterReturns the given bitmap as writable raster.static WritableRasterBitmaps.asRaster(Bitmap bitmap, ImageReadParam param, FilterType filterType) Returns the given bitmap as writable raster.static 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 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 BitmapReturns the specified rectangle area of the bitmap.static BitmapBitmaps.subsample(Bitmap src, 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 BitmapModifierConstructorDescription(package private)BitmapScanline(Bitmap src, WritableRaster dst, int width) -
Uses of Bitmap in org.apache.pdfbox.jbig2.segments
Fields in org.apache.pdfbox.jbig2.segments declared as BitmapModifier and TypeFieldDescriptionprivate 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 BitmapModifier and TypeFieldDescriptionSymbolDictionary.exportSymbolsReturn value of that segmentSymbolDictionary.importSymbolsHalftoneRegion.patternsPreviously decoded data from other regions or dictionaries, stored to use as patterns in this region.PatternDictionary.patternsDecoded bitmaps, stored to be used by segments, that refer to itSymbolDictionary.sbSymbolsTextRegion.symbolsMethods in org.apache.pdfbox.jbig2.segments that return BitmapModifier and TypeMethodDescriptionprivate 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()GenericRefinementRegion.getRegionBitmap()Decode using a template and arithmetic coding, as described in 6.3.5.6GenericRegion.getRegionBitmap()The procedure is described in 6.2.5.7, page 17.HalftoneRegion.getRegionBitmap()The procedure is described in JBIG2 ISO standard, 6.6.5.TextRegion.getRegionBitmap()Methods in org.apache.pdfbox.jbig2.segments that return types with arguments of type BitmapModifier and TypeMethodDescriptionPatternDictionary.getDictionary()This method decodes a pattern dictionary segment and returns an array ofBitmaps.SymbolDictionary.getDictionary()6.5.5 Decoding the symbol dictionaryHalftoneRegion.getPatterns()Methods in org.apache.pdfbox.jbig2.segments with parameters of type BitmapModifier and TypeMethodDescriptionprivate voidprivate 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.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 BitmapModifier and TypeMethodDescriptionprotected 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, 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 BitmapMethod parameters in org.apache.pdfbox.jbig2.util with type arguments of type Bitmap
GenericRefinementRegionDecodingProcedure.decode(ArithmeticDecoder, CX, int, int, short, boolean, Bitmap, int, int, short[], short[])directly, supplying the sharedArithmeticDecoderandCXas arguments.