MCPcopy Create free account
hub / github.com/creatale/node-dv / kernelSetOrigin

Function kernelSetOrigin

deps/leptonica/src/kernel.c:299–311  ·  view source on GitHub ↗

! * \brief kernelSetOrigin() * * \param[in] kel kernel * \param[in] cy, cx * \return 0 if OK; 1 on error */

Source from the content-addressed store, hash-verified

297 * \return 0 if OK; 1 on error
298 */
299l_int32
300kernelSetOrigin(L_KERNEL *kel,
301 l_int32 cy,
302 l_int32 cx)
303{
304 PROCNAME("kernelSetOrigin");
305
306 if (!kel)
307 return ERROR_INT("kel not defined", procName, 1);
308 kel->cy = cy;
309 kel->cx = cx;
310 return 0;
311}
312
313
314/*!

Callers 8

kernelReadStreamFunction · 0.85
kernelCreateFromStringFunction · 0.85
kernelCreateFromFileFunction · 0.85
kernelCreateFromPixFunction · 0.85
makeFlatKernelFunction · 0.85
makeGaussianKernelFunction · 0.85
makeDoGKernelFunction · 0.85
makeRangeKernelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected