inflearn logo

Creating a Photo Mosaic with Excel and Python

This lecture examines the entire process of generating a photo mosaic from an algorithmic perspective. The input image is reduced to a set of representative colors matching the number of tiles through K-means clustering, then the Hungarian algorithm is applied to optimally match each color with a tile in a 1:1 correspondence. Through this, you will understand how image processing and combinatorial optimization algorithms combine to create a single visual output.

(5.0) 2 reviews

27 learners

Level Basic

Course period Unlimited

Python
Python
Excel
Excel
Python
Python
Excel
Excel

What you will gain after the course

  • Understanding Image Data

  • Clustering Technique - KMEANS Algorithm Practice

  • 1:1 Matching Technique - Hungarian Algorithm Practice

After analyzing the input image to understand the overall color distribution, K-means clustering is applied to simplify the image into representative colors matching the number of tiles. Then, the difference between each tile and representative color is defined as a cost, and the Hungarian algorithm is used to optimally match colors and tiles in a 1:1 correspondence. Through this process, a photo mosaic is completed where color information and tiles are harmoniously combined, allowing for an intuitive understanding of the connection between image processing and optimization algorithms.

Recommended for
these people

Who is this course right for?

  • Computer Vision & Image Processing Beginner

  • Developers and students interested in algorithms and optimization

  • Learners interested in data-driven visualization and media art

Need to know before starting?

  • Excel Basics

  • Python Basics

Hello
This is hjk1000

Career Verified

1,891

Learners

71

Reviews

10

Answers

4.7

Rating

13

Courses

Hello

I am an office worker from a non-major background who is diligently studying deep learning.

I would like to share the things I've felt while studying with all of you.

Thank you.

More
Published: 
Last updated: 

Reviews

All

2 reviews

5.0

2 reviews

  • ycjo6072님의 프로필 이미지
    ycjo6072

    Reviews 1

    ∙

    Average Rating 5.0

    5

    67% enrolled

    • duyongchung6943님의 프로필 이미지
      duyongchung6943

      Reviews 1

      ∙

      Average Rating 5.0

      5

      67% enrolled

      • hjk1000
        Instructor

        Thank you

    hjk1000's other courses

    Check out other courses by the instructor!

    Similar courses

    Explore other courses in the same field!

    Limited time deal ends in 7 days

    $4,130.00

    24%

    $4.40