# Matrix Transformations

-2 | -1 | 0 | 1 | 2 | |
---|---|---|---|---|---|

2 | 1 | 2 | 3 | 4 | 5 |

1 | 6 | 7 | 8 | 9 | 10 |

0 | 11 | 12 | 13 | 14 | 15 |

-1 | 16 | 17 | 18 | 19 | 20 |

-2 | 21 | 22 | 23 | 24 | 25 |

Select Transform

Identity : No Transformation

Transform Matrix:

1 | 0 |

0 | 1 |

for each cell in matrix(x,y)

{ x' = 1 * x + 0 * y

y' = 0 * x + 1 * y

new_matrix(x',y') = matrix(x,y)

}

-2 | -1 | 0 | 1 | 2 | |
---|---|---|---|---|---|

2 | 1 | 2 | 3 | 4 | 5 |

1 | 6 | 7 | 8 | 9 | 10 |

0 | 11 | 12 | 13 | 14 | 15 |

-1 | 16 | 17 | 18 | 19 | 20 |

-2 | 21 | 22 | 23 | 24 | 25 |