omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Image Processing on Pythonista

    Pythonista
    4
    4
    1361
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MrObedientDog
      MrObedientDog last edited by

      I intend to purchase pythonista 3 on my 12.9 inch iPad Pro only if I’m able to import images and process them (fft, fft2).
      Could someone please confirm this for me?
      Also can anyone let me know if I can
      %pip install scikit-image
      On Pythonista.
      Thanks a lot!

      mikael cvp 2 Replies Last reply Reply Quote 0
      • mikael
        mikael @MrObedientDog last edited by

        @MrObedientDog, scikit-image is:

        Python
        92.3%

        Objective-C
        4.2%
        C
        2.1%

        C++
        1.2%

        Other
        0.2%

        Pythonista supports only pure Python libraries, so no, at least on that count.

        1 Reply Last reply Reply Quote 0
        • cvp
          cvp @MrObedientDog last edited by cvp

          @MrObedientDog Pythonista supports PIL, see scikit-image vs pillow

          1 Reply Last reply Reply Quote 0
          • JonB
            JonB last edited by

            regarding fft2:

            https://scipython.com/book/chapter-6-numpy/examples/blurring-an-image-with-a-two-dimensional-fft/

            works without modification.

            pythonista includes a version of 1.8.0 of numpy and 1.4.0 of matplotlib. Those versions cannot be updated.

            It does not include scikit, pandas, and those cannot be installed.

            With some effort (no support except for this forum) you also have access to whatever iOS frameworks exist --CoreImage, MetalKit, AvFiundation, Quartz, OpenGL, though obviously anything you write using this will not be portable, except to Macs.

            scikit-image functions in some cases could be ported over withiut much hassle. others require scikit.ndimage, which is written in c. Though it might not be terribly difficult to port the key pieces to pure python + numpy.

            Folks with very specific module and version needs sometimes prefer the pyto app. That does I believe have scikit, plus you can submit pull requests for anything you need, or you can compile it yourself and sideload. A general problem with iOS is that you cannot install unsigned c modules, nor can you compile on device, Yet (not sure if the mac m1 has same limitations?)..

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB Forums | Contributors