New answers tagged

3 votes

Slicing an Image into Tiles According to Content

Under the following assumptions (Written for the vertical lines, same for the horizontal): The background is uniform. There at least a gap of 2 background pixels between the closest objects on ...
user avatar
  • 39.3k
1 vote

Slicing an Image into Tiles According to Content

Thanks to user Ash for giving me a key insight: Measuring the HSL (hue, saturation, and lightness) of the pixels can help detect where the gaps are. If I take one horizontal row of pixels that goes ...
user avatar
  • 151

Top 50 recent answers are included