-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
443 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
''' KODAK dataset ''' | ||
import os | ||
import glob | ||
import IQM_Vis | ||
|
||
def run(): | ||
# file_path = os.path.dirname(os.path.abspath(__file__)) | ||
# dir = os.path.join(file_path, 'KODAK-dataset') | ||
|
||
dir = os.path.join(os.path.expanduser('~'), 'Desktop', 'demo') | ||
image_list = glob.glob(os.path.join(dir, '*')) | ||
# remove and folders | ||
image_list = [f for f in image_list if os.path.isfile(f)] | ||
image_list.sort() | ||
|
||
metrs = IQM_Vis.metrics.get_all_metrics() | ||
metrs.pop('1-MS_SSIM') | ||
|
||
metr_ims = IQM_Vis.metrics.get_all_metric_images() | ||
metr_ims.pop('MSE') | ||
|
||
IQM_Vis.make_UI(transformations=IQM_Vis.transformations.get_all_transforms(), | ||
image_list=image_list, | ||
metrics=metrs, | ||
metric_images=metr_ims, | ||
restrict_options=3 | ||
) | ||
IQM_Vis.make_UI() | ||
|
||
if __name__ == '__main__': | ||
run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-861 Bytes
(95%)
docs/_build/doctrees/notebooks/Tutorial_2-Customisation.doctree
Binary file not shown.
Binary file modified
BIN
-28 Bytes
(100%)
docs/_build/doctrees/notebooks/Tutorial_3-Advanced-Customisations.doctree
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.