Re: [julia-users] b images

2016-09-06 Thread Emerson Vitor Castelani
gt; 2016-09-06 13:12 GMT-03:00 Emerson Vitor Castelani <emerso...@gmail.com > >: > >> Hi El suisse ! Thank you for your help. I already tried that. But in >> this case, we obtain a gray scaled image...I want a binary image... >> >> Em terça-feira, 6 de setembro

Re: [julia-users] b images

2016-09-06 Thread Emerson Vitor Castelani
img_bw = convert(Image{ColorTypes.Gray}, img) > ​ > > 2016-09-06 9:46 GMT-03:00 Emerson Vitor Castelani <emerso...@gmail.com > >: > >> Is there any way to convert a jpg (or png) image in b using Images.jl? >> >> Thanks >> > >

[julia-users] b images

2016-09-06 Thread Emerson Vitor Castelani
Is there any way to convert a jpg (or png) image in b using Images.jl? Thanks

[julia-users] Escher problem

2015-08-11 Thread Emerson Vitor Castelani
I am trying run Escher's examples but I had some problems. For example, in minesweeper.jl, is showed just the word minesweeper and nothing more... Someone knows why?

Re: [julia-users] mouse event

2015-07-23 Thread Emerson Vitor Castelani
In the first moment I would like to click and get the coordinates of the point. Next, draw a (small) circle representing this point. Em quinta-feira, 23 de julho de 2015 05:55:16 UTC-3, Andreas Lobinger escreveu: Can you describe, what you want to do?

Re: [julia-users] mouse event

2015-07-22 Thread Emerson Vitor Castelani
to either 1) yield the event loop 2) make sure the program stays open long enough to actually display your plot (ref: https://github.com/stevengj/PyPlot.jl/issues/41) On Tue, Jul 21, 2015 at 2:53 PM, Emerson Vitor Castelani emerso...@gmail.com wrote: I had a similar problem...I don't

Re: [julia-users] mouse event

2015-07-22 Thread Emerson Vitor Castelani
long enough to actually display your plot (ref: https://github.com/stevengj/PyPlot.jl/issues/41) On Tue, Jul 21, 2015 at 2:53 PM, Emerson Vitor Castelani emerso...@gmail.com javascript: wrote: I had a similar problem...I don't know why... Em terça-feira, 21 de julho de 2015 14:46:41 UTC-3

[julia-users] mouse event

2015-07-21 Thread Emerson Vitor Castelani
Guys, I need to know if we can create mouse events using pyplot in Julia? And how? Thanks

Re: [julia-users] mouse event

2015-07-21 Thread Emerson Vitor Castelani
Well, I already tried this , but I don't get to do work!Does canvas and mpl_connect work in Julia? Em terça-feira, 21 de julho de 2015 13:38:06 UTC-3, Isaiah escreveu: http://matplotlib.org/users/event_handling.html On Tue, Jul 21, 2015 at 12:34 PM, Emerson Vitor Castelani emerso

Re: [julia-users] mouse event

2015-07-21 Thread Emerson Vitor Castelani
I had a similar problem...I don't know why... Em terça-feira, 21 de julho de 2015 14:46:41 UTC-3, El suisse escreveu: Hi I got the following example related with this thread https://gist.github.com/elsuizo/5338605a6a5c7ab54730 but fail in

Re: [julia-users] simplex in Julia is very slow

2014-11-28 Thread Emerson Vitor Castelani
your main routine. --Tim On Wednesday, November 26, 2014 09:26:35 AM Emerson Vitor Castelani wrote: Humm, It's useful but I guess that the problem is something in loop while... Em quarta-feira, 26 de novembro de 2014 15h05min03s UTC-2, Stefan Karpinski escreveu: I'm not sure

Re: [julia-users] simplex in Julia is very slow

2014-11-28 Thread Emerson Vitor Castelani
/JuliaLang/julia/issues/9191. On Fri, Nov 28, 2014 at 11:51 AM, Emerson Vitor Castelani emerso...@gmail.com javascript: wrote: Hi Stefan. I am very grateful by your attention. Each variable typed correctly doesn't change the perfomance. Do you have other suggestion to me? Thanks, -Emerson

Re: [julia-users] simplex in Julia is very slow

2014-11-27 Thread Emerson Vitor Castelani
realize; if the type of the variable is uncertain, the loop will be very slow. You can make that resize operation a separate function, from which you call your main routine. --Tim On Wednesday, November 26, 2014 09:26:35 AM Emerson Vitor Castelani wrote: Humm, It's useful but I guess

[julia-users] Re: simplex in Julia is very slow

2014-11-26 Thread Emerson Vitor Castelani
Vitor Castelani έγραψε: Well, I am tried to implement a simple version of simplex in Julia and I have had some troubles. In Julia, my algorithm spends about 30 sec and in matlab/octave 3 sec for the same problem. So, I saw some tips in order to get a better performance but the best that I

Re: [julia-users] simplex in Julia is very slow

2014-11-26 Thread Emerson Vitor Castelani
::Matrix, c::Matrix) = simplex(A, vec(b), vec(c)) This also avoids copying the data of b and c needlessly. On Wednesday, November 26, 2014, Emerson Vitor Castelani emerso...@gmail.com javascript: wrote: Have you considered the example scsd8.mat? Em quarta-feira, 26 de novembro de 2014