Osd

Scd

(1)     Introduction

  1. over view

a)         scene change detection

  1. block diagram

a)         graph

b)         resvolution

d1:720x576(pal)-25fps 720x480 30-fps(ntsc)--------------704x576 ti

cif:352x288 (支持的处理帧)

quwu:1024x768/4

c)         说明:

The block diagram above illustrates the  basic flow of the algorithm.  It is helpful to regard the SCD algorithm as an  “engine”  that consumes input  video  frames and produces  metadata.  Input video frames  fed  to  SCD  are  first  partitioned  into  blocks.  Valid  YUV  input  frames  provided  by  the framework are generally CIF resolution or smaller, but block widths are always fixed to be 32-pixels

wide.  The  xth horizontal  and  yth vertical  block  in  the  partition  matrix  at  time  t,  i.e.  b(x,y,t),  is compared against the co-located block from a prior frame  b(x,y,t-1) if motion detection for that block is  enabled.  If  frame-level  change,  e.g.  tamper  detection,  is  enabled,  then   b(x,y,t)  is  com pared

against  a  learned  model  of  the  scene  m(x,y,t-1).  The  actual  operations  to  generate  block-level metadata are more complex than a simple “subtraction,” as depicted in the block diagram.

These  metadata  are  evaluated  by  logical  rules  at  both  a  block-  and  frame-level,  depending  on whether motion monitoring and/or tamper monitoring is in effect, respectively. Rules for interpreting the  metadata  are  housed  inside  the  algorithm ;  however,  rules  and  how  they  influence  decisions can be manipulated by channel-specific parameters selected by the application.

(2)     Application programming interface for scene change detection

a)         Alglink_scdmod

typedef enum

{

ALG_LINK_SCD_DETECTMODE_DISABLE  = 0,

ALG_LINK_SCD_DETECTMODE_MONITOR_FULL_FRAME  = 1,

ALG_LINK_SCD_DETECTMODE_MONITOR_BLOCKS    = 2,

ALG_LINK_SCD_DETECTMODE_MONITOR_BLOCKS_AND_FRAME  = 3

} AlgLink_ScdMode;

ALG_LINK_SCD_DETECTMODE_DISABLE ptz

b)         Alglink_scdsensitivity

typedef enum {

ALG_LINK_SCD_SENSITIVITY_VERYLOW   = 0,

ALG_LINK_SCD_SENSITIVITY_LOW   = 1,

ALG_LINK_SCD_SENSITIVITY_MIDLO   = 2,

ALG_LINK_SCD_SENSITIVITY_MID   = 3,

ALG_LINK_SCD_SENSITIVITY_MIDHI   = 4,

ALG_LINK_SCD_SENSITIVITY_HIGH   = 5,

ALG_LINK_SCD_SENSITIVITY_VERYHIGH  = 6

} AlgLink_ScdSensitivity;

ALG_LINK_SCD_SENSITIVITY_VERYHIGH

c)         Alglink_scdoutput

typedef enum

{

ALG_LINK_SCD_DETECTOR_UNAVAILABLE =-1,

ALG_LINK_SCD_DETECTOR_NO_CHANGE  = 0,

ALG_LINK_SCD_DETECTOR_CHANGE = 1

} AlgLink_ScdOutput;

SCD_TI_process

d)         Scd struct

e)         Scd function call

General guidelines for video and scene characterstics

SCD  is designed to  analyze  video  that  is  acquired  from  a  fixed  camera,  i.e.  the  field  of  view  does  not  change  due  to panning,  tilting,  or  zooming.   Video  is  processed  frame-by-frame.  The  order  and  timing  of  frames  are

crucial for analysis.  SCD  algorithms expect frames to be  available  in sequential order  with  inter-frame jitter  (variability  in  frame  timing)  minimized  to  be  no  greater  than  ±100  ms  outside  of  the  specified processing rate.

SCD  relies on a  fairly  stable field of view to identify relevant changes caused by moving objects.  Tamper events  are  assumed  to  affect  the  majority  of  the  field  of  view,  depending  on  the  sensitivity  setting.  To

