programmingzeal has asked for the wisdom of the Perl Monks concerning the following question:

I intend to implement Fractals in Image Processing. Fractals have several applications. One is Image Segmentation. I want to implement Image Segmentation using Fractals Algorithm. I searched on Internet but am yet to find a starting point such as Fractals algorithm or a pseudocode for Image Segmentation. ChatGPT did not help either. Please help me.

Replies are listed 'Best First'.
Re: Image Segmentation using Fractals
by Bod (Parson) on Aug 12, 2023 at 21:06 UTC

    There are a number of modules for dealing with fractals on CPAN...it seems many haven't been updated for a while but I don't think it's a branch of mathematics that is evolving much.

    You could try Math::Fractal::DLA::Explode for example.

    It is much easier for everyone to understand what you are asking when you use markup as described in Perl Monks Approved HTML tags

    Update:

    You might also take some inspiration from last year's Perl Advent Calendar

      Ok. Thanks for the response. You mean there are built-in libraries in Perl available. But I am searching for algorithms without using any libraries. Though for the initial starting point libraries can be good to see how fractals work. Also, I can compare the input image with output image. But how can I get a pseudocode to implement my Perl code without using any libraries? Thanks.
        You can have a look at sources of modules, e.g. on MetaCPAN, every module page has a "source" link. That's Perl and not pseudocode, but perhaps a step towards your goal.
        I am searching for algorithms without using any libraries.
        how can I get a pseudocode to implement my Perl code
        Not a perl question. The field of study should result in an algorithm, implement in whatever lang.