|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjjil.core.PipelineStage
jjil.algorithm.Gray2Rgb
public class Gray2Rgb
Gray2Rgb converts an 8-bit gray image to RGB by replicating the gray values into R, G, and B. The signed byte values in the gray image are changed into unsigned byte values in the ARGB word.
Constructor Summary | |
---|---|
Gray2Rgb()
Creates a new instance of Gray2Rgb |
Method Summary | |
---|---|
void |
push(Image image)
Converts an 8-bit gray image into an RGB image by replicating R, G, and B values. |
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 Gray2Rgb()
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 |