/dports/misc/vxl/vxl-3.3.2/contrib/oxl/osl/ |
H A D | osl_canny_gradient.cxx | 20 void osl_canny_gradient(int xsize_, int ysize_, in osl_canny_gradient() argument 38 for (int y=1; y<ysize_-1; ++y) { in osl_canny_gradient() 51 dy_[0][ysize_-1]=(smooth_[0][ysize_-2]-smooth_[0][ysize_-1])*2; // left edge in osl_canny_gradient() 52 dx_[0][ysize_-1]=(smooth_[1][ysize_-1]-smooth_[0][ysize_-1])*2; in osl_canny_gradient() 54 dy_[x][ysize_-1]=(smooth_[x ][ysize_-2]-smooth_[x ][ysize_-1])*2; in osl_canny_gradient() 55 dx_[x][ysize_-1]= smooth_[x+1][ysize_-1]-smooth_[x-1][ysize_-1]; in osl_canny_gradient() 57 …dy_[xsize_-1][ysize_-1]=(smooth_[xsize_-1][ysize_-2]-smooth_[xsize_-1][ysize_-1])*2; // right ed… in osl_canny_gradient() 58 dx_[xsize_-1][ysize_-1]=(smooth_[xsize_-1][ysize_-1]-smooth_[xsize_-2][ysize_-1])*2; in osl_canny_gradient() 62 for (int y=0; y<ysize_; ++y) in osl_canny_gradient() 68 void osl_canny_gradient_central(int xsize_, int ysize_, in osl_canny_gradient_central() argument [all …]
|
H A D | osl_edge_detector.cxx | 91 ysize_ = image.width(); in detect_edges() 98 dx_ = Make_float_image(xsize_,ysize_); in detect_edges() 99 dy_ = Make_float_image(xsize_,ysize_); in detect_edges() 100 grad_ = Make_float_image(xsize_,ysize_); in detect_edges() 103 thin_ = Make_float_image(xsize_,ysize_); in detect_edges() 107 dist_ = Make_int_image(xsize_,ysize_); in detect_edges() 109 jx_ = Make_int_image(xsize_,ysize_); in detect_edges() 110 jy_ = Make_int_image(xsize_,ysize_); in detect_edges() 322 for (int y=ysize_-width_-1; y<int(ysize_); ++y) in Sub_pixel_interpolation() 465 for (y=0; y<ysize_; ++y) in Set_thresholds() [all …]
|
H A D | osl_canny_smooth.hxx | 43 void osl_canny_smooth_rothwell(T const * const *image_in, int xsize_, int ysize_, in osl_canny_smooth_rothwell() argument 48 vil1_memory_image_of<float> tmp(ysize_, xsize_); in osl_canny_smooth_rothwell() 52 for (int y=0; y<ysize_; ++y) in osl_canny_smooth_rothwell() 58 for (int y=width_; y<ysize_-width_; ++y) in osl_canny_smooth_rothwell() 130 void osl_canny_smooth(T const * const * image_in, int xsize_, int ysize_, in osl_canny_smooth() argument 134 vil1_memory_image_of<float> tmp(ysize_, xsize_); in osl_canny_smooth() 138 for (int y=0; y<ysize_; ++y) { in osl_canny_smooth() 187 for (int y=width_-1; y < ysize_-width_+1; ++y) { in osl_canny_smooth() 195 for (int y=ysize_-width_+1; y < ysize_; ++y) { in osl_canny_smooth() 198 if (y+k >= ysize_) in osl_canny_smooth() [all …]
|
H A D | osl_canny_ox.cxx | 84 ysize_ = image_in.width(); in detect_edges() 90 << xsize_ << " by " << ysize_ << '\n' in detect_edges() 227 for (unsigned int y=1; y+1<ysize_; ++y) in Get_NMS_edgelsOX() 385 if (rows[i+1] == rows[ysize_]) in Link_edgelsOX() 444 if (!s && k < rows[ysize_]) { in Link_edgelsOX() 769 assert ( (unsigned)y+1<ysize_ ); in Final_followOX() 900 assert( (unsigned int)y+2<ysize_ ); in Join_dotsOX() 953 for (unsigned int y=0; y<ysize_; ++y) in Scale_imageOX() 966 assert((unsigned int)border_size <= ysize_); in Set_image_borderOX() 970 image[x][i] = image[x][ysize_-1-i] = value; in Set_image_borderOX() [all …]
|
H A D | osl_canny_rothwell.cxx | 82 ysize_ = image.width(); in detect_edges() 88 << xsize_ << " by " << ysize_ << std::endl in detect_edges() 109 osl_canny_base_fill_raw_image(smooth_,xsize_, ysize_, 0.0f); in detect_edges() 212 for (unsigned int y=w0_; y+2+w0_<ysize_; ++y) { in Non_maximal_suppression() 316 for (unsigned int y=w0_; y+w0_<ysize_; ++y) in Initial_hysteresis() 318 Initial_follow(thin_, xsize_, ysize_, low_, in Initial_hysteresis() 374 for (unsigned int y=w0_; y+w0_<ysize_; ++y) { in Final_hysteresis() 534 for (unsigned int y=w0_; y+w0_<ysize_; ++y) in Thin_edges() 787 for (unsigned int y=w0_; y+w0_<ysize_; ++y) in Find_dangling_ends() 833 for (unsigned int y=w0_; y+w0_<ysize_; ++y) in Find_junctions() [all …]
|
/dports/graphics/libjxl/libjxl-0.6.1/lib/jxl/ |
H A D | image.h | 29 ysize_(0), in PlaneBase() 57 ysize_ = static_cast<uint32_t>(ysize); in ShrinkTo() 64 JXL_INLINE size_t ysize() const { return ysize_; } in ysize() 85 if (y >= ysize_) { in VoidRow() 111 uint32_t ysize_; member 203 ysize_(ClampedSize(ybegin, ysize_max, yend)) {} in Rect() 233 JXL_DASSERT(y + num <= ysize_); in Lines() 242 std::min(y0_ + ysize_, other.y0_ + other.ysize_)); in Intersection() 246 return Rect(x0_ + x_offset, y0_ + y_offset, xsize_, ysize_); in Translate() 289 size_t ysize() const { return ysize_; } in ysize() [all …]
|
H A D | headers.h | 45 return small_ ? ((ysize_div8_minus_1_ + 1) * 8) : ysize_; in ysize() 52 uint32_t ysize_; variable 70 size_t ysize() const { return div8_ ? (ysize_div8_ * 8) : ysize_; } in ysize() 76 uint32_t ysize_; variable
|
/dports/www/firefox/firefox-99.0/third_party/jpeg-xl/lib/jxl/ |
H A D | image.h | 31 ysize_(0), in PlaneBase() 59 ysize_ = static_cast<uint32_t>(ysize); in ShrinkTo() 66 JXL_INLINE size_t ysize() const { return ysize_; } in ysize() 87 if (y >= ysize_) { in VoidRow() 113 uint32_t ysize_; member 205 ysize_(ClampedSize(ybegin, ysize_max, yend)) {} in Rect() 235 JXL_DASSERT(y + num <= ysize_); in Lines() 244 std::min(y0_ + ysize_, other.y0_ + other.ysize_)); in Intersection() 248 return Rect(x0_ + x_offset, y0_ + y_offset, xsize_, ysize_); in Translate() 291 size_t ysize() const { return ysize_; } in ysize() [all …]
|
H A D | headers.h | 45 return small_ ? ((ysize_div8_minus_1_ + 1) * 8) : ysize_; in ysize() 52 uint32_t ysize_; variable 70 size_t ysize() const { return div8_ ? (ysize_div8_ * 8) : ysize_; } in ysize() 76 uint32_t ysize_; variable
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/jpeg-xl/lib/jxl/ |
H A D | image.h | 29 ysize_(0), in PlaneBase() 57 ysize_ = static_cast<uint32_t>(ysize); in ShrinkTo() 64 JXL_INLINE size_t ysize() const { return ysize_; } in ysize() 85 if (y >= ysize_) { in VoidRow() 111 uint32_t ysize_; member 203 ysize_(ClampedSize(ybegin, ysize_max, yend)) {} in Rect() 207 : x0_(xbegin), y0_(ybegin), xsize_(xsize), ysize_(ysize) {} in Rect() 227 JXL_DASSERT(y + num <= ysize_); in Lines() 236 std::min(y0_ + ysize_, other.y0_ + other.ysize_)); in Intersection() 279 size_t ysize() const { return ysize_; } in ysize() [all …]
|
H A D | headers.h | 45 return small_ ? ((ysize_div8_minus_1_ + 1) * 8) : ysize_; in ysize() 52 uint32_t ysize_; variable 70 size_t ysize() const { return div8_ ? (ysize_div8_ * 8) : ysize_; } in ysize() 76 uint32_t ysize_; variable
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/jpeg-xl/lib/jxl/ |
H A D | image.h | 29 ysize_(0), in PlaneBase() 57 ysize_ = static_cast<uint32_t>(ysize); in ShrinkTo() 64 JXL_INLINE size_t ysize() const { return ysize_; } in ysize() 85 if (y >= ysize_) { in VoidRow() 111 uint32_t ysize_; member 203 ysize_(ClampedSize(ybegin, ysize_max, yend)) {} in Rect() 207 : x0_(xbegin), y0_(ybegin), xsize_(xsize), ysize_(ysize) {} in Rect() 227 JXL_DASSERT(y + num <= ysize_); in Lines() 236 std::min(y0_ + ysize_, other.y0_ + other.ysize_)); in Intersection() 279 size_t ysize() const { return ysize_; } in ysize() [all …]
|
H A D | headers.h | 45 return small_ ? ((ysize_div8_minus_1_ + 1) * 8) : ysize_; in ysize() 52 uint32_t ysize_; variable 70 size_t ysize() const { return div8_ ? (ysize_div8_ * 8) : ysize_; } in ysize() 76 uint32_t ysize_; variable
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/sdet/ |
H A D | sdet_edge_champher.cxx | 15 ysize_ = edges.rows(); in sdet_edge_champher() 17 distance_ = vbl_array_2d<unsigned char>(ysize_, xsize_, (unsigned char)-1 ); in sdet_edge_champher() 18 edges_ = vbl_array_2d<vtol_edge_2d_sptr>(ysize_, xsize_, nullptr); in sdet_edge_champher() 40 for (int y=0; y<ysize_; y++) in initialize_arrays() 90 for (i=1;i<ysize_-1;i++) in forward_chamfer() 134 for (i=ysize_-2;i>0;i--) in backward_chamfer() 177 for (y=0;y<ysize_;y++) in compute_real_distances()
|
/dports/graphics/guetzli/guetzli-1.0.1/third_party/butteraugli/butteraugli/ |
H A D | butteraugli.h | 219 ysize_(ysize), in Image() 226 ysize_(ysize), in Image() 233 ysize_(other.ysize_), in Image() 240 ysize_ = other.ysize_; 248 std::swap(ysize_, other.ysize_); in Swap() 255 size_t ysize() const { return ysize_; } in ysize() 259 if (y >= ysize_) { in Row() 260 printf("Row %zu out of bounds (ysize=%zu)\n", y, ysize_); in Row() 270 if (y >= ysize_) { in Row() 298 size_t ysize_; variable [all …]
|
/dports/www/firefox/firefox-99.0/third_party/highway/hwy/contrib/image/ |
H A D | image.cc | 79 ysize_(static_cast<uint32_t>(ysize)), in ImageBase() 97 ysize_(static_cast<uint32_t>(ysize)), in ImageBase() 108 if (xsize_ == 0 || ysize_ == 0) return; in InitializePadding() 119 for (size_t y = 0; y < ysize_; ++y) { in InitializePadding() 138 std::swap(ysize_, other.ysize_); in Swap()
|
H A D | image.h | 47 ysize_(0), in ImageBase() 78 ysize_ = static_cast<uint32_t>(ysize); in ShrinkTo() 85 HWY_INLINE size_t ysize() const { return ysize_; } in ysize() 105 if (y >= ysize_) { in VoidRow() 106 HWY_ABORT("Row(%" PRIu64 ") >= %u\n", static_cast<uint64_t>(y), ysize_); in VoidRow() 131 uint32_t ysize_; member 327 ysize_(ClampedSize(ybegin, ysize_max, yend)) {} in Rect() 331 : x0_(xbegin), y0_(ybegin), xsize_(xsize), ysize_(ysize) {} in Rect() 346 y0_ + ysize_); in Subrect() 379 size_t ysize() const { return ysize_; } in ysize() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/highway/hwy/contrib/image/ |
H A D | image.cc | 80 ysize_(static_cast<uint32_t>(ysize)), in ImageBase() 98 ysize_(static_cast<uint32_t>(ysize)), in ImageBase() 109 if (xsize_ == 0 || ysize_ == 0) return; in InitializePadding() 120 for (size_t y = 0; y < ysize_; ++y) { in InitializePadding() 139 std::swap(ysize_, other.ysize_); in Swap()
|
H A D | image.h | 45 ysize_(0), in ImageBase() 76 ysize_ = static_cast<uint32_t>(ysize); in ShrinkTo() 83 HWY_INLINE size_t ysize() const { return ysize_; } in ysize() 104 if (y >= ysize_) { in VoidRow() 105 HWY_ABORT("Row(%zu) >= %u\n", y, ysize_); in VoidRow() 130 uint32_t ysize_; member 320 ysize_(ClampedSize(ybegin, ysize_max, yend)) {} in Rect() 324 : x0_(xbegin), y0_(ybegin), xsize_(xsize), ysize_(ysize) {} in Rect() 339 y0_ + ysize_); in Subrect() 372 size_t ysize() const { return ysize_; } in ysize() [all …]
|
/dports/devel/highway/highway-0.15.0/hwy/contrib/image/ |
H A D | image.cc | 80 ysize_(static_cast<uint32_t>(ysize)), in ImageBase() 98 ysize_(static_cast<uint32_t>(ysize)), in ImageBase() 109 if (xsize_ == 0 || ysize_ == 0) return; in InitializePadding() 120 for (size_t y = 0; y < ysize_; ++y) { in InitializePadding() 139 std::swap(ysize_, other.ysize_); in Swap()
|
H A D | image.h | 46 ysize_(0), in ImageBase() 77 ysize_ = static_cast<uint32_t>(ysize); in ShrinkTo() 84 HWY_INLINE size_t ysize() const { return ysize_; } in ysize() 105 if (y >= ysize_) { in VoidRow() 106 HWY_ABORT("Row(%" PRIu64 ") >= %u\n", static_cast<uint64_t>(y), ysize_); in VoidRow() 131 uint32_t ysize_; member 328 ysize_(ClampedSize(ybegin, ysize_max, yend)) {} in Rect() 332 : x0_(xbegin), y0_(ybegin), xsize_(xsize), ysize_(ysize) {} in Rect() 347 y0_ + ysize_); in Subrect() 380 size_t ysize() const { return ysize_; } in ysize() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/highway/hwy/contrib/image/ |
H A D | image.cc | 80 ysize_(static_cast<uint32_t>(ysize)), in ImageBase() 98 ysize_(static_cast<uint32_t>(ysize)), in ImageBase() 109 if (xsize_ == 0 || ysize_ == 0) return; in InitializePadding() 120 for (size_t y = 0; y < ysize_; ++y) { in InitializePadding() 139 std::swap(ysize_, other.ysize_); in Swap()
|
H A D | image.h | 45 ysize_(0), in ImageBase() 76 ysize_ = static_cast<uint32_t>(ysize); in ShrinkTo() 83 HWY_INLINE size_t ysize() const { return ysize_; } in ysize() 104 if (y >= ysize_) { in VoidRow() 105 HWY_ABORT("Row(%zu) >= %u\n", y, ysize_); in VoidRow() 130 uint32_t ysize_; member 320 ysize_(ClampedSize(ybegin, ysize_max, yend)) {} in Rect() 324 : x0_(xbegin), y0_(ybegin), xsize_(xsize), ysize_(ysize) {} in Rect() 339 y0_ + ysize_); in Subrect() 372 size_t ysize() const { return ysize_; } in ysize() [all …]
|
/dports/science/crf++/crfpp-1dc92a606f874a4fe52603803364cc1d90f952fb/ |
H A D | tagger.cpp | 133 ysize_ = feature_index_->ysize(); in open() 146 ysize_ = feature_index_->ysize(); in open() 248 ysize_ = feature_index_->ysize(); in open() 296 ysize_ = feature_index_->ysize(); in set_model() 328 size_t r = ysize_; in add2() 329 for (size_t k = 0; k < ysize_; ++k) { in add2() 339 node_[s].resize(ysize_); in add2() 382 penalty_[s].resize(ysize_); in set_penalty() 416 for (size_t i = 0; i < ysize_; ++i) { in initNbest() 524 for (size_t j = 0; j < ysize_; ++j) { in forwardbackward() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/brip/ |
H A D | brip_para_cvrg.cxx | 39 ysize_ = h; in init() 174 for (y=radius;y<ysize_ - radius;y++) in compute_gradients() 376 for (int y=radius; y<(ysize_-radius);y++) in compute_parallel_coverage() 432 image = vil_image_view<unsigned char>(xsize_, ysize_); in compute_image() 435 for (int y = 0; y<ysize_; y++) in compute_image() 442 for (int y = 0; y<ysize_; y++) in compute_image() 467 vil_image_view<float> out(xsize_, ysize_); in get_float_detection_image() 470 for (int y = 0; y<ysize_; y++) in get_float_detection_image() 478 for (int y = 0; y<ysize_; y++) in get_float_detection_image() 502 for (int y = 0; y<ysize_; y++) in get_dir_image() [all …]
|