当前位置:网站首页>Chapter 24 image and video processing based on Simulink -- matlab in-depth learning and practical collation
Chapter 24 image and video processing based on Simulink -- matlab in-depth learning and practical collation
2022-06-22 02:09:00 【Haibao 7】
Simulink Is the U.S. Mathworks company-launched MATLAB A visual simulation tool in .Simulink Is a module diagram environment , For multi domain simulation and model-based design . It supports system design 、 Simulation 、 Automatic code generation and continuous testing and verification of embedded systems .Simulink Provide graphic editor 、 Customizable module library and solver , Capable of dynamic system modeling and simulation , Powerful , It has a wide range of applications .
See above . Application of optical flow field .
Subframe 
Model carrying process 
Model features :
1. A rich and extensible Library of predefined modules
2. Interactive graphic editor to combine and manage intuitive module diagrams
3. Divide the model with the hierarchy of design functions , Realize the management of complex design
4. adopt Model Explorer Navigation 、 establish 、 To configure 、 Search for any signal in the model 、 Parameters 、 attribute , Generate model code
5. Provide API For connection with other emulators or integration with handwritten code
6. Graphical debugger and parser to check simulation results , Diagnose design performance and abnormal behavior
7. Accessible MATLAB So as to analyze and visualize the results , Customize the modeling environment , Define signal parameters and test data
Here are the first 300 lines of code for the model :
Model {
Name "cellcounting"
Version 7.9
MdlSubVersion 0
GraphicalInterface {
NumRootInports 0
NumRootOutports 0
ParameterArgumentNames ""
ComputedModelVersion "1.230"
NumModelReferences 0
NumTestPointedSignals 0
}
SavedCharacterEncoding "GBK"
SaveDefaultBlockParams on
ScopeRefreshTime 0.035000
OverrideScopeRefreshTime on
DisableAllScopes off
DataTypeOverride "UseLocalSettings"
DataTypeOverrideAppliesTo "AllNumericTypes"
MinMaxOverflowLogging "UseLocalSettings"
MinMaxOverflowArchiveMode "Overwrite"
FPTRunName "Active"
MaxMDLFileLineLength 120
Created "Mon Sep 20 13:18:37 2004"
Creator "The MathWorks Inc."
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "Dynamic"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Sat Dec 27 18:45:16 2014"
RTWModifiedTimeStamp 341606714
ModelVersionFormat "1.%<AutoIncrement:230>"
ConfigurationManager "None"
SampleTimeColors off
SampleTimeAnnotations off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
ShowDesignRanges off
ShowLoopsOnError on
IgnoreBidirectionalLines off
ShowStorageClass off
ShowTestPointIcons on
ShowSignalResolutionIcons on
ShowViewerIcons on
SortedOrder off
ExecutionContextIcon off
ShowLinearizationAnnotations on
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
SimulationMode "normal"
LinearizationMsg "none"
Profile off
ParamWorkspaceSource "MATLABWorkspace"
AccelSystemTargetFile "accel.tlc"
AccelTemplateMakefile "accel_default_tmf"
AccelMakeCommand "make_rtw"
TryForcingSFcnDF off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
CovForceBlockReductionOff on
covSaveCumulativeToWorkspaceVar on
CovSaveSingleToWorkspaceVar on
CovCumulativeVarName "covCumulativeData"
CovCumulativeReport off
CovReportOnPause on
CovModelRefEnable "Off"
CovExternalEMLEnable off
ExtModeBatchMode off
ExtModeEnableFloating on
ExtModeTrigType "manual"
ExtModeTrigMode "normal"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigDurationFloating "auto"
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
ExtModeArmWhenConnect on
ExtModeSkipDownloadWhenConnect off
ExtModeLogAll on
ExtModeAutoUpdateStatusClock off
BufferReuse on
ShowModelReferenceBlockVersion off
ShowModelReferenceBlockIO off
Array {
Type "Handle"
Dimension 1
Simulink.ConfigSet {
$ObjectID 1
Version "1.12.0"
Array {
Type "Handle"
Dimension 8
Simulink.SolverCC {
$ObjectID 2
Version "1.12.0"
StartTime "0.0"
StopTime "inf"
AbsTol "auto"
FixedStep "auto"
InitialStep "auto"
MaxNumMinSteps "-1"
MaxOrder 5
ZcThreshold "auto"
ConsecutiveZCsStepRelTol "10*128*eps"
MaxConsecutiveZCs "1000"
ExtrapolationOrder 4
NumberNewtonIterations 1
MaxStep "auto"
MinStep "auto"
MaxConsecutiveMinStep "1"
RelTol "1e-3"
SolverMode "Auto"
EnableConcurrentExecution off
ConcurrentTasks off
Solver "FixedStepDiscrete"
SolverName "FixedStepDiscrete"
SolverJacobianMethodControl "auto"
ShapePreserveControl "DisableAll"
ZeroCrossControl "UseLocalSettings"
ZeroCrossAlgorithm "Nonadaptive"
AlgebraicLoopSolver "TrustRegion"
SolverResetMethod "Fast"
PositivePriorityOrder off
AutoInsertRateTranBlk off
SampleTimeConstraint "Unconstrained"
InsertRTBMode "Whenever possible"
}
Simulink.DataIOCC {
$ObjectID 3
Version "1.12.0"
Decimation "1"
ExternalInput "[t, u]"
FinalStateName "xFinal"
InitialState "xInitial"
LimitDataPoints on
MaxDataPoints "1000"
LoadExternalInput off
LoadInitialState off
SaveFinalState off
SaveCompleteFinalSimState off
SaveFormat "Array"
SignalLoggingSaveFormat "ModelDataLogs"
SaveOutput off
SaveState off
SignalLogging off
DSMLogging on
InspectSignalLogs off
SaveTime off
ReturnWorkspaceOutputs off
StateSaveName "xout"
TimeSaveName "tout"
OutputSaveName "yout"
SignalLoggingName "logsout"
DSMLoggingName "dsmout"
OutputOption "RefineOutputTimes"
OutputTimes "[]"
ReturnWorkspaceOutputsName "out"
Refine "1"
}
Simulink.OptimizationCC {
$ObjectID 4
Version "1.12.0"
Array {
Type "Cell"
Dimension 4
Cell "ZeroExternalMemoryAtStartup"
Cell "ZeroInternalMemoryAtStartup"
Cell "NoFixptDivByZeroProtection"
Cell "OptimizeModelRefInitCode"
PropName "DisabledProps"
}
BlockReduction on
BooleanDataType on
ConditionallyExecuteInputs on
InlineParams off
UseIntDivNetSlope off
UseFloatMulNetSlope off
UseSpecifiedMinMax off
InlineInvariantSignals on
OptimizeBlockIOStorage on
BufferReuse on
EnhancedBackFolding off
StrengthReduction off
ExpressionFolding on
BooleansAsBitfields off
BitfieldContainerType "uint_T"
EnableMemcpy on
MemcpyThreshold 64
PassReuseOutputArgsAs "Structure reference"
ExpressionDepthLimit 2147483647
FoldNonRolledExpr on
LocalBlockOutputs on
RollThreshold 5
SystemCodeInlineAuto off
StateBitsets off
DataBitsets off
UseTempVars off
ZeroExternalMemoryAtStartup on
ZeroInternalMemoryAtStartup on
InitFltsAndDblsToZero on
NoFixptDivByZeroProtection off
EfficientFloat2IntCast off
EfficientMapNaN2IntZero on
OptimizeModelRefInitCode off
LifeSpan "inf"
MaxStackSize "Inherit from target"
BufferReusableBoundary off
SimCompilerOptimization "Off"
AccelVerboseBuild off
ParallelExecutionInRapidAccelerator on
}
Simulink.DebuggingCC {
$ObjectID 5
Version "1.12.0"
RTPrefix "error"
ConsistencyChecking "none"
ArrayBoundsChecking "none"
SignalInfNanChecking "none"
SignalRangeChecking "none"
ReadBeforeWriteMsg "UseLocalSettings"
WriteAfterWriteMsg "UseLocalSettings"
WriteAfterReadMsg "UseLocalSettings"
AlgebraicLoopMsg "warning"
ArtificialAlgebraicLoopMsg "warning"
SaveWithDisabledLinksMsg "warning"
SaveWithParameterizedLinksMsg "warning"
CheckSSInitialOutputMsg on
UnderspecifiedInitializationDetection "Classic"
MergeDetectMultiDrivingBlocksExec "none"
CheckExecutionContextPreStartOutputMsg off
CheckExecutionContextRuntimeOutputMsg off
SignalResolutionControl "TryResolveAllWithWarning"
BlockPriorityViolationMsg "warning"
MinStepSizeMsg "warning"
TimeAdjustmentMsg "none"
MaxConsecutiveZCsMsg "error"
MaskedZcDiagnostic "warning"
IgnoredZcDiagnostic "warning"
SolverPrmCheckMsg "warning"
InheritedTsInSrcMsg "warning"
DiscreteInheritContinuousMsg "warning"
MultiTaskDSMMsg "warning"
MultiTaskCondExecSysMsg "none"
MultiTaskRateTransMsg "error"
SingleTaskRateTransMsg "none"
TasksWithSamePriorityMsg "warning"
SigSpecEnsureSampleTimeMsg "warning"
CheckMatrixSingularityMsg "none"
IntegerOverflowMsg "warning"
Int32ToFloatConvMsg "warning"
ParameterDowncastMsg "error"
ParameterOverflowMsg "error"
ParameterUnderflowMsg "none"
ParameterPrecisionLossMsg "warning"
ParameterTunabilityLossMsg "warning"
FixptConstUnderflowMsg "none"
FixptConstOverflowMsg "none"
FixptConstPrecisionLossMsg "none"
UnderSpecifiedDataTypeMsg "none"
UnnecessaryDatatypeConvMsg "none"
VectorMatrixConversionMsg "none"
InvalidFcnCallConnMsg "error"
FcnCallInpInsideContextMsg "Use local settings"
SignalLabelMismatchMsg "none"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
SFcnCompatibilityMsg "none"
FrameProcessingCompatibilityMsg "warning"
UniqueDataStoreMsg "none"
BusObjectLabelMismatch "none"
RootOutportRequireBusObject "warning"
AssertControl "UseLocalSettings"
EnableOverflowDetection off
ModelReferenceIOMsg "none"
ModelReferenceMultiInstanceNormalModeStructChecksumCheck "error"
ModelReferenceVersionMismatchMessage "none"
ModelReferenceIOMismatchMessage "none"
ModelReferenceCSMismatchMessage "none"
UnknownTsInhSupMsg "warning"
ModelReferenceDataLoggingMessage "warning"
In total, there are nearly 1800 That's ok .. No more .
General treatment :
Specific frames are extracted and analyzed by logic analyzer :
In this paper, the mdl The file is a compressed package loaded in the supporting environment –> Portal
边栏推荐
- Return to Chengdu to start my software testing career
- Sword finger offer 26: substructure of tree
- Mba-day18 elimination method
- 微信小程序影视评论交流平台系统毕业设计毕设(5)任务书
- Chapter 19 signal lamp image simulation control technology based on speech recognition
- Chrome browser cancel input box to record form input history
- GAMES-101-个人总结归纳-Shading
- Common shortcut keys in Excel summary of shortcut keys in Excel
- DAST black box vulnerability scanner part 4: scanning performance
- Mysql database easy learning 09 - commonly used by data analysts: multi table query of data query language DQL
猜你喜欢

LabVIEW开发发电厂合规性测试系统

atguigu----过滤器

微信小程序影视评论交流平台系统毕业设计毕设(5)任务书

DAST black box vulnerability scanner part 4: scanning performance

excel常用快捷鍵excel快捷鍵匯總

Shardingsphere-proxy-5.0.0 implementation of distributed hash modulo fragmentation (4)

微信小程序影視評論交流平臺系統畢業設計畢設(4)開題報告

MATLAB 学习笔记(5)MATLAB 数据的导入和导出

Lianfa science and technology -- Introduction to Lianfa science and technology ++ attached

Word document to markdown document?
随机推荐
What is your understanding of interface testing?
word文档转markdown文档?
Shell script syntax overview
AHA C language Chapter 5 the good play is later (Lecture 24-25)
Mysql数据库轻松学06—数据分析师常用:数据查询语言DQL之单表查询
优秀的 Verilog/FPGA开源项目介绍(二十七)- 小型CPU
Android使用SQL数据库进行登录功能时报错Attempt to invoke virtual method ' ' on a null object reference
GAMES-101-个人总结归纳-Transformation
Mysql database easy to learn 07 - select statement writing order and execution order
[Chapter 14 image compression and reconstruction based on principal component analysis -- matlab deep learning practical case]
excel常用快捷键excel快捷键汇总
Mathematical knowledge in the first round of noip preliminary round csp-j1 csp-s1 Xinjiang Olympic Games (II)
Mba-day24 best value problem
LabVIEW开发发电厂合规性测试系统
Atguigu---- list rendering
微信小程序影视评论交流平台系统毕业设计毕设(5)任务书
谁会用pyspark将筛选过后本地数据上传到spark sql
1277_FreeRTOS中vTaskDelay的实现分析
【虚幻引擎UE】打包报错出现!FindPin错误的解决办法
2021 csp-j1 csp-s1 first round preliminary round related questions and videos