|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjjil.core.PipelineStage
jjil.algorithm.Gray162Gray8
public class Gray162Gray8
Gray162Gray8 converts an 16-bit gray image to an 8-bit gray image. The most significant 8 bits of each pixel are dropped.
Constructor Summary | |
---|---|
Gray162Gray8()
Creates a new instance of Gray162Gray8 |
Method Summary | |
---|---|
void |
push(Image image)
Converts an 16-bit gray image into an 8-bit image by and'ing off the top 8 bits of every pixel. |
Methods inherited from class jjil.core.PipelineStage |
---|
getFront, isEmpty |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Gray162Gray8()
Method Detail |
---|
public void push(Image image) throws Error
push
in class PipelineStage
image
- the input image.
Error
- if the input is not a Gray8Image
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |