Your idea of a supershape is indeed a good one. I was in fact only checking for greater scale for each images, which I think should take (approx. ) the same time on best case (like, first image is the largest), but your method should be much faster with slow varying shapes.
This is a 1-D search ...
Search found 2 matches
- 2015-03-31T02:52:21-07:00
- Forum: Users
- Topic: finding the best match for an image inside a shape
- Replies: 3
- Views: 1599
- 2015-03-31T01:58:06-07:00
- Forum: Users
- Topic: finding the best match for an image inside a shape
- Replies: 3
- Views: 1599
finding the best match for an image inside a shape
I'm trying to work around a quite complex problem using imagemagick.
I have sets of images that can have any shape on black background. https://dl.dropboxusercontent.com/u/28258945/image-00001.png
My goal is to find how to best resize those images to be enclosed in simple shapes.
Furthermore, I ...
I have sets of images that can have any shape on black background. https://dl.dropboxusercontent.com/u/28258945/image-00001.png
My goal is to find how to best resize those images to be enclosed in simple shapes.
Furthermore, I ...