- Python 3
- Android Studio
MainActivity.java
: the main activity code for the demosacitivity_main.xml
: the code for the interface layoutgen_csv.py
: the code for transfering.npy
LUT files to.csv
LUT files
-
Run
gen_csv.py
to create the LUT files for demos -
Create a new project named
SR-LUT
/SPLUT-S
/SPLUT-M
/SPLUT-L
in Android Studio and enter the root folder of the project. -
Create a folder of
./app/src/main/assets
and place the.csv
files, theSet14_HR
folder with Set14 HR images and theSet14_LR
folder with Set14 LR images in./app/src/main/assets
-
Replace
./app/src/main/java/com/example/.../MainActivity.java
by theMainActivity.java
file provided by us. -
Replace
./app/src/main/res/layout/activity_main.xml
by theactivity_main.xml
file provided by us. -
Add the following code in
./app/src/main/AndroidManifest.xml
:<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"> </uses-permission>
-
Set the Sdk version number to no more than 28 in
./app/build.gradle
-
Generate Signed APK and evaluate the demos on mobile phones