How to access pointer in Matlab?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am trying to access the data I acquired from a CCD camera. This camera gets data and store in memory. They have a function to obtain the data pointer, however, I don't know how to access it. Please help.
Here is part of the code I have:
>> calllib('gsense400control','PSL_VHR_Snap_and_return') % this is to get the image from the sensor
>> imag_pointer = calllib('gsense400control','PSL_VHR_get_image_pointer'); % using this I can get the image pointer
% if I want to save the image, I can do following:
>> filename = 'test.flf';
>> calllib('gsense400control','PSL_VHR_save_flf_image', img_pointer, width, height, filename) % with and height are the CCD sensor's pixel number in horizontal and vertical direction.
However, here I don't want to save the image first, instead, I want to access the image from the memory and directly process it.
Please let me know. Thank you.
0 comentarios
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!