two additional notes:
I get the missing map information when trying to imwrite png
julia> imwrite(img,"a22.png")
ERROR: MethodError: `mapinfo` has no method matching mapinfo(::Type{Images.
ImageMagick}, ::Images.ImageCmap{Color.RGB{T<:Union{AbstractFloat,
FixedPointNumbers.FixedPoint}},2,Array{UI
It's also worth pointing out that since Color became parametric, it should be
cmaprgb = Array(RGB{Float64}, 255) # or choose Ufixed8, Float32, ...
rather than
cmaprgb = Array(RGB, 255)
With the latter you'll have poor performance.
--Tim
On Friday, August 14, 2015 06:54:19 AM Maurizio Tomas
Turns out this was a problem with PBM. imwrite isn't implemented for that
format yet without ImageMagick. Check out the implementation of imread,
though; we could turn it back on
(https://github.com/timholy/Images.jl/pull/337) if you (or someone) wanted to
provide the analog for imwrite.
Howev
On Saturday, August 15, 2015 04:19:52 AM Andreas Lobinger wrote:
> Two things hit me:
> * Image.jl seems to be unstable (segfault in Pkg.build, sometime in using)
Hmm, that's not my experience at all, so I'd definitely appreciate if you filed
an issue.
> * afaics the code Maurizio is using, was
I was planning to test this a little bit more into detail (and then a PR
should be possible).
Two things hit me:
* Image.jl seems to be unstable (segfault in Pkg.build, sometime in using)
* afaics the code Maurizio is using, was your example in a previous
discussion -> is this a valuable test or
Go ahead and submit the bug report. Also let me know what ImageView does with
it. (I never use colormap images myself, so this is less well-tested.)
A pull-request fixing the problem would be even better, of course!
--Tim
On Friday, August 14, 2015 06:54:19 AM Maurizio Tomasi wrote:
> Tim, does
Hello colleague,
i tend to agree, there is something wrong with Images.jl. I get
lobi@orange4:~/juliarepo$ ../julia04/julia
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_)| Documentation: http://docs.julialang.org
_ _ _| |_ __ _
Tim, does ImageCmap works with latest Julia? I cloned the latest Julia
repository (0.4), added the Color, Images, and ImageView package and run
this code (adapted from
https://groups.google.com/forum/#!searchin/julia-users/%22ImageCmap%22/julia-users/T-i1JdwB4zk/f7FEsh4En4oJ
but using PBM form
Images (on which ImageView is based) has an ImageCmap (= "image colormap")
type. You could play with it and see how far you get.
Also, see the "MapInfo" section of
http://timholy.github.io/Images.jl/function_reference.html. It's a crazy-
powerful mechanism for on-the-fly changes in how data are
Hi to everybody,
I am the creator of Healpix.jl, a Julia
package (https://github.com/ziotom78/Healpix.jl) which implements
algorithms related to the Healpix sphere tessellation scheme
(http://healpix.jpl.nasa.gov/). The Healpix scheme subdivides a sphere in
patches (pixels) of equal area, an
10 matches
Mail list logo