C D E F G M P R S T W

C

createImage(int[], int, int) - Static method in class com.tjtieto.wap.wapix.WBMPMaster
Creates java.awt.Image object based on pixel values.

D

decodeBytes(InputStream) - Static method in class com.tjtieto.wap.wapix.WBMPMaster
Reads one Multibyte Integer from the InputStream.
decodePixels(InputStream) - Static method in class com.tjtieto.wap.wapix.WBMPMaster
Reads a WBMP image from the InputStream and returns the result as one dimensional int array or RGB values.
ditherBurke(int[], int, int, int, Color, boolean) - Static method in class com.tjtieto.wap.wapix.WBMPMaster
Burke pattern: - - X 8 4 2 4 8 4 2
Efficiency: 8
Quality: 8

Notice that this is just a simplification of the Stucki filter with the bottom row removed.
ditherFloydSteinberg(int[], int, int, int, Color, boolean) - Static method in class com.tjtieto.wap.wapix.WBMPMaster
Floyd-Steinberg pattern: - X 7 3 5 1
Efficiency: 9
Quality: 7

In this filter, the X represents the pixel you are currently scanning, and the numbers (called weights, for equally boring reasons) represent the proportion of the error distributed to the pixel in that position.
ditherJarvis(int[], int, int, int, Color, boolean) - Static method in class com.tjtieto.wap.wapix.WBMPMaster
Jarvis, Judice, and Ninke pattern: - - X 7 5 3 5 7 5 3 1 3 5 3 1
Efficiency: 6
Quality: 8

The divisor here is 48, which is a little more expensive to calculate, and the errors are distributed over three lines, requiring extra memory and time for processing.
ditherOrdered(int[], int, int, int[], Color, boolean) - Static method in class com.tjtieto.wap.wapix.WBMPMaster
Dithers image governed by dithermap array using ordered dithering method.
ditherShiau1(int[], int, int, int, Color, boolean) - Static method in class com.tjtieto.wap.wapix.WBMPMaster
Shiau et al pattern 1: - - - X 8 1 1 2 4 0
This distribution scheme was proposed based on the hypothesis that worm creation was a result of the lack of error distribution beyond the direction of the diagonal defined by pixel (n,l) and pixel (n-1, l+1).
ditherShiau2(int[], int, int, int, Color, boolean) - Static method in class com.tjtieto.wap.wapix.WBMPMaster
Shiau et al pattern 2: - - - X 8 2 0 2 4 0
The present proposal improves the output of the Shiau et al distribution scheme in some circumstances, and improves the efficiency of the error diffusion process, by eliminating one of the distribution neighbors, thereby reducing the number of neighboring pixels that receive error.
ditherSimple(int[], int, int, int, Color, boolean) - Static method in class com.tjtieto.wap.wapix.WBMPMaster
Does simple threshold transformation of the image.
ditherStucki(int[], int, int, int, Color, boolean) - Static method in class com.tjtieto.wap.wapix.WBMPMaster
Stucki pattern: - - X 8 4 2 4 8 4 2 1 2 4 2 1
Efficiency: 7
Quality: 10

This one takes a division by 42 for each pixel and is therefore slow if math is done inside the loop.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.tjtieto.wap.wapix.WBMPServlet
 

E

encodeBytes(OutputStream, int) - Static method in class com.tjtieto.wap.wapix.WBMPMaster
Transforms bytes into Wireless Bitmap format.
encodePixels(OutputStream, Image) - Method in class com.tjtieto.wap.wapix.WBMPMaster
Encodes java.awt.Image to Wireless Bitmap.
encodePixels(OutputStream, int[], int, int) - Static method in class com.tjtieto.wap.wapix.WBMPMaster
Encodes image RGB pixels to Wireless Bitmap.

F

flipPixels(int[], int, int) - Static method in class com.tjtieto.wap.wapix.WBMPMaster
Flips image vertically.

G

getImage(URL) - Method in class com.tjtieto.wap.wapix.WBMPMaster
Reads an image from the given URL
getScaledInstance(Image, int, int, int) - Method in class com.tjtieto.wap.wapix.WBMPMaster
Scales supplied image according to scaling mode.
grabPixels(Image) - Method in class com.tjtieto.wap.wapix.WBMPMaster
Transforms java.awt.Image into an array of pixels

M

main(String[]) - Static method in class com.tjtieto.wap.wapix.WBMPMaster
This method is called when the object is invoked from command line.
mirrorPixels(int[], int, int) - Static method in class com.tjtieto.wap.wapix.WBMPMaster
Mirrors image horizontally.

P

