Home
last modified time | relevance | path

Searched refs:inimg (Results 1 – 25 of 43) sorted by relevance

12

/dports/misc/vxl/vxl-3.3.2/contrib/brl/bpro/core/vil_pro/processes/
H A Dvil_pixel_value_process.cxx55 vil_image_view<vxl_byte>& inimg = *dynamic_cast<vil_image_view<vxl_byte>* >(img.ptr()); in vil_pixel_value_process() local
56 if (inimg.nplanes() == 3 || inimg.nplanes() == 4) { in vil_pixel_value_process()
57 vil_rgb<vxl_byte> pixel( inimg(i,j,0), inimg(i,j,1), inimg(i,j,2) ); in vil_pixel_value_process()
63 float pixVal = inimg(i,j) / 255.0f; in vil_pixel_value_process()
71 float pixVal = inimg(i,j) / 65535.0f; in vil_pixel_value_process()
79 float pixVal = inimg(i,j); // we want the value as is, why scaling?? in vil_pixel_value_process()
85 vil_image_view<float>& inimg = *dynamic_cast<vil_image_view<float>* >(img.ptr()); in vil_pixel_value_process() local
86 pro.set_output_val<float>(0, inimg(i,j)); in vil_pixel_value_process()
91 vil_image_view<bool>& inimg = *dynamic_cast<vil_image_view<bool>* >(img.ptr()); in vil_pixel_value_process() local
92 float pixVal = inimg(i,j); in vil_pixel_value_process()
[all …]
/dports/misc/vxl/vxl-3.3.2/core/vil1/
H A Dvil1_warp.cxx30 vil1_memory_image_of<unsigned char> inimg(in); in vil1_warp() local
32 vil1_warp_output_driven(inimg, outimg, mapper, i); in vil1_warp()
37 vil1_memory_image_of<vil1_rgb<unsigned char>> inimg(in); in vil1_warp() local
39 vil1_warp_output_driven(inimg, outimg, mapper, i); in vil1_warp()
44 vil1_memory_image_of<double> inimg(in); in vil1_warp() local
46 vil1_warp_output_driven(inimg, outimg, mapper, i); in vil1_warp()
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/hfs/src/cuda/
H A Dgslic_seg_engine_gpu.cu13 __global__ void cvtImgSpaceDevice(const Vector4u* inimg,
16 __global__ void initClusterCentersDevice(const Vector4f* inimg,
20 __global__ void findCenterAssociationDevice(const Vector4f* inimg,
25 __global__ void updateClusterCenterDevice(const Vector4f* inimg,
73 Vector4u* inimg_ptr = inimg->getGpuData(); in cvtImgSpace()
157 rgb2CIELab(inimg[idx], outimg[idx]); in cvtImgSpaceDevice()
160 __global__ void initClusterCentersDevice(const Vector4f* inimg, in initClusterCentersDevice() argument
168 initClusterCentersShared(inimg, map_size, in initClusterCentersDevice()
184 __global__ void updateClusterCenterDevice(const Vector4f* inimg, in updateClusterCenterDevice() argument
227 Float4_(inimg[img_idx].x, inimg[img_idx].y, in updateClusterCenterDevice()
[all …]
/dports/astro/astrometry/astrometry.net-0.85/util/
H A Dwcs-resample.c36 float* inimg; in resample_wcs_files() local
74 inimg = (float*)anqfits_readpix(anqin, infitsext, 0, 0, 0, 0, 0, in resample_wcs_files()
78 if (!inimg) { in resample_wcs_files()
86 if (!isfinite(inimg[i])) { in resample_wcs_files()
87 inimg[i] = 0.0; in resample_wcs_files()
97 if (resample_wcs(inwcs, inimg, inW, inH, in resample_wcs_files()
216 int resample_wcs(const anwcs_t* inwcs, const float* inimg, int inW, int inH, in resample_wcs() argument
295 pix = inimg[y * inW + x]; in resample_wcs()
309 int resample_wcs_rgba(const anwcs_t* inwcs, const unsigned char* inimg, in resample_wcs_rgba() argument
348 outimg[4 * (j * outW + i) + 0] = inimg[4 * (y * inW + x) + 0]; in resample_wcs_rgba()
[all …]
H A Dwcs-resample.h17 int resample_wcs(const anwcs_t* inwcs, const float* inimg, int inW, int inH,
21 int resample_wcs_rgba(const anwcs_t* inwcs, const unsigned char* inimg,
H A Dlanczos.i139 const float *inimg; in LANCZOS_INTERP_FUNC() local
161 inimg = PyArray_DATA(np_inimg); in LANCZOS_INTERP_FUNC()
192 const float* inpix = inimg + clipiy * W; in LANCZOS_INTERP_FUNC()
208 const float* inpix = inimg + iy * W + ix; in LANCZOS_INTERP_FUNC()
H A Dcairoutils.c594 void cairoutils_argb32_to_rgba_2(const unsigned char* inimg, in cairoutils_argb32_to_rgba_2() argument
599 uint32_t ipix = *((uint32_t*)(inimg + 4*i)); in cairoutils_argb32_to_rgba_2()
611 void cairoutils_argb32_to_rgba_flip(const unsigned char* inimg, in cairoutils_argb32_to_rgba_flip() argument
615 const unsigned char* inrow = inimg + 4 * (i*W); in cairoutils_argb32_to_rgba_flip()
636 void cairoutils_rgba_to_argb32_2(const unsigned char* inimg, in cairoutils_rgba_to_argb32_2() argument
642 r = inimg[4*i + 0]; in cairoutils_rgba_to_argb32_2()
643 g = inimg[4*i + 1]; in cairoutils_rgba_to_argb32_2()
644 b = inimg[4*i + 2]; in cairoutils_rgba_to_argb32_2()
645 a = inimg[4*i + 3]; in cairoutils_rgba_to_argb32_2()
651 void cairoutils_rgba_to_argb32_flip(const unsigned char* inimg, in cairoutils_rgba_to_argb32_flip() argument
[all …]
/dports/astro/stellarsolver/stellarsolver-1.8/stellarsolver/astrometry/util/
H A Dwcs-resample.c216 int resample_wcs(const anwcs_t* inwcs, const float* inimg, int inW, int inH, in resample_wcs() argument
295 pix = inimg[y * inW + x]; in resample_wcs()
300 pix = lanczos_resample_unw_sep_f(inx, iny, inimg, inW, inH, &largs); in resample_wcs()
309 int resample_wcs_rgba(const anwcs_t* inwcs, const unsigned char* inimg, in resample_wcs_rgba() argument
348 outimg[4 * (j * outW + i) + 0] = inimg[4 * (y * inW + x) + 0]; in resample_wcs_rgba()
349 outimg[4 * (j * outW + i) + 1] = inimg[4 * (y * inW + x) + 1]; in resample_wcs_rgba()
350 outimg[4 * (j * outW + i) + 2] = inimg[4 * (y * inW + x) + 2]; in resample_wcs_rgba()
351 outimg[4 * (j * outW + i) + 3] = inimg[4 * (y * inW + x) + 3]; in resample_wcs_rgba()
H A Dwcs-resample.h17 int resample_wcs(const anwcs_t* inwcs, const float* inimg, int inW, int inH,
21 int resample_wcs_rgba(const anwcs_t* inwcs, const unsigned char* inimg,
/dports/multimedia/handbrake/ffmpeg-4.4/libavfilter/
H A Dvf_libopencv.c84 void (*end_frame_filter)(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg);
137 static void smooth_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) in smooth_end_frame_filter() argument
141 …cvSmooth(inimg, outimg, smooth->type, smooth->param1, smooth->param2, smooth->param3, smooth->para… in smooth_end_frame_filter()
315 static void dilate_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) in dilate_end_frame_filter() argument
319 cvDilate(inimg, outimg, dilate->kernel, dilate->nb_iterations); in dilate_end_frame_filter()
322 static void erode_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) in erode_end_frame_filter() argument
326 cvErode(inimg, outimg, dilate->kernel, dilate->nb_iterations); in erode_end_frame_filter()
334 void (*end_frame_filter)(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg);
384 IplImage inimg, outimg; in filter_frame() local
393 fill_iplimage_from_frame(&inimg , in , inlink->format); in filter_frame()
[all …]
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavfilter/
H A Dvf_libopencv.c77 void (*end_frame_filter)(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg);
130 static void smooth_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) in smooth_end_frame_filter() argument
134 …cvSmooth(inimg, outimg, smooth->type, smooth->param1, smooth->param2, smooth->param3, smooth->para… in smooth_end_frame_filter()
291 static void dilate_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) in dilate_end_frame_filter() argument
295 cvDilate(inimg, outimg, dilate->kernel, dilate->nb_iterations); in dilate_end_frame_filter()
298 static void erode_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) in erode_end_frame_filter() argument
302 cvErode(inimg, outimg, dilate->kernel, dilate->nb_iterations); in erode_end_frame_filter()
310 void (*end_frame_filter)(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg);
360 IplImage inimg, outimg; in filter_frame() local
369 fill_iplimage_from_frame(&inimg , in , inlink->format); in filter_frame()
[all …]
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavfilter/
H A Dvf_libopencv.c84 void (*end_frame_filter)(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg);
137 static void smooth_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) in smooth_end_frame_filter() argument
141 …cvSmooth(inimg, outimg, smooth->type, smooth->param1, smooth->param2, smooth->param3, smooth->para… in smooth_end_frame_filter()
315 static void dilate_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) in dilate_end_frame_filter() argument
319 cvDilate(inimg, outimg, dilate->kernel, dilate->nb_iterations); in dilate_end_frame_filter()
322 static void erode_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) in erode_end_frame_filter() argument
326 cvErode(inimg, outimg, dilate->kernel, dilate->nb_iterations); in erode_end_frame_filter()
334 void (*end_frame_filter)(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg);
384 IplImage inimg, outimg; in filter_frame() local
393 fill_iplimage_from_frame(&inimg , in , inlink->format); in filter_frame()
[all …]
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavfilter/
H A Dvf_libopencv.c84 void (*end_frame_filter)(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg);
137 static void smooth_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) in smooth_end_frame_filter() argument
141 …cvSmooth(inimg, outimg, smooth->type, smooth->param1, smooth->param2, smooth->param3, smooth->para… in smooth_end_frame_filter()
315 static void dilate_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) in dilate_end_frame_filter() argument
319 cvDilate(inimg, outimg, dilate->kernel, dilate->nb_iterations); in dilate_end_frame_filter()
322 static void erode_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) in erode_end_frame_filter() argument
326 cvErode(inimg, outimg, dilate->kernel, dilate->nb_iterations); in erode_end_frame_filter()
334 void (*end_frame_filter)(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg);
384 IplImage inimg, outimg; in filter_frame() local
393 fill_iplimage_from_frame(&inimg , in , inlink->format); in filter_frame()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavfilter/
H A Dvf_libopencv.c84 void (*end_frame_filter)(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg);
137 static void smooth_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) in smooth_end_frame_filter() argument
141 …cvSmooth(inimg, outimg, smooth->type, smooth->param1, smooth->param2, smooth->param3, smooth->para… in smooth_end_frame_filter()
315 static void dilate_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) in dilate_end_frame_filter() argument
319 cvDilate(inimg, outimg, dilate->kernel, dilate->nb_iterations); in dilate_end_frame_filter()
322 static void erode_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) in erode_end_frame_filter() argument
326 cvErode(inimg, outimg, dilate->kernel, dilate->nb_iterations); in erode_end_frame_filter()
334 void (*end_frame_filter)(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg);
384 IplImage inimg, outimg; in filter_frame() local
393 fill_iplimage_from_frame(&inimg , in , inlink->format); in filter_frame()
[all …]
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavfilter/
H A Dvf_libopencv.c77 void (*end_frame_filter)(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg);
130 static void smooth_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) in smooth_end_frame_filter() argument
134 …cvSmooth(inimg, outimg, smooth->type, smooth->param1, smooth->param2, smooth->param3, smooth->para… in smooth_end_frame_filter()
291 static void dilate_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) in dilate_end_frame_filter() argument
295 cvDilate(inimg, outimg, dilate->kernel, dilate->nb_iterations); in dilate_end_frame_filter()
298 static void erode_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) in erode_end_frame_filter() argument
302 cvErode(inimg, outimg, dilate->kernel, dilate->nb_iterations); in erode_end_frame_filter()
310 void (*end_frame_filter)(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg);
360 IplImage inimg, outimg; in filter_frame() local
369 fill_iplimage_from_frame(&inimg , in , inlink->format); in filter_frame()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavfilter/
H A Dvf_libopencv.c84 void (*end_frame_filter)(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg);
137 static void smooth_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) in smooth_end_frame_filter() argument
141 …cvSmooth(inimg, outimg, smooth->type, smooth->param1, smooth->param2, smooth->param3, smooth->para… in smooth_end_frame_filter()
315 static void dilate_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) in dilate_end_frame_filter() argument
319 cvDilate(inimg, outimg, dilate->kernel, dilate->nb_iterations); in dilate_end_frame_filter()
322 static void erode_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) in erode_end_frame_filter() argument
326 cvErode(inimg, outimg, dilate->kernel, dilate->nb_iterations); in erode_end_frame_filter()
334 void (*end_frame_filter)(AVFilterContext *ctx, IplImage *inimg, IplImage *outimg);
384 IplImage inimg, outimg; in filter_frame() local
393 fill_iplimage_from_frame(&inimg , in , inlink->format); in filter_frame()
[all …]
/dports/astro/astrometry/astrometry.net-0.85/include/astrometry/
H A Dcairoutils.h32 void cairoutils_argb32_to_rgba_2(const unsigned char* inimg,
35 void cairoutils_argb32_to_rgba_flip(const unsigned char* inimg,
40 void cairoutils_rgba_to_argb32_2(const unsigned char* inimg,
43 void cairoutils_rgba_to_argb32_flip(const unsigned char* inimg,
/dports/astro/stellarsolver/stellarsolver-1.8/stellarsolver/astrometry/include/astrometry/
H A Dcairoutils.h32 void cairoutils_argb32_to_rgba_2(const unsigned char* inimg,
35 void cairoutils_argb32_to_rgba_flip(const unsigned char* inimg,
40 void cairoutils_rgba_to_argb32_2(const unsigned char* inimg,
43 void cairoutils_rgba_to_argb32_flip(const unsigned char* inimg,
/dports/science/minc2/minc-release-2.2.00/progs/minccopy/
H A Dminccopy.c104 int inminc, outminc, inimg, outimg, inicv, outicv; in main() local
128 inimg = ncvarid(inminc, MIimage); in main()
130 (void) ncvarinq(inminc, inimg, NULL, &indatatype, &ndims, in main()
183 (void) miicv_attach(inicv, inminc, inimg); in main()
197 (void) ncvarget(inminc, inimg, start, count, data); in main()
/dports/misc/adios2/ADIOS2-2.7.1/thirdparty/ffs/ffs/cod/tests/
H A Dt11.c16 unsigned char inimg [3 * YSZ * XSZ]; variable
22 memset((void *)inimg, 0, XSZ*YSZ*3); in init()
23 memset((void *)(inimg + XSZ*(YSZ/2)*3), 255, XSZ*(YSZ/2)*3); in init()
99 edge(inimg, outimg, YSZ, XSZ); in main()
114 func(inimg, outimg, YSZ, XSZ); in main()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bpro/core/icam_pro/processes/
H A Dicam_correct_cam_rotation_process.cxx79 auto* inimg = dynamic_cast<vil_image_view<vxl_byte>* >(dest_img_sptr.ptr()); in icam_correct_cam_rotation_process() local
80 vil_convert_planes_to_grey<vxl_byte, float>(*inimg, dest_img); in icam_correct_cam_rotation_process()
86 auto* inimg = dynamic_cast<vil_image_view<vxl_byte>* >(source_img_sptr.ptr()); in icam_correct_cam_rotation_process() local
87 vil_convert_planes_to_grey<vxl_byte, float>(*inimg, source_img); in icam_correct_cam_rotation_process()
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/hfs/src/magnitude/
H A Dmagnitude.cpp24 void Magnitude::loadImage(const Mat& inimg, Ptr<UCharImage> outimg) in loadImage() argument
26 const int _h = inimg.rows, _w = inimg.cols; in loadImage()
30 const uchar *ptr = inimg.ptr<uchar>(y); in loadImage()
39 void Magnitude::loadImage(const Ptr<UCharImage> inimg, Mat& outimg) in loadImage() argument
42 const uchar* inimg_ptr = inimg->getCpuData(); in loadImage()
H A Dmagnitude.hpp31 void loadImage(const cv::Mat& inimg, cv::Ptr<UCharImage> outimg);
32 void loadImage(const cv::Ptr<UCharImage> inimg, cv::Mat& outimg);
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bil/exe/
H A Dbil_debayer_exe.cxx22 vul_arg<std::string> inimg("-i", "input grayscale image", ""); in main() local
26 vil_image_view_base_sptr inimg_resc = vil_load(inimg().c_str()); in main()
/dports/science/ascent/ascent-0.7.1-66-gbcf2742a/src/ascent/runtimes/flow_filters/
H A Dascent_runtime_babelflow_comp_utils.cpp280 const ImageData& inimg = input_images[j]; in split_and_blend() local
282 uint32_t x_size = inimg.rend_bounds[1] - inimg.rend_bounds[0] + 1; in split_and_blend()
294 if( x < inimg.rend_bounds[0] || x > inimg.rend_bounds[1] || in split_and_blend()
295 y < inimg.rend_bounds[2] || y > inimg.rend_bounds[3] ) in split_and_blend()
301 uint32_t rx = x - inimg.rend_bounds[0]; in split_and_blend()
302 uint32_t ry = y - inimg.rend_bounds[2]; in split_and_blend()
310 if( skip_z_check || outimg.zbuf[myidx] > inimg.zbuf[idx] ) in split_and_blend()
312 outimg.zbuf[myidx] = inimg.zbuf[idx]; in split_and_blend()
313 …memcpy( outimg.image + imgmyidx, inimg.image + imgidx, ImageData::sNUM_CHANNELS*sizeof(ImageData::… in split_and_blend()

12