Re: [julia-users] Re: Cell array of images like Matlab

2016-09-10 Thread Tim Holy
Try putting a semicolon at the end of that line. Thanks for the bug report! https://github.com/timholy/Images.jl/issues/554 --Tim On Friday, September 9, 2016 5:18:45 PM CDT Drew Mahedy wrote: > In Julia, if I try and concatenate two images together of type: > > Array{ColorTypes.Gray{FixedPoint

[julia-users] Re: Cell array of images like Matlab

2016-09-09 Thread Matt Bauman
I cannot reproduce that error, and I know that the lead author of Images uses stacked image arrays quite frequently. julia> using TestImages, Images src = testimage("mandrill") arr = convert(Array{ColorTypes.Gray{FixedPointNumbers.UFixed{UInt8,8 }},2}, src) cat(3, arr, arr) 5

[julia-users] Re: Cell array of images like Matlab

2016-09-09 Thread Uwe Fechner
Sorry, but this is not a complete example that I could run to reproduce the problem. On Saturday, September 10, 2016 at 2:19:19 AM UTC+2, Drew Mahedy wrote: > > In Julia, if I try and concatenate two images together of type: > > Array{ColorTypes.Gray{FixedPointNumbers.UFixed{UInt8,8}},2} via > >

Re: [julia-users] Re: Cell array of images like Matlab

2016-09-09 Thread El suisse
julia version??? julia>versioninfo() ​ 2016-09-09 21:19 GMT-03:00 Drew Mahedy : > In Julia, if I try and concatenate two images together of type: > > Array{ColorTypes.Gray{FixedPointNumbers.UFixed{UInt8,8}},2} via > > cat( 3, img, img ), > > I get the following error: > > Only two-dimensional im

[julia-users] Re: Cell array of images like Matlab

2016-09-09 Thread Drew Mahedy
In Julia, if I try and concatenate two images together of type: Array{ColorTypes.Gray{FixedPointNumbers.UFixed{UInt8,8}},2} via cat( 3, img, img ), I get the following error: Only two-dimensional images are supported On Wednesday, September 7, 2016 at 7:24:14 PM UTC-7, Uwe Fechner wrote: > > C

[julia-users] Re: Cell array of images like Matlab

2016-09-09 Thread Drew Mahedy
In Julia, if I try and concatenate two images together of type: Array{ColorTypes.Gray{FixedPointNumbers.UFixed{UInt8,8}},2} via cat( 3, img, img ), I get the following error: Only two-dimensional images are supported On Friday, September 9, 2016 at 5:01:39 PM UTC-7, Drew Mahedy wrote: > > Here

[julia-users] Re: Cell array of images like Matlab

2016-09-09 Thread Drew Mahedy
Here is what the code looks like in MATLAB: AA = cell( size(trimcoorddir,1), 1 ); figpathdir2 = dir( strrep( figpath2, '\', filesep ) ); fignames2 = {figpathdir2.name}; for i = 1:length(trimcoorddir); if all( strcmp( fignames2, trimcoord{i}.filename ) == 0 ); A = imread( strrep( [fi

[julia-users] Re: Cell array of images like Matlab

2016-09-07 Thread Uwe Fechner
Could you post code, that reproduces the problem? On Thursday, September 8, 2016 at 1:28:00 AM UTC+2, Drew Mahedy wrote: > > I'm just wondering if there is a way to load several RGB .jpg images into > a 4-D array like can be done in MATLAB using cell array. I have the Images > package installed