C# Class IMAQ.CameraController

This keeps track of everything to do with images. It has 3 sections: -the form (to display the image) -an IMAQdxSession (the class which controls the camera) -a VisionImage (the class that deals with image data) You can now build this into a hardware controller and it knows how to use a camera! The hardware controller doesn't really need to know anything about IMAQ anymore.
Afficher le fichier Open project: ColdMatter/EDMSuite Class Usage Examples

Méthodes publiques

Свойство Type Description
analyse bool
image VisionImage
imageList List

Méthodes publiques

Méthode Description
CameraController ( string cameraName ) : System
Dispose ( ) : void
DisposeImages ( ) : void
GetSaveDialogFilename ( ) : string
Initialize ( ) : void
IsCameraFree ( ) : bool
IsReadyForAcqisition ( ) : bool
MultipleSnapshot ( string attributesPath, int numberOfShots ) : ].byte[][
PrintCameraAttributesToConsole ( ) : void
SaveImage ( ) : void
SaveImage ( String dataStoreFilePath ) : void
SaveImageWithDialog ( ) : void
SetCameraAttributes ( string newPath ) : string
SingleSnapshot ( string attributesPath ) : ].byte[
SingleSnapshot ( string attributesPath, bool addToImageList ) : ].byte[
StopStream ( ) : void
StoreImageData ( string savePath, byte imageData ) : void
StoreImageList ( string savePath ) : void
StoreImageListWithDialog ( ) : void
Stream ( string cameraAttributesFilePath ) : bool

Private Methods

Méthode Description
Getthemaximum ( ) : void
closeViewerWindow ( ) : void
initializeCamera ( ) : void
openViewerWindow ( ) : void
stream ( ) : void

Method Details

CameraController() public méthode

public CameraController ( string cameraName ) : System
cameraName string
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

DisposeImages() public méthode

public DisposeImages ( ) : void
Résultat void

GetSaveDialogFilename() public méthode

public GetSaveDialogFilename ( ) : string
Résultat string

Initialize() public méthode

public Initialize ( ) : void
Résultat void

IsCameraFree() public méthode

public IsCameraFree ( ) : bool
Résultat bool

IsReadyForAcqisition() public méthode

public IsReadyForAcqisition ( ) : bool
Résultat bool

MultipleSnapshot() public méthode

public MultipleSnapshot ( string attributesPath, int numberOfShots ) : ].byte[][
attributesPath string
numberOfShots int
Résultat ].byte[][

PrintCameraAttributesToConsole() public méthode

public PrintCameraAttributesToConsole ( ) : void
Résultat void

SaveImage() public méthode

public SaveImage ( ) : void
Résultat void

SaveImage() public méthode

public SaveImage ( String dataStoreFilePath ) : void
dataStoreFilePath String
Résultat void

SaveImageWithDialog() public méthode

public SaveImageWithDialog ( ) : void
Résultat void

SetCameraAttributes() public méthode

public SetCameraAttributes ( string newPath ) : string
newPath string
Résultat string

SingleSnapshot() public méthode

public SingleSnapshot ( string attributesPath ) : ].byte[
attributesPath string
Résultat ].byte[

SingleSnapshot() public méthode

public SingleSnapshot ( string attributesPath, bool addToImageList ) : ].byte[
attributesPath string
addToImageList bool
Résultat ].byte[

StopStream() public méthode

public StopStream ( ) : void
Résultat void

StoreImageData() public méthode

public StoreImageData ( string savePath, byte imageData ) : void
savePath string
imageData byte
Résultat void

StoreImageList() public méthode

public StoreImageList ( string savePath ) : void
savePath string
Résultat void

StoreImageListWithDialog() public méthode

public StoreImageListWithDialog ( ) : void
Résultat void

Stream() public méthode

public Stream ( string cameraAttributesFilePath ) : bool
cameraAttributesFilePath string
Résultat bool

Property Details

analyse public_oe property

public bool analyse
Résultat bool

image public_oe property

public VisionImage image
Résultat VisionImage

imageList public_oe property

public List imageList
Résultat List