/dports/science/py-nilearn/nilearn-0.8.1/examples/ |
H A D | plot_single_subject_single_run.py | 66 from nilearn.image import concat_imgs, mean_img 68 mean_img = mean_img(fmri_img) variable 207 plot_stat_map(z_map, bg_img=mean_img, threshold=3.0, 224 plot_stat_map(z_map, bg_img=mean_img, threshold=threshold, 239 plot_stat_map(z_map, bg_img=mean_img, threshold=threshold, 252 plot_stat_map(z_map, bg_img=mean_img, threshold=threshold, 266 plot_stat_map(clean_map, bg_img=mean_img, threshold=threshold, 321 plot_stat_map(clean_map, bg_img=mean_img, threshold=threshold,
|
/dports/science/py-nilearn/nilearn-0.8.1/examples/06_manipulating_images/ |
H A D | plot_roi_extraction.py | 101 mean_img = image.mean_img(fmri_img) variable 103 plot_epi(mean_img, title='Smoothed mean EPI', cut_coords=cut_coords) 165 plot_stat_map(log_p_values_img, mean_img, 191 plot_stat_map(log_p_values_img, mean_img, 233 plot_roi(bin_p_values_and_vt_img, mean_img, cut_coords=cut_coords, 258 plot_roi(dil_bin_p_values_and_vt_img, mean_img, 282 plot_roi(first_roi_img, mean_img, title='Connected components: first ROI') 287 plot_roi(second_roi_img, mean_img, title='Connected components: second ROI')
|
H A D | plot_nifti_simple.py | 35 from nilearn.image.image import mean_img 38 mean_func_img = mean_img(func_filename) 70 from nilearn.image.image import mean_img 73 mean_func_img = mean_img(func_filename)
|
H A D | plot_mask_computation.py | 43 miyawaki_mean_img = image.mean_img(miyawaki_filename) 76 mean_img = image.mean_img(epi_img) variable 77 plot_epi(mean_img, title='Mean EPI image')
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/brec/pro/processes/ |
H A D | brec_construct_op_models_processes.cxx | 79 vil_image_view<float> mean_img(inp_mean); in brec_construct_bg_op_models_process() local 83 vil_image_view<float> lambda_img(mean_img.ni(), mean_img.nj()); in brec_construct_bg_op_models_process() 84 vil_image_view<float> k_img(mean_img.ni(), mean_img.nj()); in brec_construct_bg_op_models_process() 93 if (!p->construct_bg_response_model(mean_img, std_dev_img, lambda_img, k_img)) { in brec_construct_bg_op_models_process() 115 vil_image_view<float> mu_img(mean_img.ni(), mean_img.nj()); in brec_construct_bg_op_models_process() 116 vil_image_view<float> sigma_img(mean_img.ni(), mean_img.nj()); in brec_construct_bg_op_models_process() 125 if (!p->construct_bg_response_model_gauss(mean_img, std_dev_img, mu_img, sigma_img)) { in brec_construct_bg_op_models_process()
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/io/ |
H A D | iter_normalize.h | 59 if (param_.mean_img.length() != 0) { in Init() 61 dmlc::Stream::Create(param_.mean_img.c_str(), "r", true)); in Init() 67 LOG(INFO) << "Load mean image from " << param_.mean_img; in Init() 215 LOG(INFO) << "Cannot find " << param_.mean_img in CreateMeanImg() 241 LOG(INFO) << "Save mean image to " << param_.mean_img << ".."; in CreateMeanImg() 264 if (param_.mean_img.length() != 0) { in Init() 266 dmlc::Stream::Create(param_.mean_img.c_str(), "r", true)); in Init() 272 LOG(INFO) << "Load mean image from " << param_.mean_img; in Init() 356 } else if (!meanfile_ready_ || param_.mean_img.length() == 0) { in SetOutImg() 382 LOG(INFO) << "Cannot find " << param_.mean_img in CreateMeanImg() [all …]
|
H A D | image_iter_common.h | 224 std::string mean_img; member 260 DMLC_DECLARE_FIELD(mean_img).set_default("") in DMLC_DECLARE_PARAMETER() 296 std::string mean_img; member 321 DMLC_DECLARE_FIELD(mean_img).set_default("") in DMLC_DECLARE_PARAMETER()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/io/ |
H A D | iter_normalize.h | 59 if (param_.mean_img.length() != 0) { in Init() 61 dmlc::Stream::Create(param_.mean_img.c_str(), "r", true)); in Init() 67 LOG(INFO) << "Load mean image from " << param_.mean_img; in Init() 215 LOG(INFO) << "Cannot find " << param_.mean_img in CreateMeanImg() 241 LOG(INFO) << "Save mean image to " << param_.mean_img << ".."; in CreateMeanImg() 264 if (param_.mean_img.length() != 0) { in Init() 266 dmlc::Stream::Create(param_.mean_img.c_str(), "r", true)); in Init() 272 LOG(INFO) << "Load mean image from " << param_.mean_img; in Init() 356 } else if (!meanfile_ready_ || param_.mean_img.length() == 0) { in SetOutImg() 382 LOG(INFO) << "Cannot find " << param_.mean_img in CreateMeanImg() [all …]
|
H A D | image_iter_common.h | 224 std::string mean_img; member 260 DMLC_DECLARE_FIELD(mean_img).set_default("") in DMLC_DECLARE_PARAMETER() 296 std::string mean_img; member 321 DMLC_DECLARE_FIELD(mean_img).set_default("") in DMLC_DECLARE_PARAMETER()
|
/dports/science/py-nilearn/nilearn-0.8.1/examples/04_glm_first_level/ |
H A D | plot_predictions_residuals.py | 29 mean_img = image.mean_img(fmri_img) variable 30 mask = masking.compute_epi_mask(mean_img) 65 plotting.plot_stat_map(z_map, bg_img=mean_img, threshold=3.1) 105 axes=axs1[1, i], display_mode='z', colorbar=False, bg_img=mean_img) 146 plotting.plot_stat_map(fmri_glm.r_square[0], bg_img=mean_img, threshold=.1, 174 plotting.plot_stat_map(z_map_ftest, bg_img=mean_img, threshold=3.1,
|
H A D | plot_fixed_effects.py | 36 from nilearn.image import mean_img 37 mean_img_ = mean_img(fmri_img[0])
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/cpp-package/example/feature_extract/ |
H A D | feature_extract.cpp | 44 NDArray mean_img; member in FeatureExtractor 82 mean_img = NDArray(Shape(1, 3, 224, 224), global_ctx, false); in GetMeanImg() 83 mean_img.SyncCopyFromCPU( in GetMeanImg() 99 data.Slice(0, 1) -= mean_img; in Extract() 100 data.Slice(1, 2) -= mean_img; in Extract()
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/cpp-package/example/feature_extract/ |
H A D | feature_extract.cpp | 44 NDArray mean_img; member in FeatureExtractor 82 mean_img = NDArray(Shape(1, 3, 224, 224), global_ctx, false); in GetMeanImg() 83 mean_img.SyncCopyFromCPU( in GetMeanImg() 99 data.Slice(0, 1) -= mean_img; in Extract() 100 data.Slice(1, 2) -= mean_img; in Extract()
|
/dports/science/py-nilearn/nilearn-0.8.1/examples/07_advanced/ |
H A D | plot_ica_resting_state.py | 74 mean_img = image.mean_img(func_filename) variable 76 plot_stat_map(image.index_img(component_img, 0), mean_img) 78 plot_stat_map(image.index_img(component_img, 1), mean_img)
|
/dports/science/py-nilearn/nilearn-0.8.1/examples/01_plotting/ |
H A D | plot_haxby_masks.py | 21 mean_img = image.mean_img(func_filename) variable 28 display = plot_anat(mean_img, display_mode='z', cut_coords=[z_slice],
|
H A D | plot_visualization.py | 25 from nilearn.image.image import mean_img 29 mean_haxby = mean_img(func_filename)
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/brec/tests/ |
H A D | test_brec_hierarchy_detector_w_models.cxx | 52 vil_image_resource_sptr mean_img = vil_load_image_resource(mean_file.c_str()); in test_brec_hierarchy_detector_w_models() local 53 TEST("test load img", !mean_img, false); in test_brec_hierarchy_detector_w_models() 54 if (!mean_img) in test_brec_hierarchy_detector_w_models() 56 if (mean_img->ni() != ni || mean_img->nj() != nj) { in test_brec_hierarchy_detector_w_models() 104 vil_image_view<float> inp_mean_img(mean_img->get_view()); in test_brec_hierarchy_detector_w_models()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/brec/ |
H A D | brec_part_gaussian.cxx | 332 bool brec_part_gaussian::construct_bg_response_model(vil_image_view<float>& mean_img, in construct_bg_response_model() argument 337 unsigned ni = mean_img.ni(); in construct_bg_response_model() 338 unsigned nj = mean_img.nj(); in construct_bg_response_model() 341 …vil_image_view<float> mean_res = brip_vil_float_ops::extrema(mean_img, lambda0_, lambda1_, theta_,… in construct_bg_response_model() 377 unsigned ni = mean_img.ni(); in construct_bg_response_model_gauss() 378 unsigned nj = mean_img.nj(); in construct_bg_response_model_gauss() 381 …vil_image_view<float> mean_res = brip_vil_float_ops::extrema(mean_img, lambda0_, lambda1_, theta_,… in construct_bg_response_model_gauss() 753 vil_image_view<float>& mean_img, in update_foreground_posterior() argument 769 vil_image_view<float> mu_img(mean_img.ni(), mean_img.nj()); in update_foreground_posterior() 770 vil_image_view<float> sigma_img(mean_img.ni(), mean_img.nj()); in update_foreground_posterior() [all …]
|
H A D | brec_part_gaussian.h | 65 …bool construct_bg_response_model(vil_image_view<float>& mean_img, vil_image_view<float>& std_dev_i… 66 …bool construct_bg_response_model_gauss(vil_image_view<float>& mean_img, vil_image_view<float>& std… 87 vil_image_view<float>& mean_img,
|
/dports/science/py-nilearn/nilearn-0.8.1/nilearn/image/tests/ |
H A D | test_image.py | 300 mean_img = image.mean_img(imgs) 301 assert_array_equal(mean_img.affine, affine) 302 assert_array_equal(get_data(mean_img), truth) 306 mean_img = image.mean_img(imgs) 307 assert_array_equal(mean_img.affine, affine) 309 assert_array_equal(get_data(mean_img), truth) 315 assert_allclose(get_data(mean_img), truth, 326 mean_img = nibabel.Nifti1Image(data.mean(axis=-1), affine=affine) 329 mean_img_with_resampling = image.mean_img(img, 331 resampled_mean_image = resampling.resample_img(mean_img,
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/example/image-classification/ |
H A D | score.py | 25 def score(model, data_val, metrics, gpus, batch_size, rgb_mean=None, mean_img=None, argument 29 if mean_img is not None: 30 mean_args = {'mean_img':mean_img}
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/example/image-classification/ |
H A D | score.py | 25 def score(model, data_val, metrics, gpus, batch_size, rgb_mean=None, mean_img=None, argument 29 if mean_img is not None: 30 mean_args = {'mean_img':mean_img}
|
/dports/science/py-nilearn/nilearn-0.8.1/examples/02_decoding/ |
H A D | plot_haxby_frem.py | 45 from nilearn.image import mean_img 46 background_img = mean_img(func_filenames)
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/tests/python/unittest/ |
H A D | test_io.py | 75 mean_img="data/cifar/cifar10_mean.bin", 101 mean_img="data/cifar/cifar10_mean.bin", 112 mean_img="data/cifar/cifar10_mean.bin", 505 mean_img="data/cifar/cifar10_mean.bin", 522 mean_img="data/cifar/cifar10_mean.bin", 543 mean_img="data/cifar/cifar10_mean.bin", 563 mean_img="data/cifar/cifar10_mean.bin", 571 mean_img="data/cifar/cifar10_mean.bin",
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/tests/python/unittest/ |
H A D | test_io.py | 75 mean_img="data/cifar/cifar10_mean.bin", 101 mean_img="data/cifar/cifar10_mean.bin", 112 mean_img="data/cifar/cifar10_mean.bin", 505 mean_img="data/cifar/cifar10_mean.bin", 522 mean_img="data/cifar/cifar10_mean.bin", 543 mean_img="data/cifar/cifar10_mean.bin", 563 mean_img="data/cifar/cifar10_mean.bin", 571 mean_img="data/cifar/cifar10_mean.bin",
|