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

📄 amedianfilter_hw.mdl

📁 Adaptive median filter using Embedded MATLAB
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      Port		      "3"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "center_data"
	      Position		      [460, 206, 480, 224]
	      Port		      "4"
	      IconDisplay	      "Port number"
	    }
	    Line {
	      SrcBlock		      " SFunction "
	      SrcPort		      1
	      DstBlock		      " Demux "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "column_data"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      1
	    }
	    Line {
	      Name		      "min9"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      2
	      DstBlock		      "min9"
	      DstPort		      1
	    }
	    Line {
	      Name		      "med9"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      3
	      DstBlock		      "med9"
	      DstPort		      1
	    }
	    Line {
	      Name		      "max9"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      4
	      DstBlock		      "max9"
	      DstPort		      1
	    }
	    Line {
	      Name		      "center_data"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      5
	      DstBlock		      "center_data"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      " Demux "
	      SrcPort		      1
	      DstBlock		      " Terminator "
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "input_reg1"
	  Position		  [345, 93, 365, 117]
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "input_reg2"
	  Position		  [440, 633, 460, 657]
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "median_filter_hw1"
	  Ports			  [13, 1]
	  Position		  [815, 57, 1005, 433]
	  PermitHierarchicalResolution "ExplicitOnly"
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  MaskType		  "Stateflow"
	  MaskDescription	  "Embedded MATLAB block"
	  MaskDisplay		  "disp('get_new_pixel');"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  off
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "median_filter_hw1"
	    Location		    [257, 457, 812, 717]
	    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		      "min3"
	      Position		      [20, 101, 40, 119]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "med3"
	      Position		      [20, 136, 40, 154]
	      Port		      "2"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "max3"
	      Position		      [20, 171, 40, 189]
	      Port		      "3"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "min5"
	      Position		      [20, 206, 40, 224]
	      Port		      "4"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "med5"
	      Position		      [20, 246, 40, 264]
	      Port		      "5"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "max5"
	      Position		      [20, 281, 40, 299]
	      Port		      "6"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "min7"
	      Position		      [20, 316, 40, 334]
	      Port		      "7"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "med7"
	      Position		      [20, 351, 40, 369]
	      Port		      "8"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "max7"
	      Position		      [20, 386, 40, 404]
	      Port		      "9"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "min9"
	      Position		      [20, 426, 40, 444]
	      Port		      "10"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "med9"
	      Position		      [20, 461, 40, 479]
	      Port		      "11"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "max9"
	      Position		      [20, 496, 40, 514]
	      Port		      "12"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "center_data"
	      Position		      [20, 531, 40, 549]
	      Port		      "13"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Demux
	      Name		      " Demux "
	      Ports		      [1, 1]
	      Position		      [270, 400, 320, 440]
	      Outputs		      "1"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      " SFunction "
	      Tag		      "Stateflow S-Function aMedianFilter_hw 8"
	      Ports		      [13, 2]
	      Position		      [180, 119, 230, 401]
	      FunctionName	      "sf_sfun"
	      PortCounts	      "[13 2]"
	      EnableBusSupport	      on
	      Port {
		PortNumber		2
		Name			"new_pixel"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      " Terminator "
	      Position		      [460, 411, 480, 429]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "new_pixel"
	      Position		      [460, 101, 480, 119]
	      IconDisplay	      "Port number"
	    }
	    Line {
	      SrcBlock		      " SFunction "
	      SrcPort		      1
	      DstBlock		      " Demux "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "min3"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "med3"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "max3"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "min5"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "med5"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      5
	    }
	    Line {
	      SrcBlock		      "max5"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      6
	    }
	    Line {
	      SrcBlock		      "min7"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      7
	    }
	    Line {
	      SrcBlock		      "med7"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      8
	    }
	    Line {
	      SrcBlock		      "max7"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      9
	    }
	    Line {
	      SrcBlock		      "min9"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      10
	    }
	    Line {
	      SrcBlock		      "med9"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      11
	    }
	    Line {
	      SrcBlock		      "max9"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      12
	    }
	    Line {
	      SrcBlock		      "center_data"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      13
	    }
	    Line {
	      Name		      "new_pixel"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      2
	      DstBlock		      "new_pixel"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      " Demux "
	      SrcPort		      1
	      DstBlock		      " Terminator "
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "output_reg"
	  Position		  [1070, 233, 1090, 257]
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "output_reg2"
	  Position		  [930, 633, 950, 657]
	}
	Block {
	  BlockType		  Outport
	  Name			  "pixel_val"
	  Position		  [1145, 238, 1175, 252]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Outport
	  Name			  "pixel_valid"
	  Position		  [1025, 638, 1055, 652]
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Line {
	  SrcBlock		  "c_data"
	  SrcPort		  1
	  DstBlock		  "input_reg1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "c_idx"
	  SrcPort		  1
	  DstBlock		  "input_reg2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "compute_dvalid"
	  SrcPort		  1
	  DstBlock		  "cutset_reg2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "median_filter_hw1"
	  SrcPort		  1
	  DstBlock		  "output_reg"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "d3x3"
	  SrcPort		  4
	  DstBlock		  "Terminator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "d3x3"
	  SrcPort		  1
	  Points		  [50, 0; 0, -15]
	  DstBlock		  "median_filter_hw1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "d3x3"
	  SrcPort		  2
	  DstBlock		  "median_filter_hw1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "d3x3"
	  SrcPort		  3
	  Points		  [65, 0; 0, 15]
	  DstBlock		  "median_filter_hw1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "d5x5"
	  SrcPort		  1
	  Points		  [65, 0; 0, -10]
	  DstBlock		  "median_filter_hw1"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "d5x5"
	  SrcPort		  2
	  Points		  [0, 5]
	  DstBlock		  "median_filter_hw1"
	  DstPort		  5
	}
	Line {
	  SrcBlock		  "d5x5"
	  SrcPort		  3
	  Points		  [65, 0; 0, 20]
	  DstBlock		  "median_filter_hw1"
	  DstPort		  6
	}
	Line {
	  SrcBlock		  "d5x5"
	  SrcPort		  4
	  DstBlock		  "Terminator1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "d7x7"
	  SrcPort		  4
	  DstBlock		  "Terminator2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "d7x7"
	  SrcPort		  1
	  Points		  [65, 0; 0, -10]
	  DstBlock		  "median_filter_hw1"
	  DstPort		  7
	}
	Line {
	  SrcBlock		  "d7x7"
	  SrcPort		  2
	  Points		  [0, 5]
	  DstBlock		  "median_filter_hw1"
	  DstPort		  8
	}
	Line {
	  SrcBlock		  "d7x7"
	  SrcPort		  3
	  Points		  [50, 0; 0, 20]
	  DstBlock		  "median_filter_hw1"
	  DstPort		  9
	}
	Line {
	  SrcBlock		  "d9x9"
	  SrcPort		  1
	  Points		  [60, 0; 0, -15]
	  DstBlock		  "median_filter_hw1"
	  DstPort		  10
	}
	Line {
	  SrcBlock		  "d9x9"
	  SrcPort		  2
	  DstBlock		  "median_filter_hw1"
	  DstPort		  11
	}
	Line {
	  SrcBlock		  "d9x9"
	  SrcPort		  3
	  Points		  [60, 0; 0, 15]
	  DstBlock		  "median_filter_hw1"
	  DstPort		  12
	}
	Line {
	  SrcBlock		  "d9x9"
	  SrcPort		  4
	  Points		  [40, 0; 0, 30]
	  DstBlock		  "cutset_reg1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "cutset_reg1"
	  SrcPort		  1
	  DstBlock		  "median_filter_hw1"
	  DstPort		  13
	}
	Line {

⌨️ 快捷键说明

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