blob: 6b58810043b1eb5a29947b4b7e1c50639a62959a [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2018 Agence spatiale canadienne / Canadian Space Agency
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Pierre Allard,
* Regent L'Archeveque - initial API and implementation
*
* SPDX-License-Identifier: EPL-1.0
*
*******************************************************************************/
package org.eclipse.apogy.addons.sensors.imaging.camera.impl;
import org.eclipse.apogy.addons.sensors.imaging.AbstractCamera;
import org.eclipse.apogy.common.images.AbstractEImage;
import org.eclipse.apogy.common.images.EImagesUtilities;
public class ContrastAndBrightnessFilterCustomImpl extends ContrastAndBrightnessFilterImpl {
@Override
public AbstractEImage filter(AbstractCamera camera, AbstractEImage cameraImage) {
return EImagesUtilities.INSTANCE.applyContrastAndBrightnessFilter(cameraImage, getContrast(), getBrightness());
}
} // ContrastAndBrightnessFilterImpl