carpentries-incubator / lesson-parallel-python

Parallel Programming in Python
https://carpentries-incubator.github.io/lesson-parallel-python/
Other
10 stars 15 forks source link

Final exercise: Parallel photo mosaics #70

Open dsmits opened 3 years ago

dsmits commented 3 years ago

How about we somehow get a big collection of images and people have to create a mosaic of a different photo out of this collection of images? Random example.

I haven't really ever looked at how this stuff is implemented but I guess you have to subsample the original image and then find an image from the collection with an average value closest to the pixels of this subsampled image.

I feel like the mandelbrot thing involves a lot of math that can be a bit daunting. Personally I've never even had to work with complex numbers for example. The computations on the images seem a little simpler to me (calculating the mean and maybe a little interpolation).

I don't know exactly what to ask of the participants regarding finding the nearest neighbor.

Here is a nice non-parallel version: https://github.com/Datadolittle/Photo_Mosaic


Thanks for contributing! If this contribution is for instructor training, please send an email to checkout@carpentries.org with a link to this contribution so we can record your progress. You’ve completed your contribution step for instructor checkout just by submitting this contribution.

If this issue is about a specific episode within a lesson, please provide its link or filename.

Please keep in mind that lesson maintainers are volunteers and it may be some time before they can respond to your contribution. Although not all contributions can be incorporated into the lesson materials, we appreciate your time and effort to improve the curriculum. If you have any questions about the lesson maintenance process or would like to volunteer your time as a contribution reviewer, please contact The Carpentries Team at team@carpentries.org.


dsmits commented 3 years ago

@jhidding

jhidding commented 2 years ago

We now need someone to review the exercise and make it doable in two hours.