[BioC] EBImage Error in .Call("lib_readImages", as.character(files), as.integer(colormode),
Gregoire Pau
gregoire.pau at embl.de
Thu Apr 7 17:53:16 CEST 2011
Hello Vladimir,
If ImageMagick is able to read the image, EBImage should be able to do
so. Do you have several installed versions of ImageMagick ? To which
ImageMagick version EBImage is linked to (try otool or ldd on EBImage.so
or EBImage.dll) ?
TIFF is a not a file format but a file container which can contain
exotic formats: could you please send me your image for inspection ?
Cheers,
Greg
---
Gregoire Pau
EMBL Research Officer
http://www.embl.de/~gpau/
On 07/04/11 16:48, Vladimir Morozov wrote:
> Hi,
>
> I get image reading error:
>
>> x<- readImage(
>
> "/data/projects/ImageAnal/tiff/0500101820.0.tif"
>
> )
>
> Error in .Call("lib_readImages", as.character(files), as.integer(colormode), :
>
> negative length vectors are not allowed
>
>> packageVersion('EBImage')
>
> [1] '3.6.0'
>
>>
>
> ImageMagic can work with this image:
>
> convert -channel B -resize '70%' /data/projects/ImageAnal/tiff/0500101820.0.tif /data/projects/ImageAnal/tiff/0500101820.07.jpeg&
>
>
>
> Tthis image is the bigest image from SVS stack:
>
> convert /data/projects/ImageAnal/svs/0500101820.svs /data/projects/ImageAnal/tiff/0500101820.%d.tif
>
> [rstats:ImageAnal] ll -h /data/projects/ImageAnal/tiff/0500101820.*
> -rw-r--r-- 1 vmorozov users 24K 2011-04-06 15:18 /data/projects/ImageAnal/tiff/0500101820.1.tif
> -rw-r--r-- 1 vmorozov users 81M 2011-04-06 15:18 /data/projects/ImageAnal/tiff/0500101820.0.tif
> -rw-r--r-- 1 vmorozov users 155K 2011-04-06 15:18 /data/projects/ImageAnal/tiff/0500101820.5.tif
> -rw-r--r-- 1 vmorozov users 49K 2011-04-06 15:18 /data/projects/ImageAnal/tiff/0500101820.4.tif
> -rw-r--r-- 1 vmorozov users 196K 2011-04-06 15:18 /data/projects/ImageAnal/tiff/0500101820.3.tif
> -rw-r--r-- 1 vmorozov users 3.0M 2011-04-06 15:18 /data/projects/ImageAnal/tiff/0500101820.2.tif
> [rstats:ImageAnal] convert -v
> Version: ImageMagick 6.6.1-0 2010-07-29 Q16 http://www.imagemagick.org
> Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
> Features: OpenMP
> .....
>
>
>
> I have the same problem with other SVS stacks, i.e readImage fails to read the most quality images. it works fine on smaller images
>
>
>
> Any suggestions would be apriciated
>
> Thanks
>
>
>
> Vladimir Morozov
> Sr. Computational Biologist
> ALS Therapy Development Institute
> 215 First Street, Cambridge MA, 02142
> www.als.net<http://www.als.net>
> Help End ALS! Click Here<http://als.net/EndALS.aspx> or Text "EndALS" to 20222 to make a $5 donation towards research.
>
>
>
> ***************************************************************************************
> The information contained in this electronic message is ...{{dropped:21}}
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
More information about the Bioconductor
mailing list