prevent false alarms  and achieve desired results,  installers should be careful to position the camera to satisfy the following constraints:

  The video should be in focus and as sharp as possible.

  Camera mounting should be fixed and stable. Excessive vibration or movement from wind,  large vehicles, or other external factors should be avoided.

Scene Change Detection API & User’s Guide: Beta 00.50  – January 2012

TI Confidential – NDA Restrictions

  Good  contrast  with  strong  edges  and  corners  is  desirable  for  optimum  performance.  Large reflective  surfaces,  glare  and  direct  illumination  (camera  pointed  at  the  sun)  can  result  in  poor contrast  and  must  be  avoided.  Tamper  detection  in  scenes  without  enough  visual  texture  or contrast, e.g. camera pointed at a blank wall, could be ineffective. However, motion detection has

no similar requirement, except for sufficient illumination.

  No more than 75% of the scene should experience motion or change in appearance  at any given time.  The size  of  any individual moving object should not fill more than 50% of the camera’s field of view at any time. If these recommendations are unavoidable and the field of view is easily filled by objects moving into the scene temporarily, e.g. the scene of a camera monitoring traffic  is filled by vehicles in traffic, consider lowering the sensitivity to prevent false detections.

  Areas monitored by the camera should be reasonably well lit, e.g. adequate for supporting human eyesight.  SCD  can  work  with  infrared  illuminators  to  assist  in  very  low-light  environments  or conditions, but operation under these circumstances can produce undesired effects. Precipitation, e.g. rain drops, snow flakes, ice, sleet,  etc., dirt, insects, or other debris  on the camera lens can cause SCD algorithms to work improperly.

Adjustments to sensitivity  settings  will  influence  detection  performance.  Lower sensitivity will require a larger  degree of high-contrast change for a  tamper  event to be generated and will result in fewer false events. Higher sensitivity will require a smaller amount of change for an event to be generated and could therefore result in more events, some of them false alarms.

(3)数据链路case

  根据process——capture——encode——decode——display自己写的一个包含camerlink、sclrlink、duplink、ipcoutlink、ipcframeoutlink、ipcbitoutlink、swmilink、displaylink

  

http://blog.csdn.net/mianhuantang848989/article/details/38035731 demo

http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/211031.aspx?pi199607=2 scd 输入帧问题

http://max.book118.com/html/2014/0804/9301782.shtm  基于ccd的车辆识别系统的设计与实现

http://www.deyisupport.com/question_answer/dsp_arm/davinci_digital_media_processors/f/39/p/61281/136196.aspx scd 无返回结果,可能是没开启scd

嵌入式开发之davinci--- 8148/8168/8127 中的添加算饭scd 场景检测 文档简介的更多相关文章

  1. 嵌入式开发之davinci--- 8148/8168/8127 中的添加算饭scd 场景检测 代码实现

    http://blog.csdn.net/mianhuantang848989/article/details/38035731 http://www.61ic.com/Article/DaVinci ...

  2. python模块之httplib(在py3中功能进一步强大,请详看文档)

    # -*- coding: utf-8 -*-#python 27#xiaodeng#python模块之httplib(在py3中功能进一步强大,请详看文档) import httplib#是较为底层 ...

  3. ASP.NET Core 3.0 WebApi中使用Swagger生成API文档简介

    参考地址,官网:https://docs.microsoft.com/zh-cn/aspnet/core/tutorials/getting-started-with-swashbuckle?view ...

  4. 编写Java程序,在硬盘中选取一个 txt 文件,读取该文档的内容后,追加一段文字“[ 来自新华社 ]”,保存到一个新的 txt 文件内

    查看本章节 查看作业目录 需求说明: 在硬盘中选取一个 txt 文件,读取该文档的内容后,追加一段文字"[ 来自新华社 ]",保存到一个新的 txt 文件内 实现思路: 创建 Sa ...

  5. 嵌入式开发之davinci--- 8148/8168/8127 中的xdc 简介

    XDC是TI公司为嵌入式实时系统可重用软件组件(在XDC里被成为packages,以下成为包)制定的一套标准.它包括一些有用的工具,标准的API函数,静态配置文件和打包(packaging)操作.XD ...

  6. 嵌入式开发之zynqMp ---Zynq UltraScale+ MPSoC 图像编码板zcu102

    1.1 xilinx zynqMp 架构 1.1.1 16nm 级别工艺 Zynq UltraScale+  MPSoC架构 Xilinx新一代Zynq针对控制.图像和网络应用推出了差异化的产品系,这 ...

  7. 嵌入式开发之davinci---IPIPE、IPIPEIF and ISIF这三者有什么区别

    (1)缩写概念 (2)各自区别 (3)不同sensor 采集接口 (4)采集后的数据链路link (5)8127 中的iss和ipipe的区别 (1)缩写概念 http://www.ti.com.cn ...

  8. GMap.Net开发之在WinForm和WPF中使用GMap.Net地图插件

    GMap.NET是什么? 来看看它的官方说明:GMap.NET is great and Powerful, Free, cross platform, open source .NET contro ...

  9. Spring Boot中使用Swagger2构建强大的RESTful API文档

    由于Spring Boot能够快速开发.便捷部署等特性,相信有很大一部分Spring Boot的用户会用来构建RESTful API.而我们构建RESTful API的目的通常都是由于多终端的原因,这 ...

随机推荐

  1. VS C++项目报错warning C4199: ……use /Zc:twoPhase-

    具体的报错如下: c1xx : warning C4199: two-phase name lookup is not supported for C++/CLI, C++/CX, or OpenMP ...

  2. (5) openssl speed(测试算法性能)和openssl rand(生成随机数)

    1.1 openssl speed 测试加密算法的性能 支持的算法有: openssl speed [md2] [mdc2] [md5] [hmac] [sha1] [rmd160] [idea-cb ...

  3. day23 01 类的命名空间

    day23  01 类的命名空间 一.初识面向对象复习 定义类: class 函数:方法 动态属性 变量:类属性 静态属性 过程: (1)_init_方法:初始化:def _init_(self,参数 ...

  4. POJ3037 Skiing

    Skiing 题目大意: 给定一个M*N的网格,已知在每个网格中的点可以向上下左右四个方向移动一个单位,每个点都有一个高度值. 从每个点开始移动时存在一个速度值,从A点移动到B点,则此时B点的速度为& ...

  5. Android版网易云音乐唱片机唱片磁盘旋转及唱片机机械臂动画关键代码实现思路

     Android版网易云音乐唱片机唱片磁盘旋转及唱片机机械臂动画关键代码实现思路 先看一看我的代码运行结果. 代码运行起来初始化状态: 点击开始按钮,唱片机的机械臂匀速接近唱片磁盘,同时唱片磁盘也 ...

  6. 【贪心】codeforces A. Heidi and Library (easy)

    http://codeforces.com/contest/802/problem/A [题意] 有一个图书馆,刚开始没有书,最多可容纳k本书:有n天,每天会有人借一本书,当天归还:如果图书馆有这个本 ...

  7. linux下mysql登录报错“Access denied for user 'root'@'localhost' (using password: YES”)的处理方法

    最近登录某台服务器的mysql时候总报错: Access[root@log01 ~]# mysql -u root -p Enter password: ERROR 1045 (28000): Acc ...

  8. python学习之-- importlib模块

    importlib 模块 Python提供了importlib包作为标准库的一部分.目的就是提供Python中import语句的实现(以及__import__函数).另外,importlib允许程序员 ...

  9. Codeforces Manthan, Codefest 18 (rated, Div. 1 + Div. 2) D,E

    D. Valid BFS? time limit per test 2 seconds memory limit per test 256 megabytes input standard input ...

  10. 最长上升子序列(LIS)长度的O(nlogn)算法

    最长上升子序列(LIS)的典型变形,熟悉的n^2的动归会超时.LIS问题可以优化为nlogn的算法.定义d[k]:长度为k的上升子序列的最末元素,若有多个长度为k的上升子序列,则记录最小的那个最末元素 ...