Home
last modified time | relevance | path

Searched refs:h_img (Results 1 – 12 of 12) sorted by relevance

/dports/graphics/opencv/opencv-4.5.3/contrib/modules/cudalegacy/test/
H A DTestDrawRects.cpp89 NCVMatrixAlloc<T> h_img(*this->allocatorCPU.get(), this->width, this->height); in process() local
90 ncvAssertReturn(h_img.isMemAllocated(), false); in process()
101 ncvAssertReturn(this->src.fill(h_img), false); in process()
102 ncvStat = h_img.copySolid(d_img, 0); in process()
145 … ncvStat = ncvDrawRects_32u_host((Ncv32u *)h_img.ptr(), h_img.stride(), this->width, this->height, in process()
150 … ncvStat = ncvDrawRects_8u_host((Ncv8u *)h_img.ptr(), h_img.stride(), this->width, this->height, in process()
165 for (Ncv32u i=0; bLoopVirgin && i < h_img.height(); i++) in process()
167 for (Ncv32u j=0; bLoopVirgin && j < h_img.width(); j++) in process()
169 if (h_img.ptr()[h_img.stride()*i+j] != h_img_d.ptr()[h_img_d.stride()*i+j]) in process()
H A DTestIntegralImageSquared.cpp81 NCVMatrixAlloc<Ncv8u> h_img(*this->allocatorCPU.get(), this->width, this->height); in process() local
82 ncvAssertReturn(h_img.isMemAllocated(), false); in process()
99 ncvAssertReturn(this->src.fill(h_img), false); in process()
101 ncvStat = h_img.copySolid(d_img, 0); in process()
113 ncvStat = nppiStSqrIntegral_8u64u_C1R_host(h_img.ptr(), h_img.pitch(), in process()
124 for (Ncv32u i=0; bLoopVirgin && i < h_img.height() + 1; i++) in process()
126 for (Ncv32u j=0; bLoopVirgin && j < h_img.width() + 1; j++) in process()
H A DTestIntegralImage.cpp87 NCVMatrixAlloc<T_in> h_img(*this->allocatorCPU.get(), this->width, this->height); in process() local
88 ncvAssertReturn(h_img.isMemAllocated(), false); in process()
118 ncvAssertReturn(this->src.fill(h_img), false); in process()
120 ncvStat = h_img.copySolid(d_img, 0); in process()
149 ncvStat = nppiStIntegral_8u32u_C1R_host((Ncv8u *)h_img.ptr(), h_img.pitch(), in process()
156 ncvStat = nppiStIntegral_32f32f_C1R_host((Ncv32f *)h_img.ptr(), h_img.pitch(), in process()
172 for (Ncv32u i=0; bLoopVirgin && i < h_img.height() + 1; i++) in process()
174 for (Ncv32u j=0; bLoopVirgin && j < h_img.width() + 1; j++) in process()
H A DTestTranspose.cpp84 NCVMatrixAlloc<T> h_img(*this->allocatorCPU.get(), this->width, this->height); in process() local
85 ncvAssertReturn(h_img.isMemAllocated(), false); in process()
96 ncvAssertReturn(this->src.fill(h_img), false); in process()
99 ncvStat = h_img.copySolid(d_img, 0); in process()
126 ncvStat = nppiStTranspose_32u_C1R_host((Ncv32u *)h_img.ptr(), h_img.pitch(), in process()
132 ncvStat = nppiStTranspose_64u_C1R_host((Ncv64u *)h_img.ptr(), h_img.pitch(), in process()
H A DTestResize.cpp95 NCVMatrixAlloc<T> h_img(*this->allocatorCPU.get(), this->width, this->height); in process() local
96 ncvAssertReturn(h_img.isMemAllocated(), false); in process()
107 ncvAssertReturn(this->src.fill(h_img), false); in process()
110 ncvStat = h_img.copySolid(d_img, 0); in process()
139 ncvStat = nppiStDecimate_32u_C1R_host((Ncv32u *)h_img.ptr(), h_img.pitch(), in process()
145 ncvStat = nppiStDecimate_64u_C1R_host((Ncv64u *)h_img.ptr(), h_img.pitch(), in process()
H A DTestRectStdDev.cpp100 NCVMatrixAlloc<Ncv8u> h_img(*this->allocatorCPU.get(), this->width, this->height); in process() local
101 ncvAssertReturn(h_img.isMemAllocated(), false); in process()
131 ncvAssertReturn(this->src.fill(h_img), false); in process()
133 ncvStat = h_img.copySolid(d_img, 0); in process()
159 ncvStat = nppiStIntegral_8u32u_C1R_host(h_img.ptr(), h_img.pitch(), in process()
164 ncvStat = nppiStSqrIntegral_8u64u_C1R_host(h_img.ptr(), h_img.pitch(), in process()
H A DTestHaarCascadeApplication.cpp171 NCVMatrixAlloc<Ncv8u> h_img(*this->allocatorCPU.get(), this->width, this->height); in process() local
172 ncvAssertReturn(h_img.isMemAllocated(), false); in process()
214 ncvAssertReturn(this->src.fill(h_img), false); in process()
215 ncvStat = h_img.copySolid(d_img, 0); in process()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/volm/exe/
H A Dvolm_refine_height_map.cxx103 static bool refine_building_by_median(vil_image_view<float> const& h_img,
115 vil_image_view<float> const& h_img,
161 vil_image_view<float> h_img = vil_load(height_img_name().c_str()); in main() local
164 unsigned ni = h_img.ni(); in main()
165 unsigned nj = h_img.nj(); in main()
286 refined_h_img.deep_copy(h_img); in main()
338 if (!refine_building_by_median(h_img, buildings, refined_h_img)) in main()
699 h_values.push_back(h_img(i,j)); in refine_building_by_median_divided()
758 vil_image_view<float> const& h_img, in refine_building() argument
831 << " origin height = " << h_img(i,j) << std::endl; in refine_building()
[all …]
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/volm/pro/processes/
H A Dvolm_layer_extraction_process.cxx97 auto* h_img = dynamic_cast<vil_image_view<float>*>(height_img_sptr.ptr()); in volm_layer_extraction_process() local
99 if (!h_img) { in volm_layer_extraction_process()
110 h_img = dynamic_cast<vil_image_view<float>*>(h_img_float.ptr()); in volm_layer_extraction_process()
126 h_ni = h_img->ni(); h_nj = h_img->nj(); in volm_layer_extraction_process()
164 float height = (*h_img)(uu, vv); in volm_layer_extraction_process()
189 if ((*h_img)(uu,vv) < 255) { in volm_layer_extraction_process()
276 if (!h_img) { in volm_building_layer_extraction_process()
287 h_img = dynamic_cast<vil_image_view<float>*>(h_img_float.ptr()); in volm_building_layer_extraction_process()
321 h_ni = h_img->ni(); h_nj = h_img->nj(); in volm_building_layer_extraction_process()
346 float height = (*h_img)(uu, vv); in volm_building_layer_extraction_process()
[all …]
H A Dvolm_ndsm_generation_process.cxx191 vil_image_view<float> h_img(vit->img_r); in volm_ndsm_generation_process() local
192 (*out_dsm)(i,j) = h_img(uu, vv); in volm_ndsm_generation_process()
H A Dvolm_combine_height_map_process.cxx432 vil_image_view<float> h_img(vit->img_r); in volm_combine_height_map_process3() local
433 (*out_img)(i,j) = h_img(uu, vv); in volm_combine_height_map_process3()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bpro/core/pyscripts/
H A Dvolm_adaptor.py550 def stereo_h_map_fix(h_img, height_fix=0.0): argument
552 batch.set_input_from_db(0, h_img)