forked from shanzha09/COIPS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCOIP_system.py
22 lines (20 loc) · 902 Bytes
/
COIP_system.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- coding: utf-8 -*-
from COIPS import pre_processing, quality_assessment, FAZ_segmentation, segmentation_processing, visualization_and_report
from utils import logger_create
from COIPS.config import vascular_layer, img_size
logger = logger_create()
if __name__ == '__main__':
assert img_size in [3, 6]
assert vascular_layer in [0, 1]
logger.info('CIOPS start...')
logger.info('CIOPS pre_processing start...')
pre_processing.main(logger)
logger.info('CIOPS quality assessment start...')
quality_assessment.main(logger)
logger.info('CIOPS FAZ segmentation pre_processing start...')
segmentation_processing.main(logger)
logger.info('CIOPS FAZ segmentation start...')
FAZ_segmentation.FAZ_segmentation(logger)
logger.info('CIOPS visualization and report start...')
visualization_and_report.main(logger)
logger.info('CIOPS run successfully!!!')