Skip to content

Commit

Permalink
Rename classes to avoid duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmartel committed Nov 14, 2024
1 parent 57feb32 commit c5f2c1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/image/filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {Image} from './image';
/**
* Threshold an image between an input minimum and maximum.
*/
export class Threshold {
export class ThresholdFilter {
/**
* Threshold minimum.
*
Expand Down Expand Up @@ -114,7 +114,7 @@ export class Threshold {
/**
* Sharpen an image using a sharpen convolution matrix.
*/
export class Sharpen {
export class SharpenFilter {
/**
* Get the name of the filter.
*
Expand Down Expand Up @@ -170,7 +170,7 @@ export class Sharpen {
/**
* Apply a Sobel filter to an image.
*/
export class Sobel {
export class SobelFilter {
/**
* Get the name of the filter.
*
Expand Down
6 changes: 3 additions & 3 deletions src/tools/filter.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {ListenerHandler} from '../utils/listen';
import {
Threshold as ThresholdFilter,
Sobel as SobelFilter,
Sharpen as SharpenFilter
ThresholdFilter,
SobelFilter,
SharpenFilter
} from '../image/filter';

// doc imports
Expand Down

0 comments on commit c5f2c1e

Please sign in to comment.