Fractals, with applications to signal and image modeling