| 数据搜索系统,热门电子元器件搜索 |
|
RM0020 数据表(PDF) 39 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
RM0020 数据表(HTML) 39 Page - STMicroelectronics |
|
39 / 69 page ![]() RM0020 Function API 39/69 #endif ALIGN_DCC(4) unsigned char a[16*12]; /* #pragma and ALIGN macros used to align to 4 bytes */ #ifdef __ghs__ #pragma alignvar (4) #endif ALIGN_DCC(4) unsigned char b[16*12] ALIGN_MWERKS(4); unsigned short M, N, shift; void main(void) { /******** Sobel filter *********/ M = 16; N = 12; sobel3x3(a, b, M, N); } 6.19 sobel3x3_horizontal - horizontal sobel filter Function call: void sobel3x3_horizontal(unsigned char *a, unsigned char *b, unsigned short M, unsigned short N); Arguments: Description: Computes the horizontal sobel filter on MxN input image. The absolute value of horizontal sobel filter result is range limited to 0..255. The output image is of the same size as input image and has one pixel border that is not computed. The first and the last row of output image is not changed, the first column is zeroed and the last column will contain not meaningful results. The last column can be zeroed when ZERO_LASTCOL is defined to 1 for the penalty of one more instruction inside the inner loop. The ZERO_LASTCOL is a symbol defined in function source file. Table 19. sobel3x3_horizontal arguments a(1) 1. a and b must be word aligned. in input image of size MxN b(1) out output image of size MxN M in number of rows of a and b, must be >= 3 N in number of columns of a and b, must be multiple of 4, must be >= 8 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |