I’m just starting out with Julia, and I’m reimplementing a seam carving application I originally implemented in Matlab. I’m trying to compute my image gradients using:
gx, gy = imgradients(img, kernelfun=ando3, border="replicate")
I’ve also tried explicitly using
KernelFactors.ando3 but both of those give me an
UndefVarError as well.
My main issue is that when I try and use
imgradients in any fashion, I will either get an
UndefVarError for the imgradients function or for the kernel function I am passing in. I believe I am importing the required packages correctly as well.
The top of my file has this
using Images, ImageView, LinearAlgebra;
I believe that should be all I need. Is there anything obvious I would be missing?
I’ve also been looking at the source for imgradients and I can see that I am matching the type signature of the call, adding to my confusion.
Thanks for the help!