[PD] [Gem] measuring pixel values in a region

=?X-UNKNOWN?Q?g=FCnter_geiger?= geiger at xdv.org
Thu Jun 2 11:28:54 CEST 2005



Thanks, works great.
One question: why is the output of pix_mean_color scaled to
0-255 whereas the rest of Gem colors are between 0-1 ?

Guenter

On Wed, 1 Jun 2005, IOhannes m zmoelnig wrote:

> günter geiger wrote:
> > Hi gemers, hi list,
> >
> > I am looking for an object or a combination thereof that can give
> > me the mean pixel value of a specific region of an image.
> >
> > Is there a way to do this in Gem ?
>
> use [pix_crop] for getting the specific region (rectangles only)
> use [pix_mean_color] (CVS) for getting the average color of an image.
> OR use [pix_resize 1 1] (CVS) to resize the image to 1 pixel and get the
> value of that image with [pix_data] or [pix_dump]
>
> OR convert the image to a signal and use [lop~]
>
>
> mfg.a.sdr
> IOhannes
>
> >
> > I would like to implement color tracking in different regions of an
> > image.
> great
> > Guenter
> >
> >
> > _______________________________________________
> > PD-list at iem.at mailing list
> > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>





More information about the Pd-list mailing list