Trautner way of aeras

hi everyone.
i m playing around with trautner , and discovering how it works.

I have a real interrogation on how trautner detects different aeras. i was thinking it was taking unique range of white ( 0 to 255) as one aera and everything that happens in this type of pixel should be considered in its aera.
but making a mask i discovered that interspace were also taken as a specific aera, like in the snapshot ( + mask) here : where on the patch you have the spread range of the 6 aeras, and their instead having a 7spread ( black and 6 “colors”) i have an 11’s spread.

i was wondering if there was any way to approach trautner or design aera, if for example i want to use the 256 posibilities of aeras ?
i mean is my mask ok ? is it normal to have the interspace between the aeras counted as an aera ?

Clipboard01.jpg (38.0 kB)

the mask made in greyscale…

MASK.bmp (308.3 kB)

but making a mask i discovered that interspace were also taken as a specific aera, like in the snapshot ( + mask) here : where on the patch you have the spread range of the 6 aeras, and their instead having a 7spread ( black and 6 “colors”) i have an 11’s spread.

Trautner identifies all the different greyscale values of your mask and returns a spread. This means that it will include black as an area in the spread. The first index of the spread is black.

Your mask has more than 7 greyscale values. I looked at your mask in photoshop with the eyedropper and noticed you have anti-aliasing in the corner of the first white square.
Even one pixel with a different greyscale value will be picked up by Trautner as seperate area. Be careful to make your masks without anti-aliasing. I use Photoshop to check my mask when I have similar problems.

good luck

hi qwicks and thanks ! i was doing my mask under gimp, but i didn t notice i was antialaiszed ! thanks for your time I will look closer !

hi karistouf: i just uploaded a module to my user , to make simple masks inside vvvv , regards

thanks mate link fixed ;D

@colorsound - your link is invalid there is a h to much :)

thanks colorsound! it s really great and avoid any troubles !

is there any way to create a fake filetexture from a DX9 texture or a renderer ?

EDIT: OTHER QUESTION
how to get from a 101 spread, to get only the 100 values after the first ? ( get out black informations Spr 0 from the spread)