Ағылшыншамен салыстырыңыз: абзацты басыңыз — түпнұсқа терезеде ашылады. Абзац астындағы EN түймесі оны мәтін ішінде көрсетеді.
Кіріспе
ANIMAL (алғашқы іске асыру: 1988 қайта қаралған: 2004) - алгоритмдерді жылдам прототиптеу, сынау және өзгерту бағытында бейне өңдеуге арналған интерактивті орта. ANIMAL (AN IMage ALgebra) құру үшін Дэвид Бетцтің XLISP бірнеше жаңа типтермен кеңейтілді: сокет, массивтер, бейнелер, маскалар және суретке түсірулер. Теориялық негіздеме мен жұмыс ортасын іске асыру "ЖАНШЫЛАР: КӨЛІМ Алгебрасы" атты мақалада сипатталған. ANIMAL-тың теориялық құрылымында цифрлық сурет - өз тарихы бар шексіз матрица. Алайда, іске асыру кезінде ол дискретті жазықтықта тікбұрышты аймақпен шектеледі және аймақтан тыс элементтер тұрақты мәнге ие болады. Ұшақтағы аймақтың өлшемі мен орны (фокус) тікбұрыштың координаттарымен анықталады. Осылайша барлық пиксельдер, соның ішінде шекарадағылар, көршілерінің бірдей санына ие (оның жергілікті операторларда, мысалы, цифрлық сүзгілерде пайдалы). Сонымен қатар, пикселдік коммутативті операциялар кескін деңгейінде коммутативті болып қалады, фокусқа тәуелсіз (тұғын бұрышты аймақтардың мөлшері мен орны). Тарих - бұл матрицаға қолданылатын операцияларды және параметрлерді қадағалайтын тізім. Бұл механизм алгоритмдерді құжаттауға және жаңа функцияларды жасауға пайдалы. ANIMAL R-ге көшірілді, бұл статистикалық есептеулер мен графикалық орта үшін еркін қол жетімді тіл. Жаңа іске асыру тегін және компьютерлік көрудегі шаблонды сәйкестендіру әдістерін қолдануды көрсету үшін соңғы кітапта қолданылады (кітаптың кодының кіріспесіне қараңыз).
ANIMAL (first implementation: 1988 revised: 2004) is an interactive environment for image processing that is oriented toward the rapid prototyping, testing, and modification of algorithms. To create ANIMAL (AN IMage ALgebra), XLISP of David Betz was extended with some new types: sockets, arrays, images, masks, and drawables. The theoretical framework and the implementation of the working environment is described in the paper "ANIMAL: AN IMage ALgebra". In the theoretical framework of ANIMAL a digital image is a boundless matrix with its history. However, in the implementation it is bounded by a rectangular region in the discrete plane and the elements outside the region have a constant value. The size and position of the region in the plane (focus) is defined by the coordinates of the rectangle. In this way all the pixels, including those on the border, have the same number of neighbors (useful in local operators, such as digital filters). Furthermore, pixelwise commutative operations remain commutative on image level, independently on focus (size and position of the rectangular regions). The history is a list which tracks the operations and parameters applied to the matrix. This mechanism is useful to document algorithms and generate new functions. ANIMAL has been ported to R, a freely available language and environment for statistical computing and graphics. The new implementation is free and is used in a recent book to illustrate the use of template matching techniques in computer vision (see the preface of the book code companion).