поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

RM0020 датащи(PDF) 42 Page - STMicroelectronics

номер детали RM0020
подробное описание детали  SPC56xx DSP function library 2
PDF  69 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

RM0020 датащи(HTML) 42 Page - STMicroelectronics

Back Button RM0020 Datasheet HTML 38Page - STMicroelectronics RM0020 Datasheet HTML 39Page - STMicroelectronics RM0020 Datasheet HTML 40Page - STMicroelectronics RM0020 Datasheet HTML 41Page - STMicroelectronics RM0020 Datasheet HTML 42Page - STMicroelectronics RM0020 Datasheet HTML 43Page - STMicroelectronics RM0020 Datasheet HTML 44Page - STMicroelectronics RM0020 Datasheet HTML 45Page - STMicroelectronics RM0020 Datasheet HTML 46Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 42 / 69 page
background image
Function API
RM0020
42/69
void main(void)
{
/******** Vertical sobel filter *********/
M = 16;
N = 12;
sobel3x3_vertical(a, b, M, N);
}
6.21
corr_frac16 - frac16 correlation function
Function call:
void corr_frac16(unsigned short N, unsigned short M, short *x,
short *y, short *r);
Arguments:
Description:
Computes the correlation of the arrays x and y. The result is written to the array r. All
data types are signed 16-bit fractional in range -1 to 1-2-15. There is used the
arithmetic with saturation so the output will never overflow.
Algorithm:
Correlation:
Equation 35
for each j = 0, 1, ..., M-1
Note: The x and y can be the same array, in that case the auto-correlation is computed.
Performance: See Section 7 and Table 52.
Example 21. corr_frac16
#include "libdsp2.h"
/* #pragma and ALIGN macros used to align to 4 bytes */
#ifdef __ghs__
#pragma alignvar (4)
#endif
Table 21.
corr_frac16 arguments(1)
1.
The x,y,r data are in fractional 16-bit format in range -1 to 1. The arrays x,r must be word aligned,
the array y must be half-word aligned (implicit alignment of short data).
N
in
length of input vectors x and y (must be multiple of 4)
M
in
length of output vector r (must be multiple of 4, M <= N)
x
in
first input vector of length N
y
in
second input vector of length N
r
out
correlation of vectors x and y
out j

xj
y0
 xj 1
+
y1
 ... x N 1
yN j
1

++
+
=



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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