repowiseandrewekhalel/sewar

Architecture of andrewekhalel/sewar

andrewekhalel/sewar is 14 source files holding 148 symbols across 3 modules, written mainly in Python, Makefile. The largest module is sewar, with 9 files.

How sewar fits together

Install sewar with pip, then either import a metric function from sewar.full_ref and pass it two numpy arrays in H x W x C format, or run the sewar command with a metric name and two image paths. The sewar/full_ref.py file holds the metric implementations that both routes use. The command prints the chosen metric's name and its score.

Largest modules

  • sewar: 9 files and 981 lines of code
  • docs: 2 files and 59 lines of code
  • root: 2 files and 116 lines of code
  • .github: 1 file and 20 lines of code

Languages

By file count: Python 11 files, Makefile 1 file.

More on sewar: summary and FAQ, codebase overview, code health.