at.ac.sbg.cosy.soccerbot.acquisition
Interface IImageAcquisition

All Known Implementing Classes:
ImageAcquisition

public interface IImageAcquisition


Method Summary
 java.awt.image.BufferedImage capture()
          Captures a Image from the capture device DEVICE and returns it as a java.awt.Image
 void close()
          Terminates this service, after calling this methode the service is no longer available.
 java.awt.Dimension getResolution()
          Once the capture device has settled this function returns the resolution of the captured image.
 boolean init()
          Tries to init this service
 

Method Detail

capture

java.awt.image.BufferedImage capture()
Captures a Image from the capture device DEVICE and returns it as a java.awt.Image

Returns:
Returns a java.awt.Image containing the captured Image.

close

void close()
Terminates this service, after calling this methode the service is no longer available.


getResolution

java.awt.Dimension getResolution()
Once the capture device has settled this function returns the resolution of the captured image.

Returns:
returns the resolution of the captured image.

init

boolean init()
Tries to init this service

Returns:
returns true if successful
returns false if unsuccessful