Greyscale to White & Transparent

crhenry's icon

Hi Jitter folks,

I 'm looking for a way to convert 2200 x 3300 greyscale images into white-only dots on a black background. The black background will then be turned transparent. The end result should be a very fine distribution of white dots on a transparent ground.

I want to be able to merge this single layer with a black background to see the original image. I also want to merge many similar white on transparent layers ... with this I will be able to keep the intensity of each layer constant while introducing other layers of white dots.

I will appreciate any help on this I've been studying jit.chromakey, jit.roy, jit.op, jit.scalebias ... The trouble with mixing the grayscale images is that the white of one cell is usually diluted with its corresponding black/grey in the mix. The white spots of image 1 are diluted when mixing and/or merging with a darker area in image 2.

Making a very fine distribution of white dots on a black ground which has the same resolution as the grayscale image is the high hurdle as I see it.

Any thoughts?

Cheers, Chuck Henry

Rob Ramirez's icon

argb to luma to binary back to argb.

nb, doing this with shaders will be much more efficient.

Max Patch
Copy patch and select New From Clipboard in Max.

crhenry's icon

robtherich wrote on Wed, 17 June 2009 22:07argb to luma to binary back to argb.

nb, doing this with shaders will be much more efficient.

Thanks much for the patch ... it does most of what I want ... except the resolution is too coarse. I'm not too skilled with shaders so that seems like another cliff to climb. If there are any shader scholars near, I could use some help.

Remember: I 'm looking for a way to convert 3300 x 2200 greyscale or argb images into white-only dots on a black background producing an image with greyscale gradations. The black background will then be turned transparent. The end result should be a very fine distribution of white dots on a transparent ground.
Cheers, Chuck Henry