Ich ging mit Freunden zum Töpfern und Malen. Da ich nicht besonders künstlerisch begabt bin, habe ich mich, statt zu versuchen, das beste Stück Keramik zu bemalen, für das entschieden am meisten Durchschnitt.

    Ich wählte einen Teller (relativ flach und leicht zu analysieren), sammelte 100 Fotos von handbemalten Tellern und schrieb ein R-Skript, um:

    – Schneiden Sie jedes Plattenfoto zu und richten Sie es aus

    – Verkleinern Sie sie auf 1024 × 1024 Pixel

    – Wenden Sie einen dynamischen Helligkeitsschwellenwert an

    – Klassifizieren Sie jedes Pixel als bemalt oder unbemalt

    Dadurch erhielt ich eine binäre Karte jeder Platte – Farbe vs. keine Farbe.

    Durch die Kombination aller 100 Karten wurde eine Farbwahrscheinlichkeits-Heatmap erstellt: der Durchschnitt aller Designs.

    Ich habe im Töpferatelier einige seltsame Blicke auf mich gezogen, aber ich denke, es hat sich gelohnt.

    Von anothersamwilson

    Share.

    5 Kommentare

    1. anothersamwilson on

      Created using R (Tool), with photos taken from Instagram (Source).

      For anyone interested in more details:

      Surprisingly, this wasn’t a super robust analysis. The main limitation was the binary “paint or no paint” classification; it often missed very light colours (see the tree example in the attached image) and sometimes confused plate shadows or glare for paint or no paint. I tried to counter this by using a dynamic brightness threshold (based on the 10th percentile brightness across each plate), but there’s room for improvement or entirely different approaches.

      Normally I’d avoid using a rainbow colour palette in data visualisations since they’re not optimal for accurate interpretation. But given this needed to be physically recreated with pottery paint, this choice made things much easier (and prettier).

      Finally, the probabilities were scaled from 0 – 1 for plotting convenience. In reality, the likelihood of any pixel being painted ranged from 0.01 – 0.35, meaning no single pixel was painted on every plate, and at most 35 out of 100 plates shared paint in the same spot.

      https://preview.redd.it/zwfrw7h20aog1.png?width=6667&format=png&auto=webp&s=2305b0d472c2f0788ecfb8dfa94cecedbc963baf

    2. This is amazing. Id love to see this as three maps based on the seperated rgb values of the sample plates, then use those as the rgb values of a merged image.

      Same with CMYK

    Leave A Reply