DESY ACOP Beans Home

de.desy.video.sw
Class CIMMLoader

java.lang.Object
  extended by de.desy.video.sw.CIMMLoader

public final class CIMMLoader
extends java.lang.Object

CIMMLoader provides loading of oldfashioned VSv2 IMM file format to Video System v3 TINE IMAGE format type. Main interest was for internal checking while developing.

This class should be treated as rudimentary and quick hack. Parts were copy and pasted from CBasicImageLoader and it is not meant for production use!

Version:
$Id: Templates.xml,v 1.10 2008/06/25 14:00:13 sweisse Exp $
Author:
Stefan Weisse

Constructor Summary
CIMMLoader()
           
 
Method Summary
static boolean loadImageFile(java.lang.String aFileName, IMAGE aOutImage)
          loads an IMM (proprietary, VSV2, raw, greyscale) image file with a give filename from disk and puts its contents to TINE IMAGE data type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CIMMLoader

public CIMMLoader()
Method Detail

loadImageFile

public static final boolean loadImageFile(java.lang.String aFileName,
                                          IMAGE aOutImage)
loads an IMM (proprietary, VSV2, raw, greyscale) image file with a give filename from disk and puts its contents to TINE IMAGE data type. An IMM file can consist of multiple video frames glued together. In such case, only the first one is loaded!

Parameters:
aFileName - file name (may include path)
aOutImage - TINE IMAGE data type to put image contents to
Returns:
true - image contents were successfully put into aOutImage
false - some error (aOutImage is null, IOException)


Copyright © 2009. All Rights Reserved.