C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
analyse bool
image VisionImage
imageList List

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
Getthemaximum ( ) : void
closeViewerWindow ( ) : void
initializeCamera ( ) : void
openViewerWindow ( ) : void
stream ( ) : void

Описание методов

CameraController() публичный метод

public CameraController ( string cameraName ) : System
cameraName string
Результат System

Dispose() публичный метод

public Dispose ( ) : void
Результат void

DisposeImages() публичный метод

public DisposeImages ( ) : void
Результат void

GetSaveDialogFilename() публичный метод

public GetSaveDialogFilename ( ) : string
Результат string

Initialize() публичный метод

public Initialize ( ) : void
Результат void

IsCameraFree() публичный метод

public IsCameraFree ( ) : bool
Результат bool

IsReadyForAcqisition() публичный метод

public IsReadyForAcqisition ( ) : bool
Результат bool

MultipleSnapshot() публичный метод

public MultipleSnapshot ( string attributesPath, int numberOfShots ) : ].byte[][
attributesPath string
numberOfShots int
Результат ].byte[][

PrintCameraAttributesToConsole() публичный метод

public PrintCameraAttributesToConsole ( ) : void
Результат void

SaveImage() публичный метод

public SaveImage ( ) : void
Результат void

SaveImage() публичный метод

public SaveImage ( String dataStoreFilePath ) : void
dataStoreFilePath String
Результат void

SaveImageWithDialog() публичный метод

public SaveImageWithDialog ( ) : void
Результат void

SetCameraAttributes() публичный метод

public SetCameraAttributes ( string newPath ) : string
newPath string
Результат string

SingleSnapshot() публичный метод

public SingleSnapshot ( string attributesPath ) : ].byte[
attributesPath string
Результат ].byte[

SingleSnapshot() публичный метод

public SingleSnapshot ( string attributesPath, bool addToImageList ) : ].byte[
attributesPath string
addToImageList bool
Результат ].byte[

StopStream() публичный метод

public StopStream ( ) : void
Результат void

StoreImageData() публичный метод

public StoreImageData ( string savePath, byte imageData ) : void
savePath string
imageData byte
Результат void

StoreImageList() публичный метод

public StoreImageList ( string savePath ) : void
savePath string
Результат void

StoreImageListWithDialog() публичный метод

public StoreImageListWithDialog ( ) : void
Результат void

Stream() публичный метод

public Stream ( string cameraAttributesFilePath ) : bool
cameraAttributesFilePath string
Результат bool

Описание свойств

analyse публичное свойство

public bool analyse
Результат bool

image публичное свойство

public VisionImage image
Результат VisionImage

imageList публичное свойство

public List imageList
Результат List