
plugins.nherve.toolbox.image.feature.DefaultSegmentableImage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of toolbox Show documentation
Show all versions of toolbox Show documentation
Some utility classes, independent of any library
The newest version!
/*
* Copyright 2013 Institut National de l'Audiovisuel.
*
* This file is part of NHerveTools.
*
* NHerveTools is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* NHerveTools is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with NHerveTools. If not, see .
*/
package plugins.nherve.toolbox.image.feature;
import java.awt.image.BufferedImage;
/**
*
* @author Nicolas HERVE - [email protected]
*/
public class DefaultSegmentableImage extends SegmentableImage {
public DefaultSegmentableImage(BufferedImage image) {
super();
this.image = image;
}
private final BufferedImage image;
@Override
public int getWidth() {
return image.getWidth();
}
@Override
public int getHeight() {
return image.getHeight();
}
@Override
public BufferedImage getImage() {
return image;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy