Re: [SIP-devel] pb with mogrify -draw
Advanced image processing toolbox for Scilab on Unix/Linux/Mac OS
Status: Beta
Brought to you by:
ricardofabbri
|
From: Ricardo F. <rf...@if...> - 2003-09-05 23:48:57
|
On Fri, 5 Sep 2003, DRUEL Jocelyn wrote:
> Le Jeudi 4 Septembre 2003 14:10, vous avez =E9crit :
> >
> > I don't know exactly how to solve this. Maybe SIP's mogrify should
> > have one parameter for each commandline argument, like this:
> >
> > b=3Dmogrify('arara.jpg','-draw','circle 10,10 15,15');
> >
> > This should be easy to do.
> > If everybody agrees I'll code it as soon as I can.
>
> It's allright for me, but I think users would then expect to write
> b=3Dmogrify('arara.jpg','-median','2');
> and not
> b=3Dmogrify('arara.jpg','-median 2');
>
That's OK, it won't cause an error.
>
> I saw on the todo list that mogrify was not working with color images.
> Can't we simply use the function cmogrify (color mogrify) that I send ?
>
As a temporary solution, yes.
But some functions in mogrify works directly on the color image. For
example: mogrify -draw 'circle 10,10 15,15' -foreground rgb:0:9:5
or: mogrify -segment
cheers,
Ricardo.
--
Ricardo Fabbri, Cybernetic Vision Research Group, USP, Brazil.
www.rfabbri.kit.net
|