Re: REAL TIME IMAGE PROCESSING SOFTWARE



GONZALO INFANTE wrote:
>
>
> Hi,
> I wrote a matlab code based on image processing toolbox and other
> image processing functions that i did by my own.
> The final application has to be a standalone application running on
> real time. The speed of the algorithms running in matlab is no
> enough
> for my purposes, and if i use the compiler the speed will be the
> same.
> Also, the image processing blockset has not all the functions that
> i
> need for my processing.
> Has someone done some realtime image processsing with compiler?
> Can i extend the capabilities of the blockset including my
> algorithms?
> regards
> Gonzalo

Hi Your question is a bit vague, but I will try my best

1) If your Matlab application is just slightly too slow then use
Profiler to determine the bottlenecks in your code. If the process
you are doing there is heavily into mathematics, e.g. exponentiation
etc. try replacing them with pre-computed look up tables, using the
intensity as the index into the table - where this is appropriate.
Look for inefficiencies in the code such as calculating fixed values
inside loops (e.g. 2*pi.If your copy of Matlab is not current, look
for speed savings based upon vectorizing the code - I believe the
latest versions with the JIT code make this less effective these
days.

2) If the above option isn't appropriate then look for often used
code segments that can be implemented as seperate functions, then
write these as MEX components in optimized C.

If the speed of the Matlab application is way too slow, then you may
well be better to abandon Matlab entirely, and programme the complete
thing in optimized C. A good thing here is the Intel performance
library, which contains a superb image processing facility. This is
available from Intel at a very reasonable price, and from memory,
allows you to sell applications based upon it royalty free. This is
special because it knows all about the MMX and SIMD processors buried
in the Pentium, and goes like the clappers. (note that some of the
Matlab functions have been implemented using this library). Full
information regarding this is available from the INTEL website.

Not sure what else I can say - hope that it is helpful.

Dave Robinson
.



Relevant Pages

  • Book Announcement: Embedded Image Processing on the TMS320C6000 DSP
    ... In this book I present the background behind numerous image processing ... While the majority of the Code Composer Studio projects in the book ... and front-end applications built with Visual Studio .NET 2003 or MATLAB ... DSP Chips and Image Processing. ...
    (sci.image.processing)
  • Re: REAL TIME IMAGE PROCESSING SOFTWARE
    ... Dave Robinson wrote: ... > GONZALO INFANTE wrote: ... >> image processing functions that i did by my own. ... The speed of the algorithms running in matlab is no ...
    (comp.soft-sys.matlab)
  • Workstation recommendations
    ... I am working on a project that will be largely implemented in Matlab, ... and has some fairly heavy computing and image processing ... Accept data input from multiple sensors (some digital data streams, ...
    (comp.soft-sys.matlab)
  • Re: Language for embedded image processing
    ... MATLAB is good for easy programming of image processing algorithms. ... Processing Blockset" for Simulink. ...
    (sci.image.processing)
  • 64 bits processors
    ... I have a image processing application written in Matlab and I would ... Matlab or of Windows. ... the Intel or the Amd one. ... Prev by Date: ...
    (comp.soft-sys.matlab)