我是靠谱客的博主 任性小鸭子,这篇文章主要介绍matlab中counter怎么用,matlab中fspecial函数的用法,现在分享给大家,希望可以做个参考。

fspecial函数用于建立预定义的滤波算子,其语法格式为:

h =

fspecial(type)

h =

fspecial(type,para)其中type指定算子的类型,para指定相应的参数;

type的类型有:

1、'average'

averaging filter为均值滤波,参数为hsize代表模板尺寸,默认值为【3,3】。

H =

FSPECIAL('average',HSIZE) returns an averaging filter H of

size

HSIZE. HSIZE can be a vector specifying the number of rows and

columns in

H or a scalar, in which case H is a square matrix.

The

default HSIZE is [3 3].

2、'disk'

circular averaging filter

为圆形区域均值滤波,参数为radius代表区域半径,默认值为5.

H =

FSPECIAL('disk',RADIUS) returns a circular averaging

filter

(pillbox) within the square matrix of side

2*RADIUS+1.

The default RADIUS is 5.

3、'g

最后

以上就是任性小鸭子最近收集整理的关于matlab中counter怎么用,matlab中fspecial函数的用法的全部内容,更多相关matlab中counter怎么用,matlab中fspecial函数内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(111)

评论列表共有 0 条评论

立即
投稿
返回
顶部