Algorithm to combine multiple images into one -


i'm looking algorithm merge multiple images 1 image. type of solution i'm looking not skew aspect ratios , cause minimal overlap, lay images frame of given size.

example, have 6 images of carpentry tools , want algorithm lay them out in 1 frame 300px 300px. images can scaled if aspect ratios maintained, , want images visible minimal overlap. no rotations either.

the problem solving np hard bin packing can use heuristic algorithms achieve in reasonable time. suggest genetic algorithms case using fitness function proportional empty space , inversely proportional square error in sizes of images.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -