octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #48943] Processing image freezes OS


From: Sasitha Iresh
Subject: [Octave-bug-tracker] [bug #48943] Processing image freezes OS
Date: Mon, 29 Aug 2016 17:54:21 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?48943>

                 Summary: Processing image freezes OS 
                 Project: GNU Octave
            Submitted by: sasithairesh
            Submitted on: Mon 29 Aug 2016 05:54:19 PM GMT
                Category: Performance
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Performance
                  Status: None
             Assigned to: None
         Originator Name: Sasitha Iresh
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.3
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

I tried manually created histogram function to process images with
only two loops. It take more than 15 minutes to get results from
octave and sometimes it freezes the OS. However i tried same in Matlab
and it gives results quickly.

used image is unit8 1600x2560x3 image.

part of the code is:

[m,n] = size(img);

for i = 1:m
    for j= 1:n
        C(img(i,j)+1) = C(img(i,j)+1)+1;
        K = K+1;
    end
end





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48943>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]