MCPcopy Create free account

hub / github.com/Visillect/CubePlusPlus / functions

Functions62 in github.com/Visillect/CubePlusPlus

↓ 10 callersFunctionget_path
(ds_dir, img_id, data_type)
code/utils/paths.py:23
↓ 7 callersFunctionjson_load
(fname)
code/utils/cube_io.py:50
↓ 6 callersFunctionget_common_path
(ds_dir, data_type)
code/utils/paths.py:33
↓ 6 callersFunctionrepr_ang_error
Calc reproduction angular errors. See "Finlayson, Graham D., and Roshanak Zakizadeh. Reproduction angular error: An improved performance metri
challenge/calc_metrics.py:37
↓ 3 callersFunctioncr2_convert
(input_path, output_path, raw_png_mode, dcraw_size=False, save_tmp_file=False)
code/utils/cr2_convert.py:70
↓ 3 callersFunctionget_simple_common_path
(simple_ds_dir, role, data_type)
code/build_simple_ds.py:48
↓ 2 callersFunctiondefault_crop
(img)
code/utils/cr2_convert.py:25
↓ 2 callersFunctionget_img_ids
(ds_dir)
code/utils/paths.py:67
↓ 2 callersFunctionget_simple_path
(simple_ds_dir, role, simple_img_id, data_type)
code/build_simple_ds.py:42
↓ 2 callersFunctionjson_save
(fname, data, indent_len=2)
code/utils/cube_io.py:56
↓ 2 callersFunctionmain
(gt, pred, problem, output=None, verbose=True)
challenge/calc_metrics.py:125
↓ 2 callersFunctionnormalize
(v)
challenge/calc_metrics.py:27
↓ 2 callersFunctionnumpy_average_downscale
(image, s)
code/utils/cr2_convert.py:13
↓ 2 callersFunctionparse_csv
(csv_path)
challenge/calc_metrics.py:9
↓ 1 callersFunction_get_rand_score
(img_id)
code/build_simple_ds.py:88
↓ 1 callersFunction_img_id
(path)
code/utils/paths.py:73
↓ 1 callersFunctionangle
(v1, v2)
challenge/calc_metrics.py:31
↓ 1 callersFunctionassert_same_images
(gt_imgs, pred_imgs)
challenge/calc_metrics.py:20
↓ 1 callersFunctionbuild_ds
(ds_dir, overwrite, jobs)
code/build_ds.py:150
↓ 1 callersFunctionbuild_simple_ds
(inp_dir, out_dir, overwrite=False, verbose=False, read_only=False)
code/build_simple_ds.py:124
↓ 1 callersFunctioncalc_angle
calc angle between vectors in degrees
code/utils/calc_gt.py:31
↓ 1 callersFunctioncalc_exif_statistics
Calculates some extra statistics about exifs, not used in the main ds part
code/build_ds.py:121
↓ 1 callersFunctioncalc_gt
calc answers by triangles Args: img(np.array): img with float64 values markup(dict): loaded json with a markup Returns:
code/utils/calc_gt.py:66
↓ 1 callersFunctioncalc_img_id_role
(img_id)
code/build_simple_ds.py:96
↓ 1 callersFunctioncalc_mean_chromaticity
Calculate mean (angle bisector) chromaticity
code/utils/calc_gt.py:38
↓ 1 callersFunctioncalc_metrics
(gt, pred, problem_type)
challenge/calc_metrics.py:79
↓ 1 callersFunctioncalc_single_illuminance
(gt, estimation)
code/utils/calc_gt.py:46
↓ 1 callersFunctioncalc_triangle_color
calc mean color on (downscaled) triangle Args: img(np.array): img with float64 values points(list): list of triangle coords
code/utils/calc_gt.py:9
↓ 1 callersFunctionconvert
(input_path, output_path, ext, scale)
code/build_simple_ds.py:110
↓ 1 callersFunctionextract_exifs
(ds_dir, img_ids)
code/build_ds.py:30
↓ 1 callersFunctionget_preview
(img_png_path, field_name="gt")
challenge/make_preview.py:32
↓ 1 callersFunctionjoin_camera_estimation_info
(ds_dir, img_ids)
code/build_ds.py:97
↓ 1 callersFunctionjoin_gt_info
(ds_dir, img_ids)
code/build_ds.py:39
↓ 1 callersFunctionjoin_meta_info
(ds_dir, img_ids)
code/build_ds.py:57
↓ 1 callersFunctionjpg_load
(fname)
code/utils/cube_io.py:40
↓ 1 callersFunctionjpg_save
(fname, img)
code/utils/cube_io.py:46
↓ 1 callersFunctionlinearize
:param saturation_lvl: 2**14-1 is a common value. Not all images have the same value.
challenge/make_preview.py:24
↓ 1 callersFunctionlinearize
Args: img(np.array) black_lvl(int) saturation_lvl(int): 2**14-1 is a common value. Not all imag
code/utils/cube_io.py:20
↓ 1 callersFunctionmean_repr_ang_error
(gt, pred)
challenge/calc_metrics.py:50
↓ 1 callersFunctionparse_args
()
challenge/calc_metrics.py:116
↓ 1 callersFunctionparse_args
()
challenge/make_preview.py:15
↓ 1 callersFunctionparse_args
()
code/build_simple_ds.py:177
↓ 1 callersFunctionparse_args
()
code/build_ds.py:168
↓ 1 callersFunctionparse_args
()
code/utils/cr2_convert.py:94
↓ 1 callersFunctionparse_args
()
code/utils/calc_gt.py:114
↓ 1 callersFunctionpng16_load
load raw 16-bit (14-bit of information) image
code/utils/cube_io.py:13
↓ 1 callersFunctionpng16_save
save png 16-bit image
code/utils/cube_io.py:34
↓ 1 callersFunctionprepare_dirs
(simple_ds_dir)
code/build_simple_ds.py:53
↓ 1 callersFunctionprepare_generated_dirs
(ds_dir, overwrite=False)
code/utils/paths.py:42
↓ 1 callersFunctionprocess_jpg
Process ([crop + downscale]) jpg view image Args: inp_path(str): path of 8-bit .tiff image out_path(str): path for 8-bit .jpg im
code/utils/cr2_convert.py:32
↓ 1 callersFunctionprocess_png
Process (debayer + [crop]) raw image Args: inp_path(str): path of 16-bit .tiff image out_path(str): path for 16-bit .png image
code/utils/cr2_convert.py:46
↓ 1 callersFunctionremove_and_prepare_dirs
(out_dir, overwrite, read_only, verbose)
code/build_simple_ds.py:64
↓ 1 callersFunctionsave_gt
(img_path, markup_path, output_path)
code/utils/calc_gt.py:107
↓ 1 callersFunctionsave_json
(json_path, data)
challenge/calc_metrics.py:14
↓ 1 callersFunctionsave_preview
(img_path, img)
challenge/make_preview.py:48
↓ 1 callersFunctiontiff16_load
load raw 16-bit (14-bit of information) image (tiff from dcraw)
code/utils/cube_io.py:6
↓ 1 callersFunctiontwo_illuminant_error
mean squared simmetrized reproduction angular error
challenge/calc_metrics.py:62
↓ 1 callersFunctionworst_mean_repr_ang_error
(gt, pred, skip_share=0.75)
challenge/calc_metrics.py:55
Method__init__
(self, ds_dir)
code/build_ds.py:18
Functioncsv_path
(ds_dir)
code/build_simple_ds.py:106
Methodpath
(data_type)
code/build_ds.py:22
Methodprocess
(self, img_id)
code/build_ds.py:21