-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCONFIG.py
29 lines (22 loc) · 854 Bytes
/
CONFIG.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
'''Configure algorithm operation via this file'''
import os
# Path to set working directory
PATH = os.path.dirname(os.path.abspath( __file__ )) + "\\"
# Input image name and extension
IMG = "mountain1080"
EXT = ".png"
# Key paths
TEMP = "temp\\" # Folder used to store intermediary results
SRC = "images\\" # Folder containing input and output
# Input/Output images
ENC_IN = SRC + IMG + EXT # Input image
ENC_OUT= SRC + IMG + "_encrypted.png" # Encrypted Image
DEC_OUT= SRC + IMG + "_decrypted.png" # Decrypted Image
# Log files
P1LOG = TEMP + "P1.txt"
P2LOG = TEMP + "P2.txt"
# Flags
DEBUG_TIMER = True # Print timing statistics in console
# Control Parameters
PERM_ROUNDS= 3 # PERM_ROUNDS+1 rounds performed
PERMINTLIM = 32 # Limit when generating control paramteters for relocation vector generation