-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
429 changed files
with
4,956 additions
and
793 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
english/java/com.aspose.imaging.imagefilters.complexutils/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
title: com.aspose.imaging.imagefilters.complexutils | ||
second_title: Aspose.Imaging for Java API Reference | ||
description: | ||
type: docs | ||
weight: 87 | ||
url: /java/com.aspose.imaging.imagefilters.complexutils/ | ||
--- | ||
|
||
## Classes | ||
|
||
| Class | Description | | ||
| --- | --- | | ||
| [Complex](../com.aspose.imaging.imagefilters.complexutils/complex) | The complex number structure. | |
1,120 changes: 1,120 additions & 0 deletions
1,120
english/java/com.aspose.imaging.imagefilters.complexutils/complex/_index.md
Large diffs are not rendered by default.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
english/java/com.aspose.imaging.imagefilters.convolution/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
title: com.aspose.imaging.imagefilters.convolution | ||
second_title: Aspose.Imaging for Java API Reference | ||
description: | ||
type: docs | ||
weight: 88 | ||
url: /java/com.aspose.imaging.imagefilters.convolution/ | ||
--- | ||
|
||
## Classes | ||
|
||
| Class | Description | | ||
| --- | --- | | ||
| [ConvolutionFilter](../com.aspose.imaging.imagefilters.convolution/convolutionfilter) | The kernel matrix provider class. | |
129 changes: 129 additions & 0 deletions
129
...sh/java/com.aspose.imaging.imagefilters.convolution/convolutionfilter/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
--- | ||
title: ConvolutionFilter | ||
second_title: Aspose.Imaging for Java API Reference | ||
description: The kernel matrix provider class. | ||
type: docs | ||
weight: 10 | ||
url: /java/com.aspose.imaging.imagefilters.convolution/convolutionfilter/ | ||
--- | ||
**Inheritance:** | ||
java.lang.Object | ||
``` | ||
public final class ConvolutionFilter | ||
``` | ||
|
||
The kernel matrix provider class. | ||
## Methods | ||
|
||
| Method | Description | | ||
| --- | --- | | ||
| [getSharpen3x3()](#getSharpen3x3--) | Gets the 3x3 sharpen kernel. | | ||
| [getSharpen5x5()](#getSharpen5x5--) | Gets the 5x5 sharpen kernel. | | ||
| [getEmboss3x3()](#getEmboss3x3--) | Gets the 3x3 Emboss kernel. | | ||
| [getEmboss5x5()](#getEmboss5x5--) | Gets the 5x5 Emboss kernel. | | ||
| [getBlurMotion(int size, double angle)](#getBlurMotion-int-double-) | Gets the motion blur kernel. | | ||
| [getGaussian(int size, double sigma)](#getGaussian-int-double-) | Gets the Gaussian kernel. | | ||
| [getBlurBox(int size)](#getBlurBox-int-) | Gets the box blur kernel. | | ||
| [toComplex(double[][] kernel)](#toComplex-double-----) | Converts `kernel` to a [Complex](../../com.aspose.imaging.imagefilters.complexutils/complex) kernel. | | ||
### getSharpen3x3() {#getSharpen3x3--} | ||
``` | ||
public static double[][] getSharpen3x3() | ||
``` | ||
|
||
|
||
Gets the 3x3 sharpen kernel. | ||
|
||
**Returns:** | ||
double[][] - the 3x3 sharpen kernel. | ||
### getSharpen5x5() {#getSharpen5x5--} | ||
``` | ||
public static double[][] getSharpen5x5() | ||
``` | ||
|
||
|
||
Gets the 5x5 sharpen kernel. | ||
|
||
**Returns:** | ||
double[][] - the 5x5 sharpen kernel. | ||
### getEmboss3x3() {#getEmboss3x3--} | ||
``` | ||
public static double[][] getEmboss3x3() | ||
``` | ||
|
||
|
||
Gets the 3x3 Emboss kernel. | ||
|
||
**Returns:** | ||
double[][] - the 3x3 Emboss kernel. | ||
### getEmboss5x5() {#getEmboss5x5--} | ||
``` | ||
public static double[][] getEmboss5x5() | ||
``` | ||
|
||
|
||
Gets the 5x5 Emboss kernel. | ||
|
||
**Returns:** | ||
double[][] - the 5x5 Emboss kernel. | ||
### getBlurMotion(int size, double angle) {#getBlurMotion-int-double-} | ||
``` | ||
public static double[][] getBlurMotion(int size, double angle) | ||
``` | ||
|
||
|
||
Gets the motion blur kernel. | ||
|
||
**Parameters:** | ||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| size | int | The kernel size. | | ||
| angle | double | The motion angle. | | ||
|
||
**Returns:** | ||
double[][] - The motion blur kernel. | ||
### getGaussian(int size, double sigma) {#getGaussian-int-double-} | ||
``` | ||
public static double[][] getGaussian(int size, double sigma) | ||
``` | ||
|
||
|
||
Gets the Gaussian kernel. | ||
|
||
**Parameters:** | ||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| size | int | The kernel size. | | ||
| sigma | double | The sigma value in range (0...]. | | ||
|
||
**Returns:** | ||
double[][] - The Gaussian kernel. | ||
### getBlurBox(int size) {#getBlurBox-int-} | ||
``` | ||
public static double[][] getBlurBox(int size) | ||
``` | ||
|
||
|
||
Gets the box blur kernel. | ||
|
||
**Parameters:** | ||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| size | int | The kernel size. | | ||
|
||
**Returns:** | ||
double[][] - The box blur kernel. | ||
### toComplex(double[][] kernel) {#toComplex-double-----} | ||
``` | ||
public static Complex[][] toComplex(double[][] kernel) | ||
``` | ||
|
||
|
||
Converts `kernel` to a [Complex](../../com.aspose.imaging.imagefilters.complexutils/complex) kernel. | ||
|
||
**Parameters:** | ||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| kernel | double[][] | The kernel. | | ||
|
||
**Returns:** | ||
com.aspose.imaging.imagefilters.complexutils.Complex[][] - A [Complex](../../com.aspose.imaging.imagefilters.complexutils/complex) kernel. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
96 changes: 73 additions & 23 deletions
96
...om.aspose.imaging.imagefilters.filteroptions/convolutionfilteroptions/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,90 +1,140 @@ | ||
--- | ||
title: ConvolutionFilterOptions | ||
second_title: Aspose.Imaging for Java API Reference | ||
description: The convolution filter. | ||
description: The convolution filter options. | ||
type: docs | ||
weight: 12 | ||
url: /java/com.aspose.imaging.imagefilters.filteroptions/convolutionfilteroptions/ | ||
--- | ||
**Inheritance:** | ||
java.lang.Object, [com.aspose.imaging.imagefilters.filteroptions.FilterOptionsBase](../../com.aspose.imaging.imagefilters.filteroptions/filteroptionsbase) | ||
|
||
**All Implemented Interfaces:** | ||
com.aspose.internal.imagefilters.convolution.IConvolutionKernel | ||
``` | ||
public abstract class ConvolutionFilterOptions extends FilterOptionsBase | ||
public class ConvolutionFilterOptions extends FilterOptionsBase implements IConvolutionKernel | ||
``` | ||
|
||
The convolution filter. | ||
The convolution filter options. | ||
## Constructors | ||
|
||
| Constructor | Description | | ||
| --- | --- | | ||
| [ConvolutionFilterOptions()](#ConvolutionFilterOptions--) | Initializes a new instance of the `ConvolutionFilterOptions` class. | | ||
| [ConvolutionFilterOptions(double[][] kernel)](#ConvolutionFilterOptions-double-----) | Initializes a new instance of the [ConvolutionFilterOptions](../../com.aspose.imaging.imagefilters.filteroptions/convolutionfilteroptions) class with factor == 1 and bias == 0. | | ||
| [ConvolutionFilterOptions(double[][] kernel, double factor)](#ConvolutionFilterOptions-double-----double-) | Initializes a new instance of the [ConvolutionFilterOptions](../../com.aspose.imaging.imagefilters.filteroptions/convolutionfilteroptions) class with bias == 0. | | ||
| [ConvolutionFilterOptions(double[][] kernel, double factor, int bias)](#ConvolutionFilterOptions-double-----double-int-) | Initializes a new instance of the [ConvolutionFilterOptions](../../com.aspose.imaging.imagefilters.filteroptions/convolutionfilteroptions) class. | | ||
## Methods | ||
|
||
| Method | Description | | ||
| --- | --- | | ||
| [getFactor()](#getFactor--) | Gets or sets the factor. | | ||
| [setFactor(double value)](#setFactor-double-) | Gets or sets the factor. | | ||
| [getBias()](#getBias--) | Gets or sets the bias. | | ||
| [setBias(int value)](#setBias-int-) | Gets or sets the bias. | | ||
### ConvolutionFilterOptions() {#ConvolutionFilterOptions--} | ||
| [getKernel()](#getKernel--) | Gets the kernel. | | ||
| [getFactor()](#getFactor--) | Gets the factor. | | ||
| [setFactor(double value)](#setFactor-double-) | Sets the factor. | | ||
| [getBias()](#getBias--) | Gets the bias. | | ||
| [setBias(int value)](#setBias-int-) | Sets the bias. | | ||
### ConvolutionFilterOptions(double[][] kernel) {#ConvolutionFilterOptions-double-----} | ||
``` | ||
public ConvolutionFilterOptions() | ||
public ConvolutionFilterOptions(double[][] kernel) | ||
``` | ||
|
||
|
||
Initializes a new instance of the `ConvolutionFilterOptions` class. | ||
Initializes a new instance of the [ConvolutionFilterOptions](../../com.aspose.imaging.imagefilters.filteroptions/convolutionfilteroptions) class with factor == 1 and bias == 0. | ||
|
||
**Parameters:** | ||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| kernel | double[][] | The convolution kernel for X-axis direction. | | ||
|
||
### ConvolutionFilterOptions(double[][] kernel, double factor) {#ConvolutionFilterOptions-double-----double-} | ||
``` | ||
public ConvolutionFilterOptions(double[][] kernel, double factor) | ||
``` | ||
|
||
|
||
Initializes a new instance of the [ConvolutionFilterOptions](../../com.aspose.imaging.imagefilters.filteroptions/convolutionfilteroptions) class with bias == 0. | ||
|
||
**Parameters:** | ||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| kernel | double[][] | The convolution kernel for X-axis direction. | | ||
| factor | double | The factor. | | ||
|
||
### ConvolutionFilterOptions(double[][] kernel, double factor, int bias) {#ConvolutionFilterOptions-double-----double-int-} | ||
``` | ||
public ConvolutionFilterOptions(double[][] kernel, double factor, int bias) | ||
``` | ||
|
||
|
||
Initializes a new instance of the [ConvolutionFilterOptions](../../com.aspose.imaging.imagefilters.filteroptions/convolutionfilteroptions) class. | ||
|
||
**Parameters:** | ||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| kernel | double[][] | The convolution kernel for X-axis direction. | | ||
| factor | double | The factor. | | ||
| bias | int | The bias value. | | ||
|
||
### getKernel() {#getKernel--} | ||
``` | ||
public double[][] getKernel() | ||
``` | ||
|
||
|
||
Gets the kernel. | ||
|
||
**Returns:** | ||
double[][] - the kernel. | ||
### getFactor() {#getFactor--} | ||
``` | ||
public double getFactor() | ||
public final double getFactor() | ||
``` | ||
|
||
|
||
Gets or sets the factor. | ||
Gets the factor. | ||
|
||
Value: The factor. | ||
|
||
**Returns:** | ||
double | ||
double - the factor. | ||
### setFactor(double value) {#setFactor-double-} | ||
``` | ||
public void setFactor(double value) | ||
public final void setFactor(double value) | ||
``` | ||
|
||
|
||
Gets or sets the factor. | ||
Sets the factor. | ||
|
||
Value: The factor. | ||
|
||
**Parameters:** | ||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| value | double | | | ||
| value | double | the factor. | | ||
|
||
### getBias() {#getBias--} | ||
``` | ||
public int getBias() | ||
public final int getBias() | ||
``` | ||
|
||
|
||
Gets or sets the bias. | ||
Gets the bias. | ||
|
||
Value: The bias. | ||
|
||
**Returns:** | ||
int | ||
int - the bias. | ||
### setBias(int value) {#setBias-int-} | ||
``` | ||
public void setBias(int value) | ||
public final void setBias(int value) | ||
``` | ||
|
||
|
||
Gets or sets the bias. | ||
Sets the bias. | ||
|
||
Value: The bias. | ||
|
||
**Parameters:** | ||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| value | int | | | ||
| value | int | the bias. | | ||
|
Oops, something went wrong.