Driver for PCO Edge cameras (Edge 4.2, 4.2CLHS and Edge 5.5)
Version 1.0.2 (75,9 ko) par
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]
Citation pour cette source
Andriy Chmyrov (2024). Driver for PCO Edge cameras (Edge 4.2, 4.2CLHS and Edge 5.5) (https://github.com/AndriyChmyrov/pcocam), GitHub. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2021b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.2 | updated usage example |
|
|
1.0.1 | added the image |
|
|
1.0.0 |
|
Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.
Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.