Modifier and Type | Method and Description |
---|---|
ColorImage |
ColorImage.add(ColorImage operand)
Adds another ColorImage object to this ColorImage object.
|
static ColorImage |
ColorImage.add(ColorImage image1,
ColorImage image2)
Adds two ColorImage objects together.
|
ColorImage |
ColorImage.createCyanImage()
Creates a copy of this ColorImage object with the red channel removed.
|
ColorImage |
ColorImage.createRedImage()
Creates a copy of this ColorImage object with the green and blue channel removed.
|
ColorImage |
ColorImage.divide(ColorImage operand)
Divides another ColorImage object to this ColorImage object.
|
static ColorImage |
ColorImage.divide(ColorImage image1,
ColorImage image2)
Divides a ColorImage object object by another ColorImage object.
|
ColorImage |
ColorImage.multiply(ColorImage operand)
Multiplies another ColorImage object to this ColorImage object.
|
static ColorImage |
ColorImage.multiply(ColorImage image1,
ColorImage image2)
Multiplies two ColorImage objects together.
|
ColorImage |
ColorImage.subtract(ColorImage operand)
Subtracts another ColorImage object to this ColorImage object.
|
static ColorImage |
ColorImage.subtract(ColorImage image1,
ColorImage image2)
Subtracts a ColorImage object from another ColorImage object.
|
Modifier and Type | Method and Description |
---|---|
ColorImage |
ColorImage.add(ColorImage operand)
Adds another ColorImage object to this ColorImage object.
|
static ColorImage |
ColorImage.add(ColorImage image1,
ColorImage image2)
Adds two ColorImage objects together.
|
double |
ColorImage.averageDifference(ColorImage operand)
Gets the average difference between this ColorImage object and the other ColorImage object.
|
ColorImage |
ColorImage.divide(ColorImage operand)
Divides another ColorImage object to this ColorImage object.
|
static ColorImage |
ColorImage.divide(ColorImage image1,
ColorImage image2)
Divides a ColorImage object object by another ColorImage object.
|
void |
ColorImage.drawImage(ColorImage overImage,
int x,
int y)
Overlays another ColorImage object on top of the current one.
|
int |
ColorImage.match(ColorImage target,
boolean drawSquare)
Counts the number appearance of a sub image inside this image.
|
ColorImage |
ColorImage.multiply(ColorImage operand)
Multiplies another ColorImage object to this ColorImage object.
|
static ColorImage |
ColorImage.multiply(ColorImage image1,
ColorImage image2)
Multiplies two ColorImage objects together.
|
ColorImage |
ColorImage.subtract(ColorImage operand)
Subtracts another ColorImage object to this ColorImage object.
|
static ColorImage |
ColorImage.subtract(ColorImage image1,
ColorImage image2)
Subtracts a ColorImage object from another ColorImage object.
|
Constructor and Description |
---|
ColorImage(ColorImage copy)
Constructs a copy of the given ColorImage object.
|