Last change
on this file since 8625 was 8625, checked in by bastiK, 10 years ago |
applied #11713 - JOSM raster layers filters plugin development (patch by Nipel-Crumple, slightly modified)
|
-
Property svn:eol-style
set to
native
|
File size:
661 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.gui.layer;
|
---|
3 |
|
---|
4 | import java.awt.image.BufferedImage;
|
---|
5 |
|
---|
6 | /**
|
---|
7 | * Processor that modifies images (sharpen, brightness, etc.).
|
---|
8 | * This interface is used by {@link ImageryLayer}s to filter the
|
---|
9 | * displayed images (implemented in plugins).
|
---|
10 | *
|
---|
11 | * @author Nipel-Crumple
|
---|
12 | */
|
---|
13 | public interface ImageProcessor {
|
---|
14 |
|
---|
15 | /**
|
---|
16 | * This method should process given image according to image processors
|
---|
17 | * which is contained in the {@link Layer}
|
---|
18 | *
|
---|
19 | * @param image that should be processed
|
---|
20 | *
|
---|
21 | * @return processed image
|
---|
22 | */
|
---|
23 | public BufferedImage process(BufferedImage image);
|
---|
24 |
|
---|
25 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.