필터 지우기
필터 지우기

how to get the image using imshow for variable voltages

조회 수: 3 (최근 30일)
MANJUNATH
MANJUNATH 2012년 10월 5일
I have used NI-6255 for extracting the variable voltages from the thermal sensor array of pixels by addressing each pixel
I want to get an image in gray-scale(imshow) based on the change in voltage i.e. for higher voltage brighter spot and low voltage darker spot.
sensor array pixels: 32x32 address lines :10

채택된 답변

Walter Roberson
Walter Roberson 2012년 10월 5일
imshow(YourVoltageData, [])
  댓글 수: 2
MANJUNATH
MANJUNATH 2012년 10월 5일
편집: Walter Roberson 2012년 10월 5일
Sir,
code i wrote was
(after initializing )
start (ai);
data=getdata(ai);
imshow(data);
the window displayed is not showing any image corresponding to the voltage values fed, instead i get a single vertical line .
Walter Roberson
Walter Roberson 2012년 10월 5일
Is ai configured for multiple channels? If it is not then the getdata(ai) is going to return a vector rather than an array, and you will need to reorder or reshape() the vector to become a data array that you can imshow()

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by