Author Topic: Chinese 40W Laser  (Read 3707 times)

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 4645
    • View Profile
Re: Chinese 40W Laser
« Reply #30 on: March 18, 2020, 10:31:22 am »
Thanks for the replies.

I found this open source software that offers 11 methods of dithering a colour image to 1bit/pixel.

I was hoping to use the source to recompile it and try to add a 'random' method based on 'blue noise' but the application is written in VB6 which is ancient and not readily available.  ???

« Last Edit: March 18, 2020, 10:44:15 am by EddyCurrent »
Made in England

Offline dave benson

  • CNC Jedi
  • *****
  • Posts: 1419
    • View Profile
Re: Chinese 40W Laser
« Reply #31 on: March 18, 2020, 13:55:23 pm »
Hi Eddy

I downloaded the program and gave it a spin, here are a couple of Images to demonstrate what I was
saying, the first image is a before shot of an image to be processed.
the second is after using a dithering technique.
the third one was using the decimate,blend,dither technique.

I used in my project  some code from a solution called SimplePalletteQuantizer,can't remember
where I got it codeproject or sourceforge.

There are better algorithms out there just look for colour reduction\decimation.

When I first started coding the program, I downloaded and made a big library of images that I would
like to make into carpet\rugs, unwittingly I downloaded one of the hardest Images to do (type wise)
this one

I also found some stuff in images that were only revealed by doing some of the colour reductions
signatures or serial numbers.
Mike pound explains it here, he is well worth watching  if you are going
to write your own libs.
I've watched most of them.