carpentries-incubator / carpentries-incubator/lesson-parallel-python

Final exercise: Parallel photo mosaics

Open
#70 3 comments 0 reactions 0 assignees View on GitHub
new content
Dominant language
Dockerfile
Stars
11
Forks
15
Avg merge
3m
Merged PRs (30d)
3

Description

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.

---

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.