001// License: GPL. For details, see LICENSE file. 002package org.openstreetmap.josm.gui.layer; 003 004import java.awt.image.BufferedImage; 005 006/** 007 * Processor that modifies images (sharpen, brightness, etc.). 008 * This interface is used by {@link ImageryLayer}s to filter the 009 * displayed images (implemented in plugins). 010 * 011 * @author Nipel-Crumple 012 */ 013public interface ImageProcessor { 014 015 /** 016 * This method should process given image according to image processors 017 * which is contained in the {@link Layer} 018 * 019 * @param image that should be processed 020 * 021 * @return processed image 022 */ 023 BufferedImage process(BufferedImage image); 024}