This cheat sheet contains pairs of code snippets explaining how to transform existing code from running in ImageJ1 to ImageJ2.