matlab peekdata,Sequence of image frames as montage

imaqmontage

Sequence of image frames as montage

Syntax

imaqmontage(frames)

imaqmontage(obj)

imaqmontage(...,CLIM)

imaqmontage(..., 'CLim', CLIM, 'Parent', PARENT)

h = imaqmontage(...)

Description

imaqmontage(frames) displays

a montage of image frames in a MATLAB® figure

window using the imagesc function.

frames can be any data set returned by getdata, peekdata,

or getsnapshot.

imaqmontage(obj) calls

the getsnapshot function on video input object obj and

displays a single image frame in a MATLAB figure

window using the imagesc function. obj must

be a 1-by-1 video input object.

imaqmontage(...,CLIM) displays

a montage of image frames, where CLIM is a two-element

vector, [CLOW CHIGH], specifying the image scaling.

Use CLIM to specify a scaling value when overscaling

the image data is a risk, for example, when you are working with devices

that provide data in a 12-bit format.

imaqmontage(..., 'CLim', CLIM, 'Parent', PARENT) where CLIM is

as noted previously, and PARENT is a valid AXES

object that allows you to specify where the montage is displayed.

One or both property/value pairs can be specified. See the example

below.

h = imaqmontage(...) returns

a handle to an image object.

Note

To get a list of options you can use on a function, press the Tab key

after entering a function on the MATLAB command line. The list

expands, and you can scroll to choose a property or value. For information

about using this advanced tab completion feature, see Using Tab Completion for Functions.

Examples

Construct a video input object associated with a Matrox® device at ID 1.

obj = videoinput('matrox', 1);

Initiate an acquisition and access the logged data.

start(obj);

data = getdata(obj);

Create an axes object.

a = axes;

Display each image frame acquired on axes a.

imaqmontage(data, 'Parent', a);

Remove the video input object from memory.

delete(obj);

Introduced before R2006a

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值