code: def blur(outimage, image, amt):
      for i in range(amt, w - amt):
          for j in range(amt, h - amt):
              px = 0.0
              for iw in range(-amt // 2, amt // 2):
                  for jh in range(-amt // 2, amt // 2):
                      px += image[i + iw, j + jh]
              outimage[i, j] = px / (amt * amt)
  
file_path: bokeh/examples/server/app/image_blur.py
imports: import numpy
  import scipy.datasets
  from bokeh.io import curdoc
  from bokeh.layouts import column
  from bokeh.models import ColumnDataSource, Slider
  from bokeh.palettes import gray
  from bokeh.plotting import figure
label_desc: Use image node_id 1 for calling a global function with example usage: blur(outimage, image, amt) without return types