Commit 44312d91 authored by constantin.hoeing's avatar constantin.hoeing
Browse files

Upload New File

parent 0b660d61
written on 10. May 2019 by
Constantin Höing
Inst. Fuer Numerische und Angewandte Mathematik
Universität Göttingen
DESCRIPTION: Flips a 2x2 image
INPUT: A, an image to be flipped
OUTPUT: B, the flipped image
USAGE: B=Flip(A)
!!!!!!!!!!! Not sure if it does the job correctly !!!!!!!!!!
from Reorder import Reorder
from numpy import arange
def Flip(A):
return Reorder(Reorder(A))
if __name__ == "__main__":
A = arange(1, 19).reshape(2,3,3)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment