| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectj2d.filters.WarpGrid
public class WarpGrid
A warp grid. From "A simplified approach to Image Processing" by Randy Crane
| Field Summary | |
|---|---|
|  int | cols | 
|  int | rows | 
|  float[] | xGrid | 
|  float[] | yGrid | 
| Constructor Summary | |
|---|---|
| WarpGrid(int rows,
         int cols,
         int w,
         int h) | |
| Method Summary | |
|---|---|
|  void | addCol(int before)Add a new column to the grid. | 
|  void | addRow(int before)Add a new row to the grid. | 
|  void | lerp(float t,
     WarpGrid destination,
     WarpGrid intermediate) | 
|  void | removeCol(int r)Remove a column from the grid. | 
|  void | removeRow(int r)Remove a row from the grid. | 
|  void | warp(int[] inPixels,
     int cols,
     int rows,
     WarpGrid sourceGrid,
     WarpGrid destGrid,
     int[] outPixels) | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public float[] xGrid
public float[] yGrid
public int rows
public int cols
| Constructor Detail | 
|---|
public WarpGrid(int rows,
                int cols,
                int w,
                int h)
| Method Detail | 
|---|
public void addRow(int before)
public void addCol(int before)
public void removeRow(int r)
public void removeCol(int r)
public void lerp(float t,
                 WarpGrid destination,
                 WarpGrid intermediate)
public void warp(int[] inPixels,
                 int cols,
                 int rows,
                 WarpGrid sourceGrid,
                 WarpGrid destGrid,
                 int[] outPixels)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||