Driver for PCO Edge cameras (Edge 4.2, 4.2CLHS and Edge 5.5)
Versione 1.0.2 (75,9 KB) da
Andriy Chmyrov
Matlab MEX driver for PCO sCMOS cameras (tested on Edge4.2 and Edge 5.5)
pcocam
Matlab MEX wrapper written in C/C++ (MS Visual Studio) for PCO Edge cameras (tested on Edge 4.2 and Edge 4.2 CLHS)
Requires PCO SDK (SC2_Cam.lib and sc2*.h files)
Syntaxis:
pcocam('setParameterCommand',value); % set Parameter to provided value or execute command
result = pcocam('getParameterCommand'); % get Parameter value or get command output
Parameters/Commands: | Call type |
---|---|
AOIHeight | get only |
AOIWidth | get only |
Acquire | set only |
AcquireFrames | get only |
AcquisitionStart | get only |
AcquisitionStop | get only |
AcquisitionTimeoutSec | set&get |
ActiveLookupTable | get only |
ArmCamera | get only |
CameraHealthStatus | get only |
CameraHealthStatus | get only |
CameraType | get only |
EnableSoftROI | set&get |
ExposureTime | set&get |
FrameCount | set&get |
FrameRate | set&get |
Frames | get only |
HotPixelCorrectionMode | set&get |
NoiseFilterMode | set&get |
PixelReadoutRate | set&get |
ROI | set&get |
RebootCamera | get only |
SensorHeight | get only |
SensorSize | get only |
SensorTemperature | get only |
SensorWidth | get only |
ShutterMode | set&get |
TriggerMode | set&get |
Example:
pcocam('ExposureTime',0.1); % set camera exposure time
exptime = pcocam('ExposureTime'); % get camera exposure time
pcocam('FrameCount',5); % prepare camera to acquire 5 frames next time
frames = pcocam('AcquireFrames') % starts image acquisition, waits until finished and returns all frames as 3D array
figure
imagesc(rot90(frames(:,:,1),-1)) % display the first of the acquired frames
axis image, colormap hot
%
pcocam('TriggerMode',2); % set camera to "external exposure start & software" trigger mode
pcocam('AcquisitionStart'); % starts the acquisition, but the camera is waiting for the external trigger
% start triggering
frames = pcocam('AcquisitionStop') % stops the acquisition and returns the acquired frames as 3D array [x,y,frame_number]
Cita come
Andriy Chmyrov (2024). Driver for PCO Edge cameras (Edge 4.2, 4.2CLHS and Edge 5.5) (https://github.com/AndriyChmyrov/pcocam), GitHub. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2021b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Le versioni che utilizzano il ramo predefinito di GitHub non possono essere scaricate
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.2 | updated usage example |
|
|
1.0.1 | added the image |
|
|
1.0.0 |
|
Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.
Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.