Driver for PCO Edge cameras (Edge 4.2, 4.2CLHS and Edge 5.5)
Versión 1.0.2 (75,9 KB) por
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]
Citar como
Andriy Chmyrov (2024). Driver for PCO Edge cameras (Edge 4.2, 4.2CLHS and Edge 5.5) (https://github.com/AndriyChmyrov/pcocam), GitHub. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2021b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
No se pueden descargar versiones que utilicen la rama predeterminada de GitHub
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.2 | updated usage example |
|
|
1.0.1 | added the image |
|
|
1.0.0 |
|
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.