| Modifier and Type | Field and Description |
|---|---|
protected Double[][] |
convolutionMatrix
The convolution matrix.
|
protected int |
filterRadius
The filter radius.
|
| Constructor and Description |
|---|
PhotoFilter(int filterRadius)
Instantiates a new photo filter.
|
| Modifier and Type | Method and Description |
|---|---|
Double[][] |
getConvolutionMatrix()
Gets the convolution matrix.
|
int |
getFilterRadius()
Gets the filter radius.
|
protected int filterRadius
protected Double[][] convolutionMatrix
public PhotoFilter(int filterRadius)
filterRadius - the filter radiuspublic int getFilterRadius()
public Double[][] getConvolutionMatrix()
Copyright © 2023 The Apache Software Foundation. All rights reserved.