Jitter Colour Filter

Dec 28, 2006 at 12:17am

Jitter Colour Filter

Hi,

I am making a project for uni which tracks colours and I am trying to filter-out colours which I don’t want to be included.

I have used the jit.op object to remove the background so i am left with the person and a black background. The person has different coloured pieces of felt attatched to his hands and feet and my patch so far is tracking the colours fairly well. However, I need to be able to track more efficiently for this project.

I am using the jit.findbounds object to select the minimum and maximum colour range I want to track, is there a way to boost just the ‘band’ of colour I want to track, making it easier to detect?

Also, I am trying to filter out low amounts of colour that conflict with the colours being tracked. I know it’s possible to make a low-pass filter using jit.op but im a bit confused by the help files and examples in the max/msp folder.

Any help I could get regarding the above would be very much appreciated.

Many thanks

#29402
Dec 28, 2006 at 12:28am

brcosa, or scalebias will increase the ‘contrast’ and boost the
colors, as will operands of jit.op, a lowpass flter would be
something akin to jit.op @op > @val 20, which would not pass any
value less 20 out of 255 (assuming char data)

You could also do a jit.unpack to split each of the color planes into
individual greyscale matrices.

On Dec 27, 2006, at 7:17 PM, Ben Harvey wrote:

>
> Hi,
>
> I am making a project for uni which tracks colours and I am trying
> to filter-out colours which I don’t want to be included.
>
> I have used the jit.op object to remove the background so i am left
> with the person and a black background. The person has different
> coloured pieces of felt attatched to his hands and feet and my
> patch so far is tracking the colours fairly well. However, I need
> to be able to track more efficiently for this project.
>
> I am using the jit.findbounds object to select the minimum and
> maximum colour range I want to track, is there a way to boost just
> the ‘band’ of colour I want to track, making it easier to detect?
>
> Also, I am trying to filter out low amounts of colour that conflict
> with the colours being tracked. I know it’s possible to make a low-
> pass filter using jit.op but im a bit confused by the help files
> and examples in the max/msp folder.
>
> Any help I could get regarding the above would be very much
> appreciated.
>
> Many thanks

v a d e //

http://www.vade.info
abstrakt.vade.info

#91852
Dec 28, 2006 at 1:14am

Did you look at the CV objects. They have a load of object recognition and tracking externals, which work great in the new versions:

http://www.iamas.ac.jp/~jovan02/cv/

#91853
Dec 29, 2006 at 4:04am

Also I might suggest using blue or green fabric and dropping out the red channel and boosting the blue and green in jitter, which would eliminate alot of the person.

that CV.Jit motion tracker is really top notch, I played with it again last night and I highly suggest it.

#91854

You must be logged in to reply to this topic.