step8stepscpp18422 note suggested alternative ‘sin’ int x2 = minheight - 1 i + r; 邻域窗口右下角x坐标 什么意思 sin
It seems that the compiler is suggesting the alternative 'sin' because it is a valid function in C++. However, this may not be relevant to the context of the code.
As for the meaning of the code, it is defining the x-coordinate of the bottom right corner of a neighborhood window. The window is centered at position (i,j) and has a radius of r. The line of code is ensuring that the x-coordinate does not exceed the maximum height of the image.
原文地址: http://www.cveoy.top/t/topic/hkPp 著作权归作者所有。请勿转载和采集!