Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: inverse fisheye and perspective transform in simulink
Date: Mon, 29 Jun 2009 17:40:19 +0000 (UTC)
Organization: Application Solutions
Lines: 7
Message-ID: <h2aua3$81i$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1246297219 8242 172.30.248.38 (29 Jun 2009 17:40:19 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 29 Jun 2009 17:40:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1885308
Xref: news.mathworks.com comp.soft-sys.matlab:551482


I'm trying to build a Simulink model to perform a combined inverse fisheye and perspective transform. As an extra step, it would be desirable to use real time workshop (plus the other toolboxes) to generate efficient c-code for a dsp! But first things first...

Can I use simulink blocks (I have the 'image and video' and 'signal processing' blockset) to perform an inverse fisheye transform? How can this be done?

I am using the 'Projective transform block' (with mode 'quadrilateral to rectangle' and inverse mapping method 'Exact Solution' - I understand that this equates to a reverse mapping method) to perform a perspective transform. From the help file it seems like the input pixel coordinates are being calculated new each time (??). Is it possible to specify that a look-up table method should be used, afterall isn't this how the image processing toolbox function 'imtransform' works (I've tried using this these functions with embedded Matlab but simulink does not support them)?

Have I got any hope of using Real time workshop and the TIc6 support package to generate fast code for a TIc64xx dsp? (However, the model will still be useful even if fast code cannot be created.)