0

I am trying to add effect to my images using halftone concept I have already tried white halftones circle on black background (thanks to this answer) but i actually wanted this type of effect by Morgan henty Can someone help me how to get the radius of black circle for that block of pixels & that double masking of 2 images using halftone too

Thanks in advance

new_coder
  • 1
  • 2

1 Answers1

0

For grayscale image circle radius should be proportional to square root of reversed brightness (if we ignore oversize effects)

R = Coeff * CellSize * Sqrt((255 - Brightness)/255)  
//or Sqrt(1.0- Brightness)  for 0..1 range
//Coeff = 1/2 gives 2R=CellSize for dark with fill degree about 0.76
MBo
  • 77,366
  • 5
  • 53
  • 86