# Creating and then accessing sets of possible pixel sequences (Markov?)

**URL:** https://discourse.processing.org/t/creating-and-then-accessing-sets-of-possible-pixel-sequences-markov/24209
**Category:** Coding Questions
**Created:** [September 28, 2020, 11:16pm UTC](https://discourse.processing.org/t/creating-and-then-accessing-sets-of-possible-pixel-sequences-markov/24209 "2020-09-28T23:16:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jl33](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@jl33](https://discourse.processing.org/u/jl33)
#### Post date: [September 28, 2020, 11:16pm UTC](https://discourse.processing.org/t/creating-and-then-accessing-sets-of-possible-pixel-sequences-markov/24209/1 "2020-09-28T23:16:13Z")

</div>

Keep thinking different ways to go about this but I don’t quite have the experience to fully wrap my head around.

I want to analyze an img to create (and then access/manipulate) basically a Markov model of the set of colors that can occur after each given color present in the source image. Anyone have any ideas for how to start? Thanks!!

---

<div class="post-metadata">

### Author: ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)
#### Post date: [September 28, 2020, 11:58pm UTC](https://discourse.processing.org/t/creating-and-then-accessing-sets-of-possible-pixel-sequences-markov/24209/2 "2020-09-28T23:58:30Z")

</div>

for the theory

> **[Word2Vec Tutorial — The Skip-Gram Model](https://medium.com/nearist-ai/word2vec-tutorial-the-skip-gram-model-c7926e1fdc09)**
>
> This tutorial covers the skip gram neural network architecture for Word2Vec. My intention with this tutorial was to skip over the usual…

> **[Introduction to Word Embedding and Word2Vec](https://towardsdatascience.com/introduction-to-word-embedding-and-word2vec-652d0c2060fa)**
>
> Word embedding is one of the most popular representation of document vocabulary. It is capable of capturing context of a word in a…

[![](https://img.youtube.com/vi/eGFJ8vugIWA/hqdefault.jpg "Coding Challenge #42: Markov Chains - Part 1") ](https://www.youtube.com/watch?v=eGFJ8vugIWA)
