MCPcopy Create free account

hub / github.com/Zplusdragon/LowLevelBanana / functions

Functions378 in github.com/Zplusdragon/LowLevelBanana

↓ 19 callersMethodget
(self, name, suffix='basicsr')
eval/deshadowing/basicsr/utils/registry.py:65
↓ 18 callersMethodget
(self, name, suffix='basicsr')
eval/dehazing/basicsr/utils/registry.py:65
↓ 14 callersFunctionmake_lmdb_from_imgs
Make lmdb from images. Contents of lmdb. The file structure is: example.lmdb ├── data.mdb ├── lock.mdb ├── meta_info.txt The
eval/dehazing/basicsr/utils/lmdb_util.py:9
↓ 14 callersFunctionmake_lmdb_from_imgs
Make lmdb from images. Contents of lmdb. The file structure is: example.lmdb ├── data.mdb ├── lock.mdb ├── meta_info.txt The
eval/deshadowing/basicsr/utils/lmdb_util.py:9
↓ 14 callersFunctionprepare_keys
Prepare image path list and keys for DIV2K dataset. Args: folder_path (str): Folder path. Returns: list[str]: Image path lis
eval/dehazing/basicsr/utils/create_lmdb.py:7
↓ 14 callersFunctionprepare_keys
Prepare image path list and keys for DIV2K dataset. Args: folder_path (str): Folder path. Returns: list[str]: Image path lis
eval/deshadowing/basicsr/utils/create_lmdb.py:7
↓ 11 callersMethodkeys
(self)
eval/dehazing/basicsr/utils/registry.py:80
↓ 8 callersMethodupdate
(self, val, weight=1)
eval/hdr_imaging/hdr_evl.py:42
↓ 7 callersMethodclose
(self)
eval/dehazing/basicsr/utils/lmdb_util.py:205
↓ 7 callersMethodclose
(self)
eval/deshadowing/basicsr/utils/lmdb_util.py:205
↓ 7 callersFunctionconvolve2d_torch
(input, kernel)
eval/infrared_visible_fusion/metric_ivif.py:44
↓ 5 callersFunction_3d_gaussian_calculator
(img, conv3d)
eval/dehazing/basicsr/metrics/psnr_ssim.py:160
↓ 5 callersFunction_3d_gaussian_calculator
(img, conv3d)
eval/deshadowing/basicsr/metrics/psnr_ssim.py:160
↓ 5 callersFunctionreorder_image
Reorder images to 'HWC' order. If the input_order is (h, w), return (h, w, 1); If the input_order is (c, h, w), return (h, w, c); If the
eval/dehazing/basicsr/metrics/metric_util.py:6
↓ 5 callersFunctionreorder_image
Reorder images to 'HWC' order. If the input_order is (h, w), return (h, w, 1); If the input_order is (c, h, w), return (h, w, c); If the
eval/deshadowing/basicsr/metrics/metric_util.py:6
↓ 5 callersFunctionto_y_channel
Change to Y channel of YCbCr. Args: img (ndarray): Images with range [0, 255]. Returns: (ndarray): Images with range [0, 255
eval/dehazing/basicsr/metrics/metric_util.py:34
↓ 5 callersFunctionto_y_channel
Change to Y channel of YCbCr. Args: img (ndarray): Images with range [0, 255]. Returns: (ndarray): Images with range [0, 255
eval/deshadowing/basicsr/metrics/metric_util.py:34
↓ 4 callersFunction_convert_input_type_range
Convert the type and range of the input image. It converts the input image to np.float32 type and range of [0, 1]. It is mainly used for pre-
eval/dehazing/basicsr/utils/matlab_functions.py:305
↓ 4 callersFunction_convert_input_type_range
Convert the type and range of the input image. It converts the input image to np.float32 type and range of [0, 1]. It is mainly used for pre-
eval/deshadowing/basicsr/utils/matlab_functions.py:305
↓ 4 callersFunction_convert_output_type_range
Convert the type and range of the image according to dst_type. It converts the image to desired type and range. If `dst_type` is np.uint8, im
eval/dehazing/basicsr/utils/matlab_functions.py:333
↓ 4 callersFunction_convert_output_type_range
Convert the type and range of the image according to dst_type. It converts the image to desired type and range. If `dst_type` is np.uint8, im
eval/deshadowing/basicsr/utils/matlab_functions.py:333
↓ 3 callersFunctioncal_amee
(channel)
eval/underwater_enhancement/uie_evl_withoutgt.py:82
↓ 3 callersFunctioncal_eme
(channel)
eval/underwater_enhancement/uie_evl_withoutgt.py:117
↓ 3 callersFunctionget_contrast
(img)
eval/multi_focus_fusion/metric_mfif.py:102
↓ 3 callersFunctionget_core_filename
Extract the core ID from a filename by removing extensions and common suffixes.
eval/reflection_removal/eval.py:13
↓ 3 callersFunctionget_dist_info
()
eval/dehazing/basicsr/utils/dist_util.py:61
↓ 3 callersFunctionget_dist_info
()
eval/deshadowing/basicsr/utils/dist_util.py:61
↓ 3 callersMethodkeys
(self)
eval/deshadowing/basicsr/utils/registry.py:80
↓ 3 callersFunctionssim_yang
(img1, img2)
eval/multi_focus_fusion/metric_mfif.py:64
↓ 2 callersFunctionPSNR
(img1, img2)
eval/defocus_deblurring/metrics_single.py:49
↓ 2 callersFunctionPSNR
(img1, img2)
eval/motion_deblurring/metrics_single.py:49
↓ 2 callersFunctionSSIM
(img1, img2)
eval/defocus_deblurring/metrics_single.py:22
↓ 2 callersFunctionSSIM
(img1, img2)
eval/motion_deblurring/metrics_single.py:22
↓ 2 callersMethod_do_register
(self, name, obj, suffix=None)
eval/dehazing/basicsr/utils/registry.py:38
↓ 2 callersMethod_do_register
(self, name, obj, suffix=None)
eval/deshadowing/basicsr/utils/registry.py:38
↓ 2 callersFunction_scandir
(dir_path, suffix, recursive)
eval/dehazing/basicsr/utils/misc.py:74
↓ 2 callersFunction_scandir
(dir_path, suffix, recursive)
eval/deshadowing/basicsr/utils/misc.py:74
↓ 2 callersFunction_totensor
(img, bgr2rgb, float32)
eval/dehazing/basicsr/utils/img_util.py:24
↓ 2 callersFunction_totensor
(img, bgr2rgb, float32)
eval/deshadowing/basicsr/utils/img_util.py:24
↓ 2 callersFunctioncalculate_weights_indices
Calculate weights and indices, used for imresize function. Args: in_length (int): Input length. out_length (int): Output length.
eval/dehazing/basicsr/utils/matlab_functions.py:17
↓ 2 callersFunctioncalculate_weights_indices
Calculate weights and indices, used for imresize function. Args: in_length (int): Input length. out_length (int): Output length.
eval/deshadowing/basicsr/utils/matlab_functions.py:17
↓ 2 callersFunctioncanonical_name
(path: Path)
eval/deshadowing/deshadow.py:16
↓ 2 callersFunctioncorr2_torch
(a, b)
eval/infrared_visible_fusion/metric_ivif.py:101
↓ 2 callersFunctioncubic
cubic function used for calculate_weights_indices.
eval/dehazing/basicsr/utils/matlab_functions.py:6
↓ 2 callersFunctioncubic
cubic function used for calculate_weights_indices.
eval/deshadowing/basicsr/utils/matlab_functions.py:6
↓ 2 callersFunctionestimate_aggd_param
Estimate AGGD (Asymmetric Generalized Gaussian Distribution) paramters. Args: block (ndarray): 2D Image block. Returns: tupl
eval/dehazing/basicsr/metrics/niqe.py:10
↓ 2 callersFunctionestimate_aggd_param
Estimate AGGD (Asymmetric Generalized Gaussian Distribution) paramters. Args: block (ndarray): 2D Image block. Returns: tupl
eval/deshadowing/basicsr/metrics/niqe.py:10
↓ 2 callersFunctionevaluate_dataset
(config)
eval/multi_focus_fusion/metric_mfif.py:114
↓ 2 callersFunctionevaluate_dataset
(infer_dir, gt_dir, device, metric_lpips)
eval/hdr_imaging/hdr_evl.py:116
↓ 2 callersFunctionextract_number_from_filename
Extract the numeric part from a filename. Example: "1P0A0917.png" -> 917
eval/defocus_deblurring/metrics_dpdd.py:15
↓ 2 callersFunctionget_composite_score
(metrics)
eval/hdr_imaging/hdr_evl.py:167
↓ 2 callersFunctionget_entropy
(im)
eval/multi_focus_fusion/metric_mfif.py:52
↓ 2 callersFunctionget_image_stem
提取文件名主干(去掉后缀和_dehazed标识)
eval/low_light_enhance/eval.py:12
↓ 2 callersFunctionget_image_stem
提取文件名主干(去掉后缀和_dehazed标识)
eval/denoising/eval.py:12
↓ 2 callersFunctionget_time_str
()
eval/dehazing/basicsr/utils/misc.py:21
↓ 2 callersFunctionget_time_str
()
eval/deshadowing/basicsr/utils/misc.py:21
↓ 2 callersFunctionimwrite
Write image to file. Args: img (ndarray): Image array to be written. file_path (str): Image file path. params (None or li
eval/dehazing/basicsr/utils/img_util.py:199
↓ 2 callersFunctionimwrite
Write image to file. Args: img (ndarray): Image array to be written. file_path (str): Image file path. params (None or li
eval/deshadowing/basicsr/utils/img_util.py:199
↓ 2 callersFunctioninit_dist
(launcher, backend='nccl', **kwargs)
eval/dehazing/basicsr/utils/dist_util.py:10
↓ 2 callersFunctioninit_dist
(launcher, backend='nccl', **kwargs)
eval/deshadowing/basicsr/utils/dist_util.py:10
↓ 2 callersFunctionis_image_file
(filename)
eval/hdr_imaging/hdr_evl.py:71
↓ 2 callersFunctionload_image
用Pillow读取图片并强制转为3维RGB数组(H, W, 3),增强维度校验
eval/low_light_enhance/eval.py:21
↓ 2 callersFunctionload_image
Load an image and convert to RGB numpy array (uint8).
eval/reflection_removal/eval.py:22
↓ 2 callersFunctionload_image
(path: Path)
eval/deshadowing/deshadow.py:23
↓ 2 callersFunctionload_image
用Pillow读取图片并强制转为3维RGB数组(H, W, 3),增强维度校验
eval/denoising/eval.py:21
↓ 2 callersFunctionload_image_as_tensor
读取图片并转为 (1, C, H, W) 的 Tensor,范围 [0, 1],RGB顺序
eval/super_resolution/PSNR_SSIM_LPIPS_SR.py:40
↓ 2 callersFunctionmkdir_and_rename
mkdirs. If path exists, rename it with timestamp and create a new one. Args: path (str): Folder path.
eval/dehazing/basicsr/utils/misc.py:25
↓ 2 callersFunctionmkdir_and_rename
mkdirs. If path exists, rename it with timestamp and create a new one. Args: path (str): Folder path.
eval/deshadowing/basicsr/utils/misc.py:25
↓ 2 callersFunctionnumpy2tensor
(img)
eval/hdr_imaging/hdr_evl.py:84
↓ 2 callersFunctionordered_yaml
Support OrderedDict for yaml. Returns: yaml Loader and Dumper.
eval/dehazing/basicsr/utils/options.py:14
↓ 2 callersFunctionordered_yaml
Support OrderedDict for yaml. Returns: yaml Loader and Dumper.
eval/deshadowing/basicsr/utils/options.py:14
↓ 2 callersFunctionread_image
(path)
eval/hdr_imaging/hdr_evl.py:76
↓ 2 callersFunctionscandir
Scan a directory to find the interested files. Args: dir_path (str): Path of the directory. suffix (str | tuple(str), optional):
eval/dehazing/basicsr/utils/misc.py:53
↓ 2 callersFunctionscandir
Scan a directory to find the interested files. Args: dir_path (str): Path of the directory. suffix (str | tuple(str), optional):
eval/deshadowing/basicsr/utils/misc.py:53
↓ 2 callersFunctionsizeof_fmt
Get human readable file size. Args: size (int): File size. suffix (str): Suffix. Default: 'B'. Return: str: Formated
eval/dehazing/basicsr/utils/misc.py:167
↓ 2 callersFunctionsizeof_fmt
Get human readable file size. Args: size (int): File size. suffix (str): Suffix. Default: 'B'. Return: str: Formated
eval/deshadowing/basicsr/utils/misc.py:167
↓ 2 callersFunctiontorch_hab
(im1, im2, gray_level=256)
eval/multi_focus_fusion/metric_mfif.py:34
↓ 2 callersFunctionvifp_mscale
(ref, dist)
eval/infrared_visible_fusion/metric_ivif.py:52
↓ 1 callersFunctionAG_function
(img)
eval/multi_focus_fusion/metric_mfif.py:27
↓ 1 callersFunctionAG_function
(img)
eval/infrared_visible_fusion/metric_ivif.py:26
↓ 1 callersFunctionEN_function
(img)
eval/multi_focus_fusion/metric_mfif.py:12
↓ 1 callersFunctionEN_function
(img)
eval/infrared_visible_fusion/metric_ivif.py:11
↓ 1 callersFunctionNMI_function
(A, B, F_img, gray_level=256)
eval/multi_focus_fusion/metric_mfif.py:49
↓ 1 callersFunctionQcb_function
(imgA, imgB, f)
eval/multi_focus_fusion/metric_mfif.py:89
↓ 1 callersFunctionQy_function
(imgA, imgB, f)
eval/multi_focus_fusion/metric_mfif.py:59
↓ 1 callersFunctionSCD_function
(A, B, F)
eval/infrared_visible_fusion/metric_ivif.py:109
↓ 1 callersFunctionSD_function
(img)
eval/infrared_visible_fusion/metric_ivif.py:33
↓ 1 callersFunctionSF_function
(img)
eval/multi_focus_fusion/metric_mfif.py:19
↓ 1 callersFunctionSF_function
(img)
eval/infrared_visible_fusion/metric_ivif.py:18
↓ 1 callersFunctionVIF_function
(A, B, F)
eval/infrared_visible_fusion/metric_ivif.py:98
↓ 1 callersFunction_generate_3d_gaussian_kernel
()
eval/dehazing/basicsr/metrics/psnr_ssim.py:164
↓ 1 callersFunction_generate_3d_gaussian_kernel
()
eval/deshadowing/basicsr/metrics/psnr_ssim.py:164
↓ 1 callersFunction_init_dist_pytorch
(backend, **kwargs)
eval/dehazing/basicsr/utils/dist_util.py:21
↓ 1 callersFunction_init_dist_pytorch
(backend, **kwargs)
eval/deshadowing/basicsr/utils/dist_util.py:21
↓ 1 callersFunction_init_dist_slurm
Initialize slurm distributed training environment. If argument ``port`` is not specified, then the master port will be system environment var
eval/dehazing/basicsr/utils/dist_util.py:28
↓ 1 callersFunction_init_dist_slurm
Initialize slurm distributed training environment. If argument ``port`` is not specified, then the master port will be system environment var
eval/deshadowing/basicsr/utils/dist_util.py:28
↓ 1 callersFunction_postprocess_yml_value
(value)
eval/dehazing/basicsr/utils/options.py:140
↓ 1 callersFunction_postprocess_yml_value
(value)
eval/deshadowing/basicsr/utils/options.py:140
↓ 1 callersFunction_ssim_3d
(img1, img2, max_value)
eval/dehazing/basicsr/metrics/psnr_ssim.py:174
↓ 1 callersFunction_ssim_3d
(img1, img2, max_value)
eval/deshadowing/basicsr/metrics/psnr_ssim.py:174
next →1–100 of 378, ranked by callers