Re: [SIP-devel] function profil
Advanced image processing toolbox for Scilab on Unix/Linux/Mac OS
Status: Beta
Brought to you by:
ricardofabbri
From: DRUEL J. <joc...@li...> - 2003-02-17 08:06:13
|
Le Mercredi 12 Février 2003 22:49, vous avez écrit : > On Wed, 12 Feb 2003, DRUEL Jocelyn wrote: > > Hello, > > Working with laser and inetrferometric systems, I developped this > > function to see the energetical profil of an image. > > Thanks! But pardon me, what do you mean with "energetical"??? > Isn't it a normal profile (sum of pixel values along row/col)? Yes, it's a normal profile. I called this enegetical because we use it to see how the energy is localised in a laser beam (gaussian beam), but you're right, this term may be confusing. > > > Profil can be visualised vertically, horizontally or both. > > Visualisation can be in the same window or in another one. > > Cool. I tested it and it worked. I'll make some improvements and > then post it here again. Have you seen ImLab?? It's a set of image > processing routines that some folks at Cemagref made. It is our intent > to merge it into SIP. They have a profile routine that has some > other features. We could merge it with your solution into a final > function. I didn't know imlab, so I had a quick look: interesting. It seems they essentially write C functions then interface them with scilab. That's a solution. I personnally prefer functions written in scilab when speed is not crucial: * no compilation: it just works immediately on any platform (linux/windows). * maintaining is easier: I believe that people who use scilab aren't necessarily C programmers (and that's why they use scilab: no declarations, easy and powerful functions available, no compilation). So, more users should be able to read (and adapt for their own needs) your scilab code rather than your C code. Friendly Jocelyn -- Powered by Linux |