How to refine SLIC Algorithm output [closed]











up vote
-2
down vote

favorite












So I am working on my FYP on SLIC algorithm where I have to implement it on FPGA so at the first stage, I am implementing it on MATLAB. Now I know I can find MATLAB codes online but I have my reasons. Now I have successfully implemented it on MATLAB but the result of inbuilt MATLAB function superixels() is much more refined than my code result. The boundaries are also much smoother. Can anyone guide me on how to refine my superpixels boundaries? Secondly the MATLAB function delivers much finer result than my code. How can I improve this?Thirdly I am using k-means approch where I initially start from square superpixels but the MATLAB command returns arbitrarly shaped superpixels whereas my code returns 99% squares. Is this the reason? If so than what should be the approch?



My code output



MATLAB inbuilt function output










share|improve this question













closed as off-topic by Wolfie, Sardar Usama, Luis Mendo, nkjt, Dev-iL Nov 11 at 8:09


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example." – Sardar Usama, Luis Mendo, Dev-iL

If this question can be reworded to fit the rules in the help center, please edit the question.

















    up vote
    -2
    down vote

    favorite












    So I am working on my FYP on SLIC algorithm where I have to implement it on FPGA so at the first stage, I am implementing it on MATLAB. Now I know I can find MATLAB codes online but I have my reasons. Now I have successfully implemented it on MATLAB but the result of inbuilt MATLAB function superixels() is much more refined than my code result. The boundaries are also much smoother. Can anyone guide me on how to refine my superpixels boundaries? Secondly the MATLAB function delivers much finer result than my code. How can I improve this?Thirdly I am using k-means approch where I initially start from square superpixels but the MATLAB command returns arbitrarly shaped superpixels whereas my code returns 99% squares. Is this the reason? If so than what should be the approch?



    My code output



    MATLAB inbuilt function output










    share|improve this question













    closed as off-topic by Wolfie, Sardar Usama, Luis Mendo, nkjt, Dev-iL Nov 11 at 8:09


    This question appears to be off-topic. The users who voted to close gave this specific reason:


    • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example." – Sardar Usama, Luis Mendo, Dev-iL

    If this question can be reworded to fit the rules in the help center, please edit the question.















      up vote
      -2
      down vote

      favorite









      up vote
      -2
      down vote

      favorite











      So I am working on my FYP on SLIC algorithm where I have to implement it on FPGA so at the first stage, I am implementing it on MATLAB. Now I know I can find MATLAB codes online but I have my reasons. Now I have successfully implemented it on MATLAB but the result of inbuilt MATLAB function superixels() is much more refined than my code result. The boundaries are also much smoother. Can anyone guide me on how to refine my superpixels boundaries? Secondly the MATLAB function delivers much finer result than my code. How can I improve this?Thirdly I am using k-means approch where I initially start from square superpixels but the MATLAB command returns arbitrarly shaped superpixels whereas my code returns 99% squares. Is this the reason? If so than what should be the approch?



      My code output



      MATLAB inbuilt function output










      share|improve this question













      So I am working on my FYP on SLIC algorithm where I have to implement it on FPGA so at the first stage, I am implementing it on MATLAB. Now I know I can find MATLAB codes online but I have my reasons. Now I have successfully implemented it on MATLAB but the result of inbuilt MATLAB function superixels() is much more refined than my code result. The boundaries are also much smoother. Can anyone guide me on how to refine my superpixels boundaries? Secondly the MATLAB function delivers much finer result than my code. How can I improve this?Thirdly I am using k-means approch where I initially start from square superpixels but the MATLAB command returns arbitrarly shaped superpixels whereas my code returns 99% squares. Is this the reason? If so than what should be the approch?



      My code output



      MATLAB inbuilt function output







      matlab






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 10 at 15:57









      Usman Mani

      11




      11




      closed as off-topic by Wolfie, Sardar Usama, Luis Mendo, nkjt, Dev-iL Nov 11 at 8:09


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example." – Sardar Usama, Luis Mendo, Dev-iL

      If this question can be reworded to fit the rules in the help center, please edit the question.




      closed as off-topic by Wolfie, Sardar Usama, Luis Mendo, nkjt, Dev-iL Nov 11 at 8:09


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example." – Sardar Usama, Luis Mendo, Dev-iL

      If this question can be reworded to fit the rules in the help center, please edit the question.





























          active

          oldest

          votes






















          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

          Popular posts from this blog

          Full-time equivalent

          Bicuculline

          さくらももこ