help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Contributions - Image package function


From: Carnë Draug
Subject: Re: Contributions - Image package function
Date: Fri, 4 May 2012 01:20:14 +0100

On 2 May 2012 18:57, Pablo Rossi <address@hidden> wrote:
> The images’ package has not   the "imchop" from Matlab to crop an
> image. Instead, I have developed a simple routine called "imgchop" trying
> to fulfill this role.

Hi Pablo

we don't have an implementation of matlab's imcrop and your imgchop is
already an approximation so I'd call it imcrop and add it to the image
package with that name. The API you use seems to be the same albeit
without all the options, it's just the GUI that it's just not so
pretty (but I think that's all we can do with the current octave
version). People will work on top of it. What do you think?

One thing that should easily be implemented is to check nargin and if
0, to use the current figure. Another is if 2, and second argument is
a colormap,display the image with it. If fisrt argument ishghandle,
then use that figure. If second argument is a 4 elementss vector, use
those coordinates rather than asking the user to draw a box. These are
just some ideas that shouldn't take more than 30min to implement if
you're interested on giving it some more time.

Plus, do you have more functions on your package that would also cover
some of the missing functions (or maybe something nice, of general
use, that neither octave or matlab already has)?

Finnaly, if you're interested, you could move your package into
octave-forge. This would make it easier for people to see it when
looking at octave (rather than chromatography) and it would allow
users to easily install it with the -forge option.

Carnë


reply via email to

[Prev in Thread] Current Thread [Next in Thread]