1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Image processing matrix image rotation

  1. Jul 30, 2009 #1
    1. The problem statement, all variables and given/known data

    image processing

    I would like to rotate an m*n image matrix by any input degree, simplest cases 90, 180 and 270 on matlab without using any of the built in functions i.e. purely mathematical

    2. Relevant equations

    3. The attempt at a solution

    \left[ \begin{matrix} cos\left(\theta \right) & sin\left(\theta \right) \\ -sin\left(\theta \right) & cos\left(\theta \right) \end{matrix}\right]

    is the rotation matrix , how would i apply this to a general case for a m*n matrix?
  2. jcsd
  3. Jul 30, 2009 #2
    [tex]\left[ \begin{matrix} cos\left(\theta \right) & sin\left(\theta \right) \\ -sin\left(\theta \right) & cos\left(\theta \right) \end{matrix}\right][/tex]
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook