Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
dtschump committed Nov 22, 2024
2 parents 54eaf89 + a995548 commit ac24e0a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions CImg.h
Original file line number Diff line number Diff line change
Expand Up @@ -40951,7 +40951,7 @@ namespace cimg_library {
(_kernel._depth<=3 && _kernel._width<=3 && _kernel._height<=3)) &&
xstride==1 && ystride==1 && zstride==1 &&
xoffset>=0 && yoffset>=0 && zoffset>=0 &&
xoffset + _xsize<_width && yoffset + _ysize<_height && zoffset + _zsize<_depth) {
xoffset + _xsize<=_width && yoffset + _ysize<=_height && zoffset + _zsize<=_depth) {
const unsigned int M = cimg::max(_kernel._width,_kernel._height,_kernel._depth);
_kernel.assign(_kernel.get_resize(M + 1 - (M%2),M + 1 - (M%2),_kernel._depth>1?M + 1 - (M%2):1,-100,
0,0,1,1,1),false);
Expand All @@ -40967,7 +40967,7 @@ namespace cimg_library {
_xcenter==_kernel.width()/2 && _ycenter==_kernel.height()/2 && _zcenter==_kernel.depth()/2 &&
xstride==1 && ystride==1 && zstride==1 &&
xoffset>=0 && yoffset>=0 && zoffset>=0 &&
xoffset + _xsize<_width && yoffset + _ysize<_height && zoffset + _zsize<_depth) {
xoffset + _xsize<=_width && yoffset + _ysize<=_height && zoffset + _zsize<=_depth) {

switch (_kernel._depth) {
case 3 : { // 3x3x3 centered kernel
Expand Down Expand Up @@ -41149,7 +41149,7 @@ namespace cimg_library {
!_xcenter && !_ycenter && !_zcenter &&
xstride==1 && ystride==1 && zstride==1 &&
xoffset>=0 && yoffset>=0 && zoffset>=0 &&
xoffset + _xsize<_width && yoffset + _ysize<_height && zoffset + _zsize<_depth) {
xoffset + _xsize<=_width && yoffset + _ysize<=_height && zoffset + _zsize<=_depth) {

// Special optimization for 1x1 kernel.
cimg_pragma_openmp(parallel for cimg_openmp_if(is_outer_parallel))
Expand Down
2 changes: 1 addition & 1 deletion html/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<div class="header">
<a href="index.html"><img alt="Logo" src="img/logo_header.jpg" class="center_image" style="margin-top:1em;"/></a>
<h2 style="padding-bottom: 1em">
Latest stable version: <b><a href="http://cimg.eu/files/CImg_.zip">3.4.3</a></b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Current pre-release: <b><a href="http://cimg.eu/files/CImg_latest.zip">3.4.4</a></b> (2024/11/20)
Latest stable version: <b><a href="http://cimg.eu/files/CImg_.zip">3.4.3</a></b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Current pre-release: <b><a href="http://cimg.eu/files/CImg_latest.zip">3.5.0</a></b> (2024/11/22)
</h2>

<hr/>
Expand Down
2 changes: 1 addition & 1 deletion html/header_doxygen.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<div class="header">
<a href="../index.html"><img alt="Logo" src="../img/logo_header.jpg" class="center_image" style="margin-top:1em;"/></a>
<h2 style="padding-bottom: 1em">
Latest stable version: <b><a href="http://cimg.eu/files/CImg_.zip">3.4.3</a></b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Current pre-release: <b><a href="http://cimg.eu/files/CImg_latest.zip">3.4.4</a></b> (2024/11/20)
Latest stable version: <b><a href="http://cimg.eu/files/CImg_.zip">3.4.3</a></b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Current pre-release: <b><a href="http://cimg.eu/files/CImg_latest.zip">3.5.0</a></b> (2024/11/22)
</h2>

<hr/>
Expand Down

0 comments on commit ac24e0a

Please sign in to comment.