Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## applications
Class IterativeDPImageCompression

    java.lang.Object
      |
      +--applications.IterativeDPImageCompression

public class IterativeDPImageCompression
extends java.lang.Object

Constructor Summary
`IterativeDPImageCompression()`

Method Summary
`static void` | `main(java.lang.String[] args)` driver program
`static void` | `traceback(int[] kay, int n)` output the optimal segment boundaries
`static void` | `vBits(int[] l, int[] b, int[] s, int[] kay)` iterative dynamic programming segment combining code l and b are inputs, s and kay are computed

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### IterativeDPImageCompression

    public IterativeDPImageCompression()

Method Detail

### vBits

    public static void vBits(int[] l,
                             int[] b,
                             int[] s,
                             int[] kay)

  iterative dynamic programming segment combining code l and b are inputs, s and kay are computed
  Parameters:
    `l[i]` - is length of segment i
    `b[i]` - is bits/pixel for segment i
    `s[i]` - is min space for first i segments
    `kay[]` - is recurrence selector

### traceback

    public static void traceback(int[] kay,
                                 int n)

  output the optimal segment boundaries

### main

    public static void main(java.lang.String[] args)

  driver program

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD