IOException {
super();
JPEGImageDecoder decoder = JPEGCodec
.createJPEGDecoder(new BufferedInputStream(
JPEGImageReader.class.getResourceAsStream(resource)));
bufferedImage_ = decoder.decodeAsBufferedImage();
width_ = bufferedImage_.getWidth();
height_ = bufferedImage_.getHeight();
signal_ = getAsSample2DSignal();
}