Algorithm Arrange images on screen

前端 未结 3 407
天涯浪人
天涯浪人 2021-02-04 22:12

I need to start building a image application and my customer wants to arrange the picutes in the screen like google tv does, as well as everpix. I have been looking for it for a

3条回答
  •  醉梦人生
    2021-02-04 22:44

    Like jwpat7 suggested look for "photo collage layout" algorithms. Particularly things like "treemap" and similar (squarified trieemap). I am working on similar algorithm and for some small number of images you just need to solve simple system of linear equations. There is another HP article that is probably more close to what are you looking for.

    Mixed-Initiative Photo Collage Authoring - look at part 4.

    Following image is done with some squarified treemap and ratio optimization. enter image description here

提交回复
热议问题