PROCESS_DITHER_BURKE - Static variable in class com.tjtieto.wap.wapix.WBMPMaster
Burke error diffusion pattern:
- - X 8 4
2 4 8 4 2
PROCESS_DITHER_FLOYD_STEINBERG - Static variable in class com.tjtieto.wap.wapix.WBMPMaster
Floyd and Steinberg error diffusion pattern:
- X 7
3 5 1
PROCESS_DITHER_JARVIS - Static variable in class com.tjtieto.wap.wapix.WBMPMaster
Jarvis, Judice, and Ninke error diffusion pattern:
- - X 7 5
3 5 7 5 3
1 3 5 3 1
PROCESS_DITHER_ORDERED_2X2 - Static variable in class com.tjtieto.wap.wapix.WBMPMaster
Ordered dithering with map:
1 3
4 2
PROCESS_DITHER_ORDERED_3X3_1 - Static variable in class com.tjtieto.wap.wapix.WBMPMaster
Ordered dithering with map:
1 7 4
5 8 3
6 2 9
PROCESS_DITHER_ORDERED_3X3_2 - Static variable in class com.tjtieto.wap.wapix.WBMPMaster
Ordered dithering with map:
8 3 4
6 1 2
7 5 9
PROCESS_DITHER_ORDERED_4X4 - Static variable in class com.tjtieto.wap.wapix.WBMPMaster
Ordered dithering with map:
1 9 3 11
13 5 15 7
4 12 2 10
16 8 14 6
PROCESS_DITHER_SHIAU_1 - Static variable in class com.tjtieto.wap.wapix.WBMPMaster
Shiau et al error diffusion pattern 1:
- - - X 8
1 1 2 4 0
PROCESS_DITHER_SHIAU_2 - Static variable in class com.tjtieto.wap.wapix.WBMPMaster
Shiau et al error diffusion pattern 2:
- - - X 8
2 0 2 4 0
PROCESS_DITHER_STUCKI - Static variable in class com.tjtieto.wap.wapix.WBMPMaster
Stucki error diffusion pattern:
- - X 8 4
2 4 8 4 2
1 2 4 2 1
PROCESS_HORIZONTAL_MIRROR - Static variable in class com.tjtieto.wap.wapix.WBMPMaster
Mirrors the image pixels horizontally
PROCESS_THRESHOLD - Static variable in class com.tjtieto.wap.wapix.WBMPMaster
Creates black and white image with defined threshold color
PROCESS_VERTICAL_FLIP - Static variable in class com.tjtieto.wap.wapix.WBMPMaster
Flips the image pixels vertically
processImage(OutputStream, Properties) - Method in class com.tjtieto.wap.wapix.WBMPMaster
Processes all arguments given in Properties container, reads an image from defined URL, does selected image processing tricks and writes the result to supplied outputstream.
processPixels(int, int[], int, int, int, Color, boolean) - Static method in class com.tjtieto.wap.wapix.WBMPMaster
Dithers image RGB values, renders image to greyscale and finally transforms it into 2 color black & white image.

R

readURL(URL) - Static method in class com.tjtieto.wap.wapix.WBMPMaster
Reads contents of certain URL as buffered stream.

S

SCALE_AUTOFIT_BY_X - Static variable in class com.tjtieto.wap.wapix.WBMPMaster
Scale image by width setting and adjust height proportionally
SCALE_AUTOFIT_BY_Y - Static variable in class com.tjtieto.wap.wapix.WBMPMaster
Scale image by height setting and adjust width proportionally
SCALE_BY_X - Static variable in class com.tjtieto.wap.wapix.WBMPMaster
Scale image by width but leave the height to its old value
SCALE_BY_X_Y - Static variable in class com.tjtieto.wap.wapix.WBMPMaster
Scale image by height & width setting
SCALE_BY_Y - Static variable in class com.tjtieto.wap.wapix.WBMPMaster
Scale image by height but leave the width to its old value

T

threshold(int[], int, int, int, Color, boolean) - Static method in class com.tjtieto.wap.wapix.WBMPMaster
Transforms image into 2 color black & white by using param k as threshold value.

W

WBMPMaster - class com.tjtieto.wap.wapix.WBMPMaster.
WBMPMaster Tool object for creating WBMP images and dithering + simple image processing operations on them.
WBMPMaster() - Constructor for class com.tjtieto.wap.wapix.WBMPMaster
Constructor
WBMPServlet - class com.tjtieto.wap.wapix.WBMPServlet.
WBMPServlet Simple servlet for using WBMPMaster as a dynamic web-service.
WBMPServlet() - Constructor for class com.tjtieto.wap.wapix.WBMPServlet
 

C D E F G M P R S T W