Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement optimal source image selection algorithm #24

Open
GoogleCodeExporter opened this issue Apr 1, 2015 · 3 comments
Open

Implement optimal source image selection algorithm #24

GoogleCodeExporter opened this issue Apr 1, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

I think that the optimal selection algorithm would minimize the sum of the 
errors of each slice.  If that were true, one implementation would be this:

1. If there are no slices left to fill, exit.
2. Fill all slices with their best images, allowing duplicates.
3. Of all the cells that used duplicate images, only keep the one with the 
lowest error, throw the rest out.
4. Go to step 1.

Original issue reported on code.google.com by brianfromoregon on 1 Jun 2010 at 11:30

@GoogleCodeExporter
Copy link
Author

Looks like the Hungarian algorithm is a way to solve this 
(http://en.wikipedia.org/wiki/Hungarian_algorithm)

Original comment by brianfromoregon on 4 Jun 2010 at 2:45

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

I tested out a couple of implementations found here: 
http://timefinder.svn.sourceforge.net/viewvc/timefinder/trunk/timefinder-
algo/src/main/java/de/timefinder/algo/roomassignment/

They don't practically scale well to n=thousands, too slow.  Googling shows a 
few 
papers on monte carlo based approximation algorithms which may be the best bet.

Original comment by brianfromoregon on 5 Jun 2010 at 4:21

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Another way of stating the problem: given a MxN weighted-edge biclique, find a 
minimal assignment (as in the assignment problem).

I hope there's an approximation solution, maybe using monte-carlo simulations.

Original comment by brianfromoregon on 25 Jun 2010 at 2:07

  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant