|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjjil.core.PipelineStage
jjil.algorithm.Gray32Scale2Gray8
public class Gray32Scale2Gray8
Gray32Scale2Gray8 converts an 32-bit gray image to a 8-bit gray image. Input values are scaled so that the max value in the image maps to Byte.MAX_VALUE and the minimum value to Byte.MIN_VALUE.
Constructor Summary | |
---|---|
Gray32Scale2Gray8()
Creates a new instance of Gray82Gray32 |
Method Summary | |
---|---|
void |
push(Image image)
Converts a 32-bit gray image into an 8-bit gray image. |
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 Gray32Scale2Gray8()
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 |