필터 지우기
필터 지우기

How to access pointer in Matlab?

조회 수: 2 (최근 30일)
Sheng Liu
Sheng Liu 2017년 12월 7일
편집: Walter Roberson 2017년 12월 7일
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개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by