Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Computer vision system
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Issopui

Posts: 18
Registered: 6/19/10
Computer vision system
Posted: Jul 1, 2013 1:44 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello Guys,

I'm trying to implement a region filtering in my model and I have seen this S-function used for the car tracking model I don't really understand how it work. Please could anyone help me and explain how it work and how I can implement the same function using simulink blocksets?

function y = fcn(u, line_row)
%#codegen
dim=size(u);
repVector = zeros(dim);
repVector=repmat([0 line_row 0 0],dim(1),1);

y = int32(u+int32(repVector));


Many thanks



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.