角点检测
来源:互联网 发布:逆袭网络剧完整版 编辑:程序博客网 时间:2024/04/29 11:11
imregionalmax(img);
deal(img);
deal
Distribute inputs to outputs
Syntax
[Y1, Y2, Y3, ...] = deal(X)[Y1, Y2, Y3, ...] = deal(X1, X2, X3, ...)
Description
[Y1, Y2, Y3, ...] = deal(X)
copies the single input to all the requested outputs. It is the same as Y1 = X
, Y2 = X
, Y3 = X
, ...
[Y1, Y2, Y3, ...] = deal(X1, X2, X3, ...)
is the same as Y1 = X1
;Y2 = X2
; Y3 = X3
; ...
Remarks
deal
is most useful when used with cell arrays and structures via comma-separated list expansion. Here are some useful constructions:
[S.field] = deal(X)
sets all the fields with the name field
in the structure array S
to the valueX
. If S
doesn't exist, use [S(1:m).field] = deal(X)
.
[X{:}] = deal(A.field)
copies the values of the field with name field
to the cell array X
. If X
doesn't exist, use [X{1:m}] = deal(A.field)
.
[Y1, Y2, Y3, ...] = deal(X{:})
copies the contents of the cell array X
to the separate variablesY1, Y2, Y3, ...
[Y1, Y2, Y3, ...] = deal(S.field)
copies the contents of the fields with the name field
to separate variables Y1, Y2, Y3, ...
Examples
Use deal
to copy the contents of a 4-element cell array into four separate output variables.
C = {rand(3) ones(3,1) eye(3) zeros(3,1)};[a,b,c,d] = deal(C{:})a = 0.9501 0.4860 0.4565 0.2311 0.8913 0.0185 0.6068 0.7621 0.8214b = 1 1 1c = 1 0 0 0 1 0 0 0 1d = 0 0 0
Use deal
to obtain the contents of all the name fields in a structure array:
A.name = 'Pat'; A.number = 176554;A(2).name = 'Tony'; A(2).number = 901325;[name1,name2] = deal(A(:).name)name1 =Patname2 =Tony
- 角点检测,圆形检测
- 角点检测 susan角点检测
- 角点检测Harris角点检测
- 角点检测
- Harris 角点检测
- 角点检测
- 角点 检测
- 角点检测
- OpenCV角点检测
- 角点检测
- 角点检测算法
- Harris角点检测
- Harris角点检测
- 角点检测
- Moravec角点检测
- Harris角点检测
- Harris角点检测
- harris角点检测
- VS2010中配置文件的使用
- uva11375
- C#学习之值类型与饮用类型
- lr学习笔记1:创建脚本的注意事项
- ORACLE的 SUM()OVER()函数的使用1
- 角点检测
- i2c总线时序
- 窗体(1):最简洁形式
- andorid源码编译
- java.lang.OutOfMemoryError: PermGen space解決
- 关于new的一个问题
- DataGridView查询数据
- 普利姆算法
- Web内部控件DropDownList