⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vid_sad.mdl

📁 motion detection using matlab
💻 MDL
📖 第 1 页 / 共 5 页
字号:
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out4"
		  Position		  [345, 208, 375, 222]
		  Port			  "4"
		  IconDisplay		  "Port number"
		}
		Line {
		  SrcBlock		  "In5"
		  SrcPort		  1
		  DstBlock		  "Demux"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Subsystem5"
		  SrcPort		  1
		  DstBlock		  "Out4"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In4"
		  SrcPort		  1
		  DstBlock		  "Subsystem5"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Subsystem4"
		  SrcPort		  1
		  DstBlock		  "Out3"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In3"
		  SrcPort		  1
		  DstBlock		  "Subsystem4"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Subsystem3"
		  SrcPort		  1
		  DstBlock		  "Out2"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  DstBlock		  "Subsystem3"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Subsystem2"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "Subsystem2"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  4
		  Points		  [0, -15]
		  DstBlock		  "Subsystem5"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  2
		  Points		  [0, -130]
		  DstBlock		  "Subsystem3"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  3
		  Points		  [0, -70]
		  DstBlock		  "Subsystem4"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  1
		  Points		  [0, -185]
		  DstBlock		  "Subsystem2"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out"
	      Position		      [620, 88, 650, 102]
	      IconDisplay	      "Port number"
	    }
	    Line {
	      SrcBlock		      "XOR Quads"
	      SrcPort		      4
	      DstBlock		      "Reassemble\nfrom Quads"
	      DstPort		      5
	    }
	    Line {
	      SrcBlock		      "XOR Quads"
	      SrcPort		      2
	      DstBlock		      "Reassemble\nfrom Quads"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "XOR Quads"
	      SrcPort		      3
	      DstBlock		      "Reassemble\nfrom Quads"
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "Split\ninto Quads"
	      SrcPort		      4
	      DstBlock		      "XOR Quads"
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "Split\ninto Quads"
	      SrcPort		      3
	      DstBlock		      "XOR Quads"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Split\ninto Quads"
	      SrcPort		      2
	      DstBlock		      "XOR Quads"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Split\ninto Quads"
	      SrcPort		      1
	      DstBlock		      "XOR Quads"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "XOR Quads"
	      SrcPort		      1
	      DstBlock		      "Reassemble\nfrom Quads"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Detect"
	      SrcPort		      1
	      Points		      [0, -30]
	      DstBlock		      "XOR Quads"
	      DstPort		      5
	    }
	    Line {
	      SrcBlock		      "Reassemble\nfrom Quads"
	      SrcPort		      1
	      DstBlock		      "Out"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Image"
	      SrcPort		      1
	      Points		      [0, 0; 20, 0]
	      Branch {
		Points			[0, 50]
		DstBlock		"Split\ninto Quads"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Reassemble\nfrom Quads"
		DstPort			1
	      }
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Show RGB"
	  Ports			  [3]
	  Position		  [370, 80, 410, 140]
	  MinAlgLoopOccurrences	  off
	  PropExecContextOutsideSubsystem off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  Opaque		  off
	  RequestExecContextInheritance	off
	  MaskHideContents	  off
	  System {
	    Name		    "Show RGB"
	    Location		    [319, 359, 790, 469]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "R"
	      Position		      [25, 28, 55, 42]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "G"
	      Position		      [25, 43, 55, 57]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "B"
	      Position		      [25, 58, 55, 72]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      DataTypeConversion
	      Name		      "Data Type Conversion"
	      Position		      [185, 35, 220, 65]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Display
	      Name		      "Display"
	      Ports		      [1]
	      Position		      [355, 35, 445, 65]
	      Decimation	      "1"
	      Lockdown		      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Matrix\nConcatenation1"
	      Ports		      [3, 1]
	      Position		      [80, 29, 135, 71]
	      ShowName		      off
	      SourceBlock	      "simulink/Math\nOperations/Matrix\nConcatenation"
	      SourceType	      "Matrix Concatenation"
	      numInports	      "3"
	      catMethod		      "Horizontal"
	    }
	    Block {
	      BlockType		      MATLABFcn
	      Name		      "RGB Video"
	      Ports		      [1, 1]
	      Position		      [275, 35, 335, 65]
	      ModelCloseFcn	      "show_rgb"
	      MATLABFcn		      "show_rgb(u,1)"
	    }
	    Line {
	      SrcBlock		      "Matrix\nConcatenation1"
	      SrcPort		      1
	      DstBlock		      "Data Type Conversion"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "RGB Video"
	      SrcPort		      1
	      DstBlock		      "Display"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Data Type Conversion"
	      SrcPort		      1
	      DstBlock		      "RGB Video"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "R"
	      SrcPort		      1
	      DstBlock		      "Matrix\nConcatenation1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "G"
	      SrcPort		      1
	      DstBlock		      "Matrix\nConcatenation1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "B"
	      SrcPort		      1
	      DstBlock		      "Matrix\nConcatenation1"
	      DstPort		      3
	    }
	  }
	}
	Line {
	  Name			  "B"
	  Labels		  [2, 1]
	  SrcBlock		  "Crosshairs"
	  SrcPort		  1
	  Points		  [65, 0; 0, -35]
	  DstBlock		  "Show RGB"
	  DstPort		  3
	}
	Line {
	  Name			  "R"
	  Labels		  [2, 0]
	  SrcBlock		  "Highlight"
	  SrcPort		  1
	  Points		  [110, 0; 0, 35]
	  DstBlock		  "Show RGB"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Detect"
	  SrcPort		  1
	  DstBlock		  "Highlight"
	  DstPort		  1
	}
	Line {
	  Name			  "G"
	  SrcBlock		  "Image"
	  SrcPort		  1
	  Points		  [55, 0]
	  Branch {
	    Points		    [0, -55]
	    Branch {
	      Points		      [0, 0]
	      DstBlock		      "Highlight"
	      DstPort		      2
	    }
	    Branch {
	      Labels		      [1, 0]
	      DstBlock		      "Show RGB"
	      DstPort		      2
	    }
	  }
	  Branch {
	    DstBlock		    "Crosshairs"
	    DstPort		    1
	  }
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Signal From\nWorkspace1"
      Ports		      [0, 1]
      Position		      [15, 86, 65, 114]
      ShowName		      off
      SourceBlock	      "dspsrcs4/Signal From\nWorkspace"
      SourceType	      "Signal From Workspace"
      ShowPortLabels	      "FromPortIcon"
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      X			      "vG3"
      Ts		      "1/30"
      nsamps		      "1"
      OutputAfterFinalValue   "Cyclic repetition"
      ignoreOrWarnInputAndFrameLengths off
    }
    Block {
      BlockType		      SubSystem
      Name		      "Sum of\nAbsolute\nDifferences"
      Ports		      [1, 2]
      Position		      [225, 69, 315, 131]
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Opaque		      off
      RequestExecContextInheritance off
      MaskHideContents	      off
      Port {
	PortNumber		1
	Name			"Motion Energy"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      System {
	Name			"Sum of\nAbsolute\nDifferences"
	Location		[84, 371, 895, 531]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Intensity"
	  Position		  [15, 63, 45, 77]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	  Port {
	    PortNumber		    1
	    ShowPropagatedSignals   "on"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	}
	Block {
	  BlockType		  Abs
	  Name			  "Abs"
	  Position		  [395, 55, 425, 85]
	  ShowName		  off
	  Port {
	    PortNumber		    1
	    Name		    "G"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type Conversion1"
	  Position		  [210, 101, 265, 129]
	  ShowName		  off
	  OutDataTypeMode	  "int16"
	  OutDataTypeStr	  "int16"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type Conversion3"
	  Position		  [495, 56, 550, 84]
	  ShowName		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Integer Delay1"
	  Ports			  [1, 1]
	  Position		  [115, 56, 160, 84]
	  ShowName		  off
	  SourceBlock		  "dspsigops/Integer Delay"
	  SourceType		  "Integer Delay"
	  delay			  "1"
	  ic			  "0"
	  reset_popup		  "None"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Quadrant\nSums"
	  Ports			  [1, 1]
	  Position		  [640, 53, 690, 87]
	  MinAlgLoopOccurrences	  off
	  PropExecContextOutsideSubsystem off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  Opaque		  off
	  RequestExecContextInheritance	off
	  MaskHideContents	  off
	  System {
	    Name		    "Quadrant\nSums"
	    Location		    [161, 182, 947, 394]

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -