This page was generated on 2020-10-17 11:56:30 -0400 (Sat, 17 Oct 2020).
##############################################################################
##############################################################################
###
### Running command:
###
### C:\cygwin\bin\curl.exe -O https://malbec2.bioconductor.org/BBS/3.11/bioc/src/contrib/EBImage_4.30.0.tar.gz && rm -rf EBImage.buildbin-libdir && mkdir EBImage.buildbin-libdir && C:\Users\biocbuild\bbs-3.11-bioc\R\bin\R.exe CMD INSTALL --merge-multiarch --build --library=EBImage.buildbin-libdir EBImage_4.30.0.tar.gz && C:\Users\biocbuild\bbs-3.11-bioc\R\bin\R.exe CMD INSTALL EBImage_4.30.0.zip && rm EBImage_4.30.0.tar.gz EBImage_4.30.0.zip
###
##############################################################################
##############################################################################
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
28 1877k 28 528k 0 0 2498k 0 --:--:-- --:--:-- --:--:-- 2575k
100 1877k 100 1877k 0 0 6244k 0 --:--:-- --:--:-- --:--:-- 6387k
install for i386
* installing *source* package 'EBImage' ...
** using staged installation
** libs
"C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c EBImage.c -o EBImage.o
"C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c clahe.c -o clahe.o
clahe.c: In function 'CLAHE':
clahe.c:223:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
uiSubY = uiYSize+1 >> 1; uiYU = uiNrY-1; uiYB = uiYU;
~~~~~~~^~
clahe.c:235:23: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
uiSubX = uiXSize+1 >> 1; uiXL = uiNrX - 1; uiXR = uiXL;
~~~~~~~^~
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c distmap.cpp -o distmap.o
"C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c drawCircle.c -o drawCircle.o
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c floodFill.cpp -o floodFill.o
"C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c getFrames.c -o getFrames.o
"C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c haralick.c -o haralick.o
"C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c medianFilter.c -o medianFilter.o
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c morphology.cpp -o morphology.o
morphology.cpp: In instantiation of 'void compute_lookup_table_for_line_erode(type***, type*, int, int, chordSet*, PointXY) [with type = int]':
morphology.cpp:253:39: required from 'void erode_dilate(type*, type*, PointXY, int, int, chordSet*, type***) [with type = int]'
morphology.cpp:340:27: required from 'void _morphology(type*, type*, PointXY, int, SEXP, int) [with type = int; SEXP = SEXPREC*]'
morphology.cpp:374:79: required from here
morphology.cpp:196:15: warning: statement has no effect [-Wunused-value]
for (i; i < 0; ++i) {
^
morphology.cpp:199:15: warning: statement has no effect [-Wunused-value]
for (i; i < maxX; ++i) {
^
morphology.cpp:203:15: warning: statement has no effect [-Wunused-value]
for (i; i < size.x + set->maxXoffset; ++i) {
^
morphology.cpp: In instantiation of 'void compute_lookup_table_for_line_dilate(type***, type*, int, int, chordSet*, PointXY) [with type = int]':
morphology.cpp:257:39: required from 'void erode_dilate(type*, type*, PointXY, int, int, chordSet*, type***) [with type = int]'
morphology.cpp:340:27: required from 'void _morphology(type*, type*, PointXY, int, SEXP, int) [with type = int; SEXP = SEXPREC*]'
morphology.cpp:374:79: required from here
morphology.cpp:163:15: warning: statement has no effect [-Wunused-value]
for (i; i < 0; ++i) {
^
morphology.cpp:166:15: warning: statement has no effect [-Wunused-value]
for (i; i < maxX; ++i) {
^
morphology.cpp:170:15: warning: statement has no effect [-Wunused-value]
for (i; i < size.x + set->maxXoffset; ++i) {
^
morphology.cpp: In instantiation of 'void compute_lookup_table_for_line_erode(type***, type*, int, int, chordSet*, PointXY) [with type = double]':
morphology.cpp:253:39: required from 'void erode_dilate(type*, type*, PointXY, int, int, chordSet*, type***) [with type = double]'
morphology.cpp:340:27: required from 'void _morphology(type*, type*, PointXY, int, SEXP, int) [with type = double; SEXP = SEXPREC*]'
morphology.cpp:377:76: required from here
morphology.cpp:196:15: warning: statement has no effect [-Wunused-value]
for (i; i < 0; ++i) {
^
morphology.cpp:199:15: warning: statement has no effect [-Wunused-value]
for (i; i < maxX; ++i) {
^
morphology.cpp:203:15: warning: statement has no effect [-Wunused-value]
for (i; i < size.x + set->maxXoffset; ++i) {
^
morphology.cpp: In instantiation of 'void compute_lookup_table_for_line_dilate(type***, type*, int, int, chordSet*, PointXY) [with type = double]':
morphology.cpp:257:39: required from 'void erode_dilate(type*, type*, PointXY, int, int, chordSet*, type***) [with type = double]'
morphology.cpp:340:27: required from 'void _morphology(type*, type*, PointXY, int, SEXP, int) [with type = double; SEXP = SEXPREC*]'
morphology.cpp:377:76: required from here
morphology.cpp:163:15: warning: statement has no effect [-Wunused-value]
for (i; i < 0; ++i) {
^
morphology.cpp:166:15: warning: statement has no effect [-Wunused-value]
for (i; i < maxX; ++i) {
^
morphology.cpp:170:15: warning: statement has no effect [-Wunused-value]
for (i; i < size.x + set->maxXoffset; ++i) {
^
"C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c nativeRaster.c -o nativeRaster.o
nativeRaster.c: In function 'nativeRaster':
nativeRaster.c:38:7: warning: pointer targets in assignment from 'int *' to 'uint32_t *' {aka 'unsigned int *'} differ in signedness [-Wpointer-sign]
out = INTEGER(res);
^
"C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c normalize.c -o normalize.o
"C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c objects.c -o objects.o
objects.c: In function 'paintObjects':
objects.c:21:30: warning: unused variable 'dp' [-Wunused-variable]
double *obj, *src, *tgt, dp, val;
^~
objects.c: In function 'stackObjects':
objects.c:295:10: warning: 'res' may be used uninitialized in this function [-Wmaybe-uninitialized]
return res;
^~~
In file included from objects.h:5,
from objects.c:1:
C:/Users/BIOCBU~1/BBS-3~1.11-/R/include/Rdefines.h:152:28: warning: 'dim' may be used uninitialized in this function [-Wmaybe-uninitialized]
#define SET_DIM(x, n) Rf_setAttrib(x, R_DimSymbol, n)
^~~~~~~~~~~~
objects.c:192:13: note: 'dim' was declared here
SEXP res, dim, xys, img;
^~~
"C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c ocontour.c -o ocontour.o
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c propagate.cpp -o propagate.o
propagate.cpp: In function 'SEXPREC* propagate(SEXP, SEXP, SEXP, SEXP)':
propagate.cpp:174:31: warning: 'mask' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (! mask_in[IJ(p.i, p.j)]) continue;
^
propagate.cpp:197:8: note: 'mask' was declared here
int *mask;
^~~~
"C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c spatial.c -o spatial.o
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c thresh.cpp -o thresh.o
thresh.cpp: In instantiation of 'void _thresh(T*, int*, int, int, int, int, double) [with T = int]':
thresh.cpp:50:76: required from here
thresh.cpp:64:42: warning: unused variable 'i' [-Wunused-variable]
int xi, yi, u, k, l, ou, nu, ov, nv, i;
^
thresh.cpp: In instantiation of 'void _thresh(T*, int*, int, int, int, int, double) [with T = double]':
thresh.cpp:53:76: required from here
thresh.cpp:64:42: warning: unused variable 'i' [-Wunused-variable]
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tile.cpp -o tile.o
tile.cpp: In function 'SEXPREC* tile(SEXP, SEXP, SEXP)':
tile.cpp:24:17: warning: unused variable 'ims' [-Wunused-variable]
SEXP res, dm, ims;
^~~
tile.cpp: In function 'SEXPREC* untile(SEXP, SEXP, SEXP)':
tile.cpp:161:29: warning: unused variable 'y' [-Wunused-variable]
int nprotect=0, i, j, im, y, iim;
^
tile.cpp:162:18: warning: unused variable 'dat' [-Wunused-variable]
SEXP res, dim, dat;
^~~
tile.cpp:163:11: warning: unused variable 'src' [-Wunused-variable]
double *src, *tgt;
^~~
tile.cpp:163:17: warning: unused variable 'tgt' [-Wunused-variable]
double *src, *tgt;
^~~
"C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c tools.c -o tools.o
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c transpose.cpp -o transpose.o
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c watershed.cpp -o watershed.o
C:/rtools40/mingw32/bin/g++ -std=gnu++11 -shared -s -static-libgcc -o EBImage.dll tmp.def EBImage.o clahe.o distmap.o drawCircle.o floodFill.o getFrames.o haralick.o medianFilter.o morphology.o nativeRaster.o normalize.o objects.o ocontour.o propagate.o spatial.o thresh.o tile.o tools.o transpose.o watershed.o -LC:/extsoft/lib/i386 -LC:/extsoft/lib -LC:/Users/BIOCBU~1/BBS-3~1.11-/R/bin/i386 -lR
installing to C:/Users/biocbuild/bbs-3.11-bioc/meat/EBImage.buildbin-libdir/00LOCK-EBImage/00new/EBImage/libs/i386
** R
** inst
** byte-compile and prepare package for lazy loading
Creating a new generic function for 'abind' in package 'EBImage'
** help
*** installing help indices
converting help for package 'EBImage'
finding HTML links ... done
EBImage-defunct html
EBImage html
Image html
abind html
bwlabel html
channel html
clahe html
colorLabels html
colormap html
combine html
computeFeatures html
display-shiny html
display html
finding level-2 HTML links ... done
distmap html
drawCircle html
equalize html
fillHull html
filter2 html
floodFill html
gblur html
io html
localCurvature html
medianFilter html
morphology html
normalize html
ocontour html
otsu html
paintObjects html
propagate html
rmObjects html
spatial html
stackObjects html
thresh html
tile html
transpose html
watershed html
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
install for x64
* installing *source* package 'EBImage' ...
** libs
"C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c EBImage.c -o EBImage.o
"C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c clahe.c -o clahe.o
clahe.c: In function 'CLAHE':
clahe.c:223:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
uiSubY = uiYSize+1 >> 1; uiYU = uiNrY-1; uiYB = uiYU;
~~~~~~~^~
clahe.c:235:23: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
uiSubX = uiXSize+1 >> 1; uiXL = uiNrX - 1; uiXR = uiXL;
~~~~~~~^~
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c distmap.cpp -o distmap.o
"C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c drawCircle.c -o drawCircle.o
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c floodFill.cpp -o floodFill.o
"C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c getFrames.c -o getFrames.o
"C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c haralick.c -o haralick.o
"C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c medianFilter.c -o medianFilter.o
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c morphology.cpp -o morphology.o
morphology.cpp: In instantiation of 'void compute_lookup_table_for_line_erode(type***, type*, int, int, chordSet*, PointXY) [with type = int]':
morphology.cpp:253:39: required from 'void erode_dilate(type*, type*, PointXY, int, int, chordSet*, type***) [with type = int]'
morphology.cpp:340:27: required from 'void _morphology(type*, type*, PointXY, int, SEXP, int) [with type = int; SEXP = SEXPREC*]'
morphology.cpp:374:79: required from here
morphology.cpp:196:15: warning: statement has no effect [-Wunused-value]
for (i; i < 0; ++i) {
^
morphology.cpp:199:15: warning: statement has no effect [-Wunused-value]
for (i; i < maxX; ++i) {
^
morphology.cpp:203:15: warning: statement has no effect [-Wunused-value]
for (i; i < size.x + set->maxXoffset; ++i) {
^
morphology.cpp: In instantiation of 'void compute_lookup_table_for_line_dilate(type***, type*, int, int, chordSet*, PointXY) [with type = int]':
morphology.cpp:257:39: required from 'void erode_dilate(type*, type*, PointXY, int, int, chordSet*, type***) [with type = int]'
morphology.cpp:340:27: required from 'void _morphology(type*, type*, PointXY, int, SEXP, int) [with type = int; SEXP = SEXPREC*]'
morphology.cpp:374:79: required from here
morphology.cpp:163:15: warning: statement has no effect [-Wunused-value]
for (i; i < 0; ++i) {
^
morphology.cpp:166:15: warning: statement has no effect [-Wunused-value]
for (i; i < maxX; ++i) {
^
morphology.cpp:170:15: warning: statement has no effect [-Wunused-value]
for (i; i < size.x + set->maxXoffset; ++i) {
^
morphology.cpp: In instantiation of 'void compute_lookup_table_for_line_erode(type***, type*, int, int, chordSet*, PointXY) [with type = double]':
morphology.cpp:253:39: required from 'void erode_dilate(type*, type*, PointXY, int, int, chordSet*, type***) [with type = double]'
morphology.cpp:340:27: required from 'void _morphology(type*, type*, PointXY, int, SEXP, int) [with type = double; SEXP = SEXPREC*]'
morphology.cpp:377:76: required from here
morphology.cpp:196:15: warning: statement has no effect [-Wunused-value]
for (i; i < 0; ++i) {
^
morphology.cpp:199:15: warning: statement has no effect [-Wunused-value]
for (i; i < maxX; ++i) {
^
morphology.cpp:203:15: warning: statement has no effect [-Wunused-value]
for (i; i < size.x + set->maxXoffset; ++i) {
^
morphology.cpp: In instantiation of 'void compute_lookup_table_for_line_dilate(type***, type*, int, int, chordSet*, PointXY) [with type = double]':
morphology.cpp:257:39: required from 'void erode_dilate(type*, type*, PointXY, int, int, chordSet*, type***) [with type = double]'
morphology.cpp:340:27: required from 'void _morphology(type*, type*, PointXY, int, SEXP, int) [with type = double; SEXP = SEXPREC*]'
morphology.cpp:377:76: required from here
morphology.cpp:163:15: warning: statement has no effect [-Wunused-value]
for (i; i < 0; ++i) {
^
morphology.cpp:166:15: warning: statement has no effect [-Wunused-value]
for (i; i < maxX; ++i) {
^
morphology.cpp:170:15: warning: statement has no effect [-Wunused-value]
for (i; i < size.x + set->maxXoffset; ++i) {
^
"C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c nativeRaster.c -o nativeRaster.o
nativeRaster.c: In function 'nativeRaster':
nativeRaster.c:38:7: warning: pointer targets in assignment from 'int *' to 'uint32_t *' {aka 'unsigned int *'} differ in signedness [-Wpointer-sign]
out = INTEGER(res);
^
"C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c normalize.c -o normalize.o
"C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c objects.c -o objects.o
objects.c: In function 'paintObjects':
objects.c:21:30: warning: unused variable 'dp' [-Wunused-variable]
double *obj, *src, *tgt, dp, val;
^~
objects.c: In function 'stackObjects':
objects.c:295:10: warning: 'res' may be used uninitialized in this function [-Wmaybe-uninitialized]
return res;
^~~
In file included from objects.h:5,
from objects.c:1:
C:/Users/BIOCBU~1/BBS-3~1.11-/R/include/Rdefines.h:152:28: warning: 'dim' may be used uninitialized in this function [-Wmaybe-uninitialized]
#define SET_DIM(x, n) Rf_setAttrib(x, R_DimSymbol, n)
^~~~~~~~~~~~
objects.c:192:13: note: 'dim' was declared here
SEXP res, dim, xys, img;
^~~
"C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c ocontour.c -o ocontour.o
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c propagate.cpp -o propagate.o
propagate.cpp: In function 'SEXPREC* propagate(SEXP, SEXP, SEXP, SEXP)':
propagate.cpp:174:31: warning: 'mask' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (! mask_in[IJ(p.i, p.j)]) continue;
^
propagate.cpp:197:8: note: 'mask' was declared here
int *mask;
^~~~
"C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c spatial.c -o spatial.o
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c thresh.cpp -o thresh.o
thresh.cpp: In instantiation of 'void _thresh(T*, int*, int, int, int, int, double) [with T = int]':
thresh.cpp:50:76: required from here
thresh.cpp:64:42: warning: unused variable 'i' [-Wunused-variable]
int xi, yi, u, k, l, ou, nu, ov, nv, i;
^
thresh.cpp: In instantiation of 'void _thresh(T*, int*, int, int, int, int, double) [with T = double]':
thresh.cpp:53:76: required from here
thresh.cpp:64:42: warning: unused variable 'i' [-Wunused-variable]
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tile.cpp -o tile.o
tile.cpp: In function 'SEXPREC* tile(SEXP, SEXP, SEXP)':
tile.cpp:24:17: warning: unused variable 'ims' [-Wunused-variable]
SEXP res, dm, ims;
^~~
tile.cpp: In function 'SEXPREC* untile(SEXP, SEXP, SEXP)':
tile.cpp:161:29: warning: unused variable 'y' [-Wunused-variable]
int nprotect=0, i, j, im, y, iim;
^
tile.cpp:162:18: warning: unused variable 'dat' [-Wunused-variable]
SEXP res, dim, dat;
^~~
tile.cpp:163:11: warning: unused variable 'src' [-Wunused-variable]
double *src, *tgt;
^~~
tile.cpp:163:17: warning: unused variable 'tgt' [-Wunused-variable]
double *src, *tgt;
^~~
"C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c tools.c -o tools.o
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c transpose.cpp -o transpose.o
"C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.11-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c watershed.cpp -o watershed.o
C:/rtools40/mingw64/bin/g++ -std=gnu++11 -shared -s -static-libgcc -o EBImage.dll tmp.def EBImage.o clahe.o distmap.o drawCircle.o floodFill.o getFrames.o haralick.o medianFilter.o morphology.o nativeRaster.o normalize.o objects.o ocontour.o propagate.o spatial.o thresh.o tile.o tools.o transpose.o watershed.o -LC:/extsoft/lib/x64 -LC:/extsoft/lib -LC:/Users/BIOCBU~1/BBS-3~1.11-/R/bin/x64 -lR
installing to C:/Users/biocbuild/bbs-3.11-bioc/meat/EBImage.buildbin-libdir/EBImage/libs/x64
** testing if installed package can be loaded
* MD5 sums
packaged installation of 'EBImage' as EBImage_4.30.0.zip
* DONE (EBImage)
* installing to library 'C:/Users/biocbuild/bbs-3.11-bioc/R/library'
package 'EBImage' successfully unpacked and MD5 sums checked
EBImage.Rcheck/tests_i386/test.Rout.fail
R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> ## cat tests/test.R | R --vanilla &>tests/test.Rout.save
> library("EBImage")
>
> set.seed(0) # make random color permutations in 'colorLabels' reproducible
> .digits = floor(-log10(.Machine$double.eps^.5) - 1)
>
> ## returns a hashcode given an object
> hash = function (x) .Call(digest:::digest_impl, serialize(x, connection=NULL, ascii=FALSE, xdr=FALSE), 7L, -1L, 14L, 0L, 0L, PACKAGE="digest")
>
> hash.old <- function(x) {
+ if (is.list(x)) hash(sapply(x,hash))
+ else {
+ xd <- as.numeric(x)
+ xd <- xd[!is.nan(xd)]
+ if (is.matrix(xd)) sum(xd*(1:length(xd))) + 0.7*hash(dim(xd))
+ else sum(xd*(1:length(xd))) - 0.1
+ }
+ }
>
> ## try to evaluate fun(x,...)
> check <- function(fun, x, ..., capture.output=FALSE, suppressWarnings=FALSE, suppressMessages=FALSE, expectError=FALSE, round=FALSE, debug=FALSE) {
+ passed <- TRUE
+
+ cat(sprintf("checking \'%s\' %s ", fun, paste(rep(".", 35L-nchar(fun)), collapse = "")))
+
+ expr = quote(do.call(fun,c(list(x),list(...))))
+ if ( isTRUE(capture.output) ) expr = call("capture.output", expr)
+ if ( isTRUE(suppressWarnings) ) expr = call("suppressWarnings", expr)
+ if ( isTRUE(suppressMessages) ) expr = call("suppressMessages", expr)
+
+ y <- try(eval(expr), silent=TRUE)
+
+ if ( (class(y)=="try-error" && !isTRUE(expectError) ) || ( is.Image(y) && !validObject(y)) ) {
+ y <- NULL
+ passed <- FALSE
+ }
+
+ if (passed) {
+ if ( isTRUE(round) && class(y)!="try-error")
+ y = if ( is.list(y) ) lapply(y, round, digits=.digits) else round(y, digits = .digits)
+ cat("PASS (", hash(y), ") ", hash.old(y), "\n", sep="")
+ }
+ else cat("FAIL\n")
+
+ if ( isTRUE(debug) ) {
+ if (is.Image(y)) show(y)
+ if (is.array(y)) display(y, all=TRUE, interpolate=FALSE)
+ else if (is.character(y)) cat(y, sep="\n")
+ }
+
+ y
+ }
>
> checkIO <- function(name) {
+ cat("checking IO for \'", name, "\' ... ", sep="")
+ x = get(name)
+ y = FALSE
+ if ( !is.null(x) ) {
+ y <- try({
+ xx <- readImage(writeImage(x, tempfile("", fileext = ".tif")))
+ dimnames(xx) <- dimnames(x)
+ identical(x, xx)
+ }, silent=TRUE)
+ }
+ if ( isTRUE(y) ) cat("PASS\n") else cat("FAIL\n")
+ invisible(y)
+ }
>
> testIOFunctions <- function(...) invisible(lapply(list(...), function(y) checkIO(y)))
>
> testEBImageFunctions <- function(x) {
+ cat("new test (hash=", hash(x), ")\n", sep="")
+
+ z <- check("show", x, capture.output=TRUE)
+ z <- check("print", x, short=TRUE, capture.output=TRUE)
+ if ( typeof(x)=="logical" )
+ z <- check("hist", EBImage:::castImage(x), breaks = c(0, .5, 1))
+ else
+ z <- check("hist", x)
+
+ ## pixel arithmetic
+ z <- check(">", x, 0.5)
+ z <- check("+", x, x)
+ z <- check("/", x, 2)
+ z <- check("*", 2L, x)
+ z <- check("median", x)
+ z <- check("quantile", x)
+
+ ## image methods
+ z <- check("Image", x, colormode="Color")
+ z <- check("as.Image", x)
+ z <- check("is.Image", x)
+ z <- check("imageData", x)
+ z <- check("imageData<-", x, z)
+ z <- check("as.raster", x)
+ z <- check("colorMode<-", x, Grayscale, suppressWarnings=TRUE)
+ y <- check("numberOfFrames", x, type="render")
+ z <- if ( y==1L ) check("getFrames", x, 1L, "render") else check("getFrames", x)
+ z <- check("display", x, method = "browser", tempDir = file.path(dirname(tempdir()), "EBImage_tmp"))
+ if ( y>2L ) {
+ z <- check("display", x, method = "raster", all = TRUE)
+ z <- check("image", x, i = 3L)
+ }
+ else {
+ z <- if (y==1L) check("display", x, method = "raster") else check("display", x, method = "raster", frame = 2L, suppressMessages=TRUE)
+ z <- check("image", x, suppressMessages=TRUE)
+ }
+
+ ## drawCircle
+ d <- dim(x)
+ c.x <- ceiling(d[1L]/2)
+ c.y <- ceiling(d[2L]/2)
+ radius <- max(c.x-1, 1)
+ nf <- numberOfFrames(x, "render")
+ fill <- nf > 1
+ col <- if ( colorMode(x)==Color ) "yellow" else 1
+ z <- check("drawCircle", x, c.x, c.x, radius, col, fill, nf)
+
+ ## subset
+ sub <- list(x, 1:min(10,d[1L]), 1:min(7,d[2L]))
+ if (length(d)>2) sub <- c(sub, rep(TRUE, length(d)-2))
+ z <- do.call("check", c("[", sub))
+
+ ## spatial transform
+ z <- check("resize", x, 137, 22)
+ z <- check("rotate", x, 20)
+ z <- check("flip", x)
+ z <- check("flop", x)
+ z <- check("translate", x, c(-7, 5), bg.col=1)
+ z <- check("affine", x, matrix(c(-7, 5, 0.1, -0.2, 0.3, 1), ncol=2L))
+ z <- check("transpose", x)
+
+ ## segmentation
+ fd = pmin(5, (d[1:2]-1)/2)
+ z <- check("thresh", x, w=fd[1L], h=fd[2L])
+ y <- check("channel", x, "luminance")
+ z <- check("otsu", y)
+ y <- suppressWarnings(normalize(y, separate=FALSE))
+ y <- check("bwlabel", y > 0.5)
+ z <- check("colorLabels", y, suppressWarnings=TRUE)
+ z <- check("stackObjects", y, x)
+ z <- check("stackObjects", Image(dim=dim(y)), x)
+ cls <- if ( colorMode(x)==Color ) TRUE else FALSE
+ z <- check("paintObjects", y, x, col=c("#ff00ff", "#ffff00"), opac=c(1.0, 0.5), thick=cls, closed=cls)
+ z <- check("rmObjects", y, as.list(seq_len(numberOfFrames(y))), cls)
+ z <- check("reenumerate", z)
+ z <- check("reenumerate", y)
+
+ ## features
+ x1 <- getFrame(x, 1)
+ x2 <- list(x=x1, y=2*x1)
+ y1 <- getFrame(y, 1)
+ expandRef <- if ( min(dim(x1)) > 31L ) function(ref, refnames) standardExpandRef(ref, refnames, gblob(n=31L)) else NULL
+ z <- check("computeFeatures", y1, x2, expandRef = expandRef, round = !is.null(expandRef))
+ z <- check("computeFeatures", y1, x2, expandRef = expandRef, properties = TRUE)
+
+ ## curvature
+ y <- check("ocontour", x>0.5)
+ if (length(y) > 0L ) z <- check("localCurvature", y[[1L]], round=TRUE)
+
+ ## filtering
+ z <- check("normalize", x, suppressWarnings=TRUE)
+ z <- check("normalize", x, inputRange=c(0.1, 0.9), suppressWarnings=TRUE)
+ z <- check("gblur", x, sigma=1, expectError=min(d)<7, round=TRUE)
+ y <- if (cls) "replicate" else if (nf>1) 0.5 else "circular"
+ z <- check("filter2", x, array(1, dim=c(5, 5)), y, round=TRUE)
+ z <- check("medianFilter", x, 2)
+ z <- check("equalize", x, suppressWarnings=TRUE)
+
+ ## morphological operations
+ y <- x > 0.5
+ z <- check("erode", y)
+ z <- check("dilate", y, makeBrush(5, 'disc'))
+ z <- check("opening", y, makeBrush(7, 'line'))
+ z <- check("closing", y, makeBrush(4, 'line', angle=0), suppressWarnings=TRUE)
+ z <- check("whiteTopHat", x, makeBrush(3, 'box'))
+ z <- check("blackTopHat", x, makeBrush(5, 'disc'))
+ z <- check("selfComplementaryTopHat", x)
+ z <- check("distmap", y)
+ z <- check("watershed", z)
+ z <- check('floodFill', x, c(5, 5), 0.5)
+ z <- check('fillHull', y)
+
+ ## propagate
+ y <- thresh(x, w=fd[1L], h=fd[2L], offset=0.02)
+ y <- fillHull(y)
+ y <- bwlabel(y)
+ z <- check("propagate", x, y, x>0.5)
+
+ ## colorspace
+ z <- check("toRGB", x)
+ z <- check("rgbImage", x, x>0.5)
+ z <- check("colormap", channel(x, "luminance"), heat.colors(16L))
+
+ ## image stacking, combining, tiling
+ y <- check("combine", list(NULL, x, x, NULL, NULL))
+ z <- check("combine", x, y, y)
+ y <- check("tile", z, nx=3)
+ z <- check("untile", y, c(3, 2))
+ y <- check("abind", list(x, x), along=length(d)+1L)
+ cat("\n")
+ }
>
>
> ## check error handling
> try.readImage <- function(...) tryCatch(suppressWarnings(readImage(...)), error = function(e) NULL)
> mock <- try.readImage(system.file("images", package="EBImage"), type="png")
> mock <- try.readImage("http://www.huber.embl.de/EBImage/missing.file ", type="png")
>
> ## single greyscale and color images
> sample <- try.readImage(system.file("images","sample.png", package="EBImage"))
> sample.color <- try.readImage(system.file("images","sample-color.png", package="EBImage"))
> ## multi-frame image stack
> f = system.file("images","nuclei.tif", package="EBImage")
> nuclei = try.readImage(c(f, f))
|
EBImage.Rcheck/tests_x64/test.Rout
R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> ## cat tests/test.R | R --vanilla &>tests/test.Rout.save
> library("EBImage")
>
> set.seed(0) # make random color permutations in 'colorLabels' reproducible
> .digits = floor(-log10(.Machine$double.eps^.5) - 1)
>
> ## returns a hashcode given an object
> hash = function (x) .Call(digest:::digest_impl, serialize(x, connection=NULL, ascii=FALSE, xdr=FALSE), 7L, -1L, 14L, 0L, 0L, PACKAGE="digest")
>
> hash.old <- function(x) {
+ if (is.list(x)) hash(sapply(x,hash))
+ else {
+ xd <- as.numeric(x)
+ xd <- xd[!is.nan(xd)]
+ if (is.matrix(xd)) sum(xd*(1:length(xd))) + 0.7*hash(dim(xd))
+ else sum(xd*(1:length(xd))) - 0.1
+ }
+ }
>
> ## try to evaluate fun(x,...)
> check <- function(fun, x, ..., capture.output=FALSE, suppressWarnings=FALSE, suppressMessages=FALSE, expectError=FALSE, round=FALSE, debug=FALSE) {
+ passed <- TRUE
+
+ cat(sprintf("checking \'%s\' %s ", fun, paste(rep(".", 35L-nchar(fun)), collapse = "")))
+
+ expr = quote(do.call(fun,c(list(x),list(...))))
+ if ( isTRUE(capture.output) ) expr = call("capture.output", expr)
+ if ( isTRUE(suppressWarnings) ) expr = call("suppressWarnings", expr)
+ if ( isTRUE(suppressMessages) ) expr = call("suppressMessages", expr)
+
+ y <- try(eval(expr), silent=TRUE)
+
+ if ( (class(y)=="try-error" && !isTRUE(expectError) ) || ( is.Image(y) && !validObject(y)) ) {
+ y <- NULL
+ passed <- FALSE
+ }
+
+ if (passed) {
+ if ( isTRUE(round) && class(y)!="try-error")
+ y = if ( is.list(y) ) lapply(y, round, digits=.digits) else round(y, digits = .digits)
+ cat("PASS (", hash(y), ") ", hash.old(y), "\n", sep="")
+ }
+ else cat("FAIL\n")
+
+ if ( isTRUE(debug) ) {
+ if (is.Image(y)) show(y)
+ if (is.array(y)) display(y, all=TRUE, interpolate=FALSE)
+ else if (is.character(y)) cat(y, sep="\n")
+ }
+
+ y
+ }
>
> checkIO <- function(name) {
+ cat("checking IO for \'", name, "\' ... ", sep="")
+ x = get(name)
+ y = FALSE
+ if ( !is.null(x) ) {
+ y <- try({
+ xx <- readImage(writeImage(x, tempfile("", fileext = ".tif")))
+ dimnames(xx) <- dimnames(x)
+ identical(x, xx)
+ }, silent=TRUE)
+ }
+ if ( isTRUE(y) ) cat("PASS\n") else cat("FAIL\n")
+ invisible(y)
+ }
>
> testIOFunctions <- function(...) invisible(lapply(list(...), function(y) checkIO(y)))
>
> testEBImageFunctions <- function(x) {
+ cat("new test (hash=", hash(x), ")\n", sep="")
+
+ z <- check("show", x, capture.output=TRUE)
+ z <- check("print", x, short=TRUE, capture.output=TRUE)
+ if ( typeof(x)=="logical" )
+ z <- check("hist", EBImage:::castImage(x), breaks = c(0, .5, 1))
+ else
+ z <- check("hist", x)
+
+ ## pixel arithmetic
+ z <- check(">", x, 0.5)
+ z <- check("+", x, x)
+ z <- check("/", x, 2)
+ z <- check("*", 2L, x)
+ z <- check("median", x)
+ z <- check("quantile", x)
+
+ ## image methods
+ z <- check("Image", x, colormode="Color")
+ z <- check("as.Image", x)
+ z <- check("is.Image", x)
+ z <- check("imageData", x)
+ z <- check("imageData<-", x, z)
+ z <- check("as.raster", x)
+ z <- check("colorMode<-", x, Grayscale, suppressWarnings=TRUE)
+ y <- check("numberOfFrames", x, type="render")
+ z <- if ( y==1L ) check("getFrames", x, 1L, "render") else check("getFrames", x)
+ z <- check("display", x, method = "browser", tempDir = file.path(dirname(tempdir()), "EBImage_tmp"))
+ if ( y>2L ) {
+ z <- check("display", x, method = "raster", all = TRUE)
+ z <- check("image", x, i = 3L)
+ }
+ else {
+ z <- if (y==1L) check("display", x, method = "raster") else check("display", x, method = "raster", frame = 2L, suppressMessages=TRUE)
+ z <- check("image", x, suppressMessages=TRUE)
+ }
+
+ ## drawCircle
+ d <- dim(x)
+ c.x <- ceiling(d[1L]/2)
+ c.y <- ceiling(d[2L]/2)
+ radius <- max(c.x-1, 1)
+ nf <- numberOfFrames(x, "render")
+ fill <- nf > 1
+ col <- if ( colorMode(x)==Color ) "yellow" else 1
+ z <- check("drawCircle", x, c.x, c.x, radius, col, fill, nf)
+
+ ## subset
+ sub <- list(x, 1:min(10,d[1L]), 1:min(7,d[2L]))
+ if (length(d)>2) sub <- c(sub, rep(TRUE, length(d)-2))
+ z <- do.call("check", c("[", sub))
+
+ ## spatial transform
+ z <- check("resize", x, 137, 22)
+ z <- check("rotate", x, 20)
+ z <- check("flip", x)
+ z <- check("flop", x)
+ z <- check("translate", x, c(-7, 5), bg.col=1)
+ z <- check("affine", x, matrix(c(-7, 5, 0.1, -0.2, 0.3, 1), ncol=2L))
+ z <- check("transpose", x)
+
+ ## segmentation
+ fd = pmin(5, (d[1:2]-1)/2)
+ z <- check("thresh", x, w=fd[1L], h=fd[2L])
+ y <- check("channel", x, "luminance")
+ z <- check("otsu", y)
+ y <- suppressWarnings(normalize(y, separate=FALSE))
+ y <- check("bwlabel", y > 0.5)
+ z <- check("colorLabels", y, suppressWarnings=TRUE)
+ z <- check("stackObjects", y, x)
+ z <- check("stackObjects", Image(dim=dim(y)), x)
+ cls <- if ( colorMode(x)==Color ) TRUE else FALSE
+ z <- check("paintObjects", y, x, col=c("#ff00ff", "#ffff00"), opac=c(1.0, 0.5), thick=cls, closed=cls)
+ z <- check("rmObjects", y, as.list(seq_len(numberOfFrames(y))), cls)
+ z <- check("reenumerate", z)
+ z <- check("reenumerate", y)
+
+ ## features
+ x1 <- getFrame(x, 1)
+ x2 <- list(x=x1, y=2*x1)
+ y1 <- getFrame(y, 1)
+ expandRef <- if ( min(dim(x1)) > 31L ) function(ref, refnames) standardExpandRef(ref, refnames, gblob(n=31L)) else NULL
+ z <- check("computeFeatures", y1, x2, expandRef = expandRef, round = !is.null(expandRef))
+ z <- check("computeFeatures", y1, x2, expandRef = expandRef, properties = TRUE)
+
+ ## curvature
+ y <- check("ocontour", x>0.5)
+ if (length(y) > 0L ) z <- check("localCurvature", y[[1L]], round=TRUE)
+
+ ## filtering
+ z <- check("normalize", x, suppressWarnings=TRUE)
+ z <- check("normalize", x, inputRange=c(0.1, 0.9), suppressWarnings=TRUE)
+ z <- check("gblur", x, sigma=1, expectError=min(d)<7, round=TRUE)
+ y <- if (cls) "replicate" else if (nf>1) 0.5 else "circular"
+ z <- check("filter2", x, array(1, dim=c(5, 5)), y, round=TRUE)
+ z <- check("medianFilter", x, 2)
+ z <- check("equalize", x, suppressWarnings=TRUE)
+
+ ## morphological operations
+ y <- x > 0.5
+ z <- check("erode", y)
+ z <- check("dilate", y, makeBrush(5, 'disc'))
+ z <- check("opening", y, makeBrush(7, 'line'))
+ z <- check("closing", y, makeBrush(4, 'line', angle=0), suppressWarnings=TRUE)
+ z <- check("whiteTopHat", x, makeBrush(3, 'box'))
+ z <- check("blackTopHat", x, makeBrush(5, 'disc'))
+ z <- check("selfComplementaryTopHat", x)
+ z <- check("distmap", y)
+ z <- check("watershed", z)
+ z <- check('floodFill', x, c(5, 5), 0.5)
+ z <- check('fillHull', y)
+
+ ## propagate
+ y <- thresh(x, w=fd[1L], h=fd[2L], offset=0.02)
+ y <- fillHull(y)
+ y <- bwlabel(y)
+ z <- check("propagate", x, y, x>0.5)
+
+ ## colorspace
+ z <- check("toRGB", x)
+ z <- check("rgbImage", x, x>0.5)
+ z <- check("colormap", channel(x, "luminance"), heat.colors(16L))
+
+ ## image stacking, combining, tiling
+ y <- check("combine", list(NULL, x, x, NULL, NULL))
+ z <- check("combine", x, y, y)
+ y <- check("tile", z, nx=3)
+ z <- check("untile", y, c(3, 2))
+ y <- check("abind", list(x, x), along=length(d)+1L)
+ cat("\n")
+ }
>
>
> ## check error handling
> try.readImage <- function(...) tryCatch(suppressWarnings(readImage(...)), error = function(e) NULL)
> mock <- try.readImage(system.file("images", package="EBImage"), type="png")
> mock <- try.readImage("http://www.huber.embl.de/EBImage/missing.file ", type="png")
>
> ## single greyscale and color images
> sample <- try.readImage(system.file("images","sample.png", package="EBImage"))
> sample.color <- try.readImage(system.file("images","sample-color.png", package="EBImage"))
> ## multi-frame image stack
> f = system.file("images","nuclei.tif", package="EBImage")
> nuclei = try.readImage(c(f, f))
> ## test reading from URL
> logo <- try.readImage("http://www.huber.embl.de/EBImage/logo.png")
>
> ## test: IO operations
> testIOFunctions("sample", "sample.color", "nuclei", "logo")
checking IO for 'sample' ... PASS
checking IO for 'sample.color' ... PASS
checking IO for 'nuclei' ... PASS
checking IO for 'logo' ... PASS
>
> ## test: black image
> testEBImageFunctions(Image(0, c(8, 8)))
new test (hash=67057c76373b3603)
checking 'show' ............................... PASS (28a07aa400220e9c) NA
checking 'print' .............................. PASS (7ff286491e0fb82d) NA
checking 'hist' ............................... PASS (2712d468291c3634) 564c8651356fa77f
checking '>' .................................. PASS (8ff0e262cdf1b2d9) -0.1
checking '+' .................................. PASS (67057c76373b3603) -0.1
checking '/' .................................. PASS (67057c76373b3603) -0.1
checking '*' .................................. PASS (67057c76373b3603) -0.1
checking 'median' ............................. PASS (0c72e13f2da056a7) -0.1
checking 'quantile' ........................... PASS (d6d34cfe857308c8) -0.1
checking 'Image' .............................. PASS (06c1e94d4bc59a35) -0.1
checking 'as.Image' ........................... PASS (67057c76373b3603) -0.1
checking 'is.Image' ........................... PASS (c5cfdf6777477824) 0.9
checking 'imageData' .......................... PASS (7cf8da82897ca7ed) -0.1
checking 'imageData<-' ........................ PASS (67057c76373b3603) -0.1
checking 'as.raster' .......................... PASS (b7cb0a90f04b6263) NA
checking 'colorMode<-' ........................ PASS (67057c76373b3603) -0.1
checking 'numberOfFrames' ..................... PASS (8e2352fb8e5e5114) 0.9
checking 'getFrames' .......................... PASS (6dc251bf107e7a89) 75ec8db46b25b343
checking 'display' ............................ PASS (b6e562444aa235fd) 3d6015b7e631b37d
checking 'display' ............................ PASS (4a72ef17f0bfbfcd) -0.1
checking 'image' .............................. PASS (4a72ef17f0bfbfcd) -0.1
checking 'drawCircle' ......................... PASS (4bb749b9b33bdc31) 447.9
checking '[' .................................. PASS (e9d628cb714f2ae4) -0.1
checking 'resize' ............................. PASS (4d1192f70ce09751) -0.1
checking 'rotate' ............................. PASS (4e59843d240ab1dd) -0.1
checking 'flip' ............................... PASS (67057c76373b3603) -0.1
checking 'flop' ............................... PASS (67057c76373b3603) -0.1
checking 'translate' .......................... PASS (568f8a693cf3d43d) 1932.9
checking 'affine' ............................. PASS (0dd403afc6b994a2) -0.1
checking 'transpose' .......................... PASS (0dd403afc6b994a2) -0.1
checking 'thresh' ............................. PASS (925a8ec641d9a080) -0.1
checking 'channel' ............................ PASS (67057c76373b3603) -0.1
checking 'otsu' ............................... PASS (4f84ddb5ca598088) -0.09804688
checking 'bwlabel' ............................ PASS (925a8ec641d9a080) -0.1
checking 'colorLabels' ........................ PASS (60d924e59b167063) -0.1
checking 'stackObjects' ....................... PASS (4a72ef17f0bfbfcd) -0.1
checking 'stackObjects' ....................... PASS (4a72ef17f0bfbfcd) -0.1
checking 'paintObjects' ....................... PASS (0dd403afc6b994a2) -0.1
checking 'rmObjects' .......................... PASS (925a8ec641d9a080) -0.1
checking 'reenumerate' ........................ PASS (925a8ec641d9a080) -0.1
checking 'reenumerate' ........................ PASS (925a8ec641d9a080) -0.1
checking 'computeFeatures' .................... PASS (4a72ef17f0bfbfcd) -0.1
checking 'computeFeatures' .................... PASS (50090732ff9f9962) 15441bc08dd0233a
checking 'ocontour' ........................... PASS (66766fdfc8e61cb4) 66766fdfc8e61cb4
checking 'normalize' .......................... PASS (0dd403afc6b994a2) -0.1
checking 'normalize' .......................... PASS (0dd403afc6b994a2) -0.1
checking 'gblur' .............................. PASS (67057c76373b3603) -0.1
checking 'filter2' ............................ PASS (67057c76373b3603) -0.1
checking 'medianFilter' ....................... PASS (0dd403afc6b994a2) -0.1
checking 'equalize' ........................... PASS (67057c76373b3603) -0.1
checking 'erode' .............................. PASS (d3559f388747a87f) -0.1
checking 'dilate' ............................. PASS (d3559f388747a87f) -0.1
checking 'opening' ............................ PASS (d3559f388747a87f) -0.1
checking 'closing' ............................ PASS (d3559f388747a87f) -0.1
checking 'whiteTopHat' ........................ PASS (0dd403afc6b994a2) -0.1
checking 'blackTopHat' ........................ PASS (0dd403afc6b994a2) -0.1
checking 'selfComplementaryTopHat' ............ PASS (0dd403afc6b994a2) -0.1
checking 'distmap' ............................ PASS (0dd403afc6b994a2) -0.1
checking 'watershed' .......................... PASS (925a8ec641d9a080) -0.1
checking 'floodFill' .......................... PASS (eb3083b18bd87ea4) 1039.9
checking 'fillHull' ........................... PASS (8ff0e262cdf1b2d9) -0.1
checking 'propagate' .......................... PASS (925a8ec641d9a080) -0.1
checking 'toRGB' .............................. PASS (ff1d7511b4927e76) -0.1
checking 'rgbImage' ........................... PASS (ff1d7511b4927e76) -0.1
checking 'colormap' ........................... PASS (5620aa25715ebe1f) 2079.9
checking 'combine' ............................ PASS (5c33e82d01650b07) -0.1
checking 'combine' ............................ PASS (c91384928d6a8c8e) -0.1
checking 'tile' ............................... PASS (c0936f2bb862eeb6) 42140.88
checking 'untile' ............................. PASS (35e673bec7ac0968) 16809.31
checking 'abind' .............................. PASS (5c33e82d01650b07) -0.1
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
>
> ## test: white image
> testEBImageFunctions(Image(1L, c(5, 5)))
new test (hash=84811adc9ccb6a43)
checking 'show' ............................... PASS (efe22f560cf2ee5c) NA
checking 'print' .............................. PASS (74faac36aea39eec) NA
checking 'hist' ............................... PASS (0c56f536c0973a7c) 62d9325e9a60969c
checking '>' .................................. PASS (bfe40ba0889a2d11) 324.9
checking '+' .................................. PASS (6b457795bc65c18b) 649.9
checking '/' .................................. PASS (05c5b11fa9b2068d) 162.4
checking '*' .................................. PASS (6b457795bc65c18b) 649.9
checking 'median' ............................. PASS (8e2352fb8e5e5114) 0.9
checking 'quantile' ........................... PASS (c429873628f1b765) 14.9
checking 'Image' .............................. PASS (a7134010d9775a89) 324.9
checking 'as.Image' ........................... PASS (84811adc9ccb6a43) 324.9
checking 'is.Image' ........................... PASS (c5cfdf6777477824) 0.9
checking 'imageData' .......................... PASS (86add6eb3d9c9aea) 324.9
checking 'imageData<-' ........................ PASS (84811adc9ccb6a43) 324.9
checking 'as.raster' .......................... PASS (08f26b538ed6f151) NA
checking 'colorMode<-' ........................ PASS (84811adc9ccb6a43) 324.9
checking 'numberOfFrames' ..................... PASS (8e2352fb8e5e5114) 0.9
checking 'getFrames' .......................... PASS (52fa1d1a01e8b1a6) a68a19a45a3aecfe
checking 'display' ............................ PASS (0df7f39e89a77641) e97af3de5d8990d3
checking 'display' ............................ PASS (4a72ef17f0bfbfcd) -0.1
checking 'image' .............................. PASS (4a72ef17f0bfbfcd) -0.1
checking 'drawCircle' ......................... PASS (2cd64c1bdc442f99) 324.9
checking '[' .................................. PASS (84811adc9ccb6a43) 324.9
checking 'resize' ............................. PASS (e856a1c0400af5bd) 4543605
checking 'rotate' ............................. PASS (76128c4334b78309) 483.6843
checking 'flip' ............................... PASS (84811adc9ccb6a43) 324.9
checking 'flop' ............................... PASS (84811adc9ccb6a43) 324.9
checking 'translate' .......................... PASS (2cd64c1bdc442f99) 324.9
checking 'affine' ............................. PASS (190906c8867b1585) 39.9
checking 'transpose' .......................... PASS (84811adc9ccb6a43) 324.9
checking 'thresh' ............................. PASS (81904b15ab632676) -0.1
checking 'channel' ............................ PASS (84811adc9ccb6a43) 324.9
checking 'otsu' ............................... PASS (341a03667d4038cf) 0.8980469
checking 'bwlabel' ............................ PASS (84811adc9ccb6a43) 324.9
checking 'colorLabels' ........................ PASS (9db9e8962f437e2a) 2849.9
checking 'stackObjects' ....................... PASS (6761caa75c9faef8) 324.9
checking 'stackObjects' ....................... PASS (4a72ef17f0bfbfcd) -0.1
checking 'paintObjects' ....................... PASS (baaf7570b7456799) 270.7333
checking 'rmObjects' .......................... PASS (81904b15ab632676) -0.1
checking 'reenumerate' ........................ PASS (81904b15ab632676) -0.1
checking 'reenumerate' ........................ PASS (84811adc9ccb6a43) 324.9
checking 'computeFeatures' .................... PASS (7651ceb759bd0e6e) 950932.9
checking 'computeFeatures' .................... PASS (50090732ff9f9962) 15441bc08dd0233a
checking 'ocontour' ........................... PASS (a77df0f3bf26b51b) 077256e0c9892e5c
checking 'localCurvature' ..................... PASS (8cdca9a0513c3339) 5140cfa2d459ae6b
checking 'normalize' .......................... PASS (2cd64c1bdc442f99) 324.9
checking 'normalize' .......................... PASS (2cd64c1bdc442f99) 324.9
checking 'gblur' .............................. PASS (2c3d3965498eeab8) NA
checking 'filter2' ............................ PASS (04f5371e266b17cb) 8124.9
checking 'medianFilter' ....................... PASS (2cd64c1bdc442f99) 324.9
checking 'equalize' ........................... PASS (84811adc9ccb6a43) 324.9
checking 'erode' .............................. PASS (bfe40ba0889a2d11) 324.9
checking 'dilate' ............................. PASS (bfe40ba0889a2d11) 324.9
checking 'opening' ............................ PASS (bfe40ba0889a2d11) 324.9
checking 'closing' ............................ PASS (bfe40ba0889a2d11) 324.9
checking 'whiteTopHat' ........................ PASS (81904b15ab632676) -0.1
checking 'blackTopHat' ........................ PASS (81904b15ab632676) -0.1
checking 'selfComplementaryTopHat' ............ PASS (6b457795bc65c18b) 649.9
checking 'distmap' ............................ PASS (9bca8d045f7fd7aa) Inf
checking 'watershed' .......................... PASS (84811adc9ccb6a43) 324.9
checking 'floodFill' .......................... PASS (81904b15ab632676) -0.1
checking 'fillHull' ........................... PASS (bfe40ba0889a2d11) 324.9
checking 'propagate' .......................... PASS (81904b15ab632676) -0.1
checking 'toRGB' .............................. PASS (37479123fac496a3) 2849.9
checking 'rgbImage' ........................... PASS (bfa8c6798f413ca9) 1274.9
checking 'colormap' ........................... PASS (2ee5b2e4d6b7a807) 2652.253
checking 'combine' ............................ PASS (4bf0d0b518924a84) 1274.9
checking 'combine' ............................ PASS (183ff4240dd23906) 7874.9
checking 'tile' ............................... PASS (408129daa1daae14) 24420.64
checking 'untile' ............................. PASS (6ca10c8ebd1dd737) 10445.49
checking 'abind' .............................. PASS (4bf0d0b518924a84) 1274.9
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
4: In hash.old(y) : NAs introduced by coercion
>
> ## test: 2D Grayscale 64x48
> x <- nuclei[50:113,208:255,2]
> testEBImageFunctions(as.array(x))
new test (hash=d9b5f3076619d6d6)
checking 'show' ............................... PASS (2369a7c0462a6b5a) NA
checking 'print' .............................. PASS (2369a7c0462a6b5a) NA
checking 'hist' ............................... PASS (e72dc44a7d1a3974) 8bd5fd8b5adafbcc
checking '>' .................................. PASS (741aeb61bea6e5ea) 1217568
checking '+' .................................. PASS (29603c1a0d01fe20) 2940144
checking '/' .................................. PASS (304543247e80325e) 735035.9
checking '*' .................................. PASS (29603c1a0d01fe20) 2940144
checking 'median' ............................. PASS (0eba0d97082030ab) 0.04509804
checking 'quantile' ........................... PASS (34059ab9cd6355fe) 7.331373
checking 'Image' .............................. PASS (8e2a20e723ba9adc) 1470072
checking 'as.Image' ........................... PASS (329602b8b5e75627) 1470072
checking 'is.Image' ........................... PASS (22434d0f508e0455) -0.1
checking 'imageData' .......................... PASS (d9b5f3076619d6d6) 1470072
checking 'imageData<-' ........................ PASS (d9b5f3076619d6d6) 1470072
checking 'as.raster' .......................... PASS (1121bcfe44305c0d) NA
checking 'colorMode<-' ........................ PASS (47a5f37493855c0e) NA
checking 'numberOfFrames' ..................... PASS (8e2352fb8e5e5114) 0.9
checking 'getFrames' .......................... PASS (fefcd63e624c1bee) 3669543b0a5ab6c5
checking 'display' ............................ PASS (d12c25577fc0ae01) f22064b0a46f4499
checking 'display' ............................ PASS (4a72ef17f0bfbfcd) -0.1
checking 'image' .............................. PASS (4a72ef17f0bfbfcd) -0.1
checking 'drawCircle' ......................... PASS (3c3a4dce1cc34dca) 1607165
checking '[' .................................. PASS (362dc96ab12005d8) 48.94314
checking 'resize' ............................. PASS (88656458551aa663) 1419476
checking 'rotate' ............................. PASS (a77b95723957bd53) 2493977
checking 'flip' ............................... PASS (af4a5804ae6963f0) 1195977
checking 'flop' ............................... PASS (2390c64fbc01936c) 1462119
checking 'translate' .......................... PASS (ca8d506746cbe8a6) 2133961
checking 'affine' ............................. PASS (5d26bb5c15069253) 54171.17
checking 'transpose' .......................... PASS (28e006fbd8a3fb4f) 1522055
checking 'thresh' ............................. PASS (1000e9571087e50a) 1262811
checking 'channel' ............................ PASS (d9b5f3076619d6d6) 1470072
checking 'otsu' ............................... PASS (beff39d5c5d30532) 0.3160156
checking 'bwlabel' ............................ PASS (4657b717111a5a09) 1199387
checking 'colorLabels' ........................ PASS (ea2e6bfde313bfe2) 10021713
checking 'stackObjects' ....................... PASS (1fee09fec27d58c3) 718602.9
checking 'stackObjects' ....................... PASS (4a72ef17f0bfbfcd) -0.1
checking 'paintObjects' ....................... PASS (53d63c2995c63fe7) 1447733
checking 'rmObjects' .......................... PASS (93e55f84762d3e10) -0.1
checking 'reenumerate' ........................ PASS (93e55f84762d3e10) -0.1
checking 'reenumerate' ........................ PASS (4657b717111a5a09) 1199387
checking 'computeFeatures' .................... PASS (de6203a592fc892f) 3634215
checking 'computeFeatures' .................... PASS (dfdbe9cdff74e039) 3c9c549599821827
checking 'ocontour' ........................... PASS (c6fa8ca01032d0e0) fe5f72d4d75a84dd
checking 'localCurvature' ..................... PASS (611e832ecb1e2d86) 839f42c42edf7a26
checking 'normalize' .......................... PASS (384f4d5f164b8927) 1431381
checking 'normalize' .......................... PASS (00134ee633d7f224) 1266798
checking 'gblur' .............................. PASS (8a32f10682836e3a) 1466231
checking 'filter2' ............................ PASS (edc473eef918a772) 36592176
checking 'medianFilter' ....................... PASS (03e60235796a34f8) 1454712
checking 'equalize' ........................... PASS (ead728b91c59bdf3) 2642794
checking 'erode' .............................. PASS (722bb94152cd5404) 759774.9
checking 'dilate' ............................. PASS (2985310f2fc42356) 1797576
checking 'opening' ............................ PASS (14eeb88ccfc0334a) 1152484
checking 'closing' ............................ PASS (6b0640fcae8bbb0f) 1232737
checking 'whiteTopHat' ........................ PASS (b78629ad9870f67e) 18730.15
checking 'blackTopHat' ........................ PASS (167951a7a45661e2) 27716.23
checking 'selfComplementaryTopHat' ............ PASS (0c1d3178fb3af334) 2929436
checking 'distmap' ............................ PASS (66fe9e5107b4d571) 3826969
checking 'watershed' .......................... PASS (32f28339d17a2852) 2762113
checking 'floodFill' .......................... PASS (fbde444e46d95e4d) 1470197
checking 'fillHull' ........................... PASS (741aeb61bea6e5ea) 1217568
checking 'propagate' .......................... PASS (357bd8bfcbd1047d) 3464201
checking 'toRGB' .............................. PASS (1030fbda2191c01b) 12381911
checking 'rgbImage' ........................... PASS (d6ff2b1c9958d05c) 4859544
checking 'colormap' ........................... PASS (7d6e566cd80ee992) 11126039
checking 'combine' ............................ PASS (5a7e6609d362b469) 5597376
checking 'combine' ............................ PASS (c23977e2dc8ace45) 33922678
checking 'tile' ............................... PASS (05f2b454c26a295c) 78718054
checking 'untile' ............................. PASS (263c2059331ac059) 72597772
checking 'abind' .............................. PASS (5a7e6609d362b469) 5597376
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
4: In hash.old(y) : NAs introduced by coercion
>
> ## test: 2D Color 32x48x1
> x <- sample[1:32, 1:48]
> testEBImageFunctions(Image(as.vector(x), dim(x), Color))
new test (hash=af963833f52cc0bd)
checking 'show' ............................... PASS (79d9208863175ae7) NA
checking 'print' .............................. PASS (7ca80d9481e90728) NA
checking 'hist' ............................... PASS (dcae7853d104ebd4) 1f836a58351df65b
checking '>' .................................. PASS (7105b2cb790ff430) 988518.9
checking '+' .................................. PASS (2c5697e7b8ff16df) 1531522
checking '/' .................................. PASS (fa9bd0c7b10e74aa) 382880.4
checking '*' .................................. PASS (2c5697e7b8ff16df) 1531522
checking 'median' ............................. PASS (acb249dde6db4b8b) 0.5039216
checking 'quantile' ........................... PASS (915bcda165290ff4) 10.10392
checking 'Image' .............................. PASS (af963833f52cc0bd) 765760.9
checking 'as.Image' ........................... PASS (af963833f52cc0bd) 765760.9
checking 'is.Image' ........................... PASS (c5cfdf6777477824) 0.9
checking 'imageData' .......................... PASS (e087b3b6432906ce) 765760.9
checking 'imageData<-' ........................ PASS (af963833f52cc0bd) 765760.9
checking 'as.raster' .......................... PASS (e1de128180f674aa) NA
checking 'colorMode<-' ........................ PASS (99fa28ac6a4d3b8f) 765760.9
checking 'numberOfFrames' ..................... PASS (8e2352fb8e5e5114) 0.9
checking 'getFrames' .......................... PASS (b93d23a4010b16df) 4d68f060492feec1
checking 'display' ............................ PASS (de11b0b2e7a37592) dfcc8c821e308cc2
checking 'display' ............................ PASS (4a72ef17f0bfbfcd) -0.1
checking 'image' .............................. PASS (4a72ef17f0bfbfcd) -0.1
checking 'drawCircle' ......................... PASS (84c7c34b14456e39) 782100.7
checking '[' .................................. PASS (60cde76d6519d9d2) 1285.273
checking 'resize' ............................. PASS (ff46a1ee14995b8f) 2941770
checking 'rotate' ............................. PASS (f2dc87f2efabfa50) 1247487
checking 'flip' ............................... PASS (f3086ac583faef5d) 661525.2
checking 'flop' ............................... PASS (13fd8745dc2d96dd) 768451.1
checking 'translate' .......................... PASS (6f7dabbb36d0a8cb) 820434.5
checking 'affine' ............................. PASS (b42e8198f8b288b3) 22238.15
checking 'transpose' .......................... PASS (e7d25b58eeb821c5) 652051.4
checking 'thresh' ............................. PASS (d01647e3023d6a73) 382924.9
checking 'channel' ............................ PASS (dbf521d149ba2097) 162800.7
checking 'otsu' ............................... PASS (eeb23c3a41116cd3) 0.03085937
checking 'bwlabel' ............................ PASS (53954bb9151049f1) 832970.9
checking 'colorLabels' ........................ PASS (6e003a68522a54ab) 3692613
checking 'stackObjects' ....................... PASS (edd5b4b37aa43ebc) 596493.9
checking 'stackObjects' ....................... PASS (4a72ef17f0bfbfcd) -0.1
checking 'paintObjects' ....................... PASS (15d4a0b8b77f24d9) 919069.9
checking 'rmObjects' .......................... PASS (532e00b80736b3f0) 565.9
checking 'reenumerate' ........................ PASS (532e00b80736b3f0) 565.9
checking 'reenumerate' ........................ PASS (53954bb9151049f1) 832970.9
checking 'computeFeatures' .................... PASS (74fe708668c9e3be) 3988895
checking 'computeFeatures' .................... PASS (dfdbe9cdff74e039) 3c9c549599821827
checking 'ocontour' ........................... PASS (63d189418364b4b8) 288bb80abfd67c83
checking 'localCurvature' ..................... PASS (e3b73aad089aeb80) bca4bf44a841eee8
checking 'normalize' .......................... PASS (a92e818f4e73c73a) 747801.4
checking 'normalize' .......................... PASS (abefb6f2a1f94308) 809649.2
checking 'gblur' .............................. PASS (d025fcfc14a974dc) 761679.3
checking 'filter2' ............................ PASS (c58ebc4ff2153f5a) 19130329
checking 'medianFilter' ....................... PASS (98fcdf536fbd7323) 765141.6
checking 'equalize' ........................... PASS (f48cce45900220e7) 705546.8
checking 'erode' .............................. PASS (87c34cd3ab434176) 908526.9
checking 'dilate' ............................. PASS (6c93fac1f8c9cb29) 1072658
checking 'opening' ............................ PASS (8655ad1e0550f18c) 985798.9
checking 'closing' ............................ PASS (ea050dc3c7d5a983) 988727.9
checking 'whiteTopHat' ........................ PASS (58d597df70d6d088) 3572.998
checking 'blackTopHat' ........................ PASS (6ce59e41f02d4c9b) 7139.473
checking 'selfComplementaryTopHat' ............ PASS (a8e77e0c7732da28) 1533178
checking 'distmap' ............................ PASS (3f87bb08626b6535) 12740449
checking 'watershed' .......................... PASS (1537ab2b5e366c26) 988518.9
checking 'floodFill' .......................... PASS (a5d0f458f7355fef) 765755.4
checking 'fillHull' ........................... PASS (7105b2cb790ff430) 988518.9
checking 'propagate' .......................... PASS (4d49fbc865fcc9f9) 26630579
checking 'toRGB' .............................. PASS (af963833f52cc0bd) 765760.9
checking 'rgbImage' ........................... PASS (38db6b7b93d64d43) 3520680
checking 'colormap' ........................... PASS (7dbf1c97bcc2874c) 1816912
checking 'combine' ............................ PASS (31a69529a5d56755) 2960568
checking 'combine' ............................ PASS (c80dde57174bab24) 18119267
checking 'tile' ............................... PASS (455f47d2d54808cb) 33061491
checking 'untile' ............................. PASS (9a408e3ec431a525) 27788327
checking 'abind' .............................. PASS (8156800e62cd86ee) 2960568
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
>
> ## test: 3D Color 65x17x3
> x <- sample.color[1:65, 1:17,]
> testEBImageFunctions(x)
new test (hash=a8700a1a817ece1a)
checking 'show' ............................... PASS (224dd1d656f350f6) NA
checking 'print' .............................. PASS (a40af5685cc8269d) NA
checking 'hist' ............................... PASS (eb0457adc5317bf8) b8eb55bf0532d24e
checking '>' .................................. PASS (97b32c224cb2038e) 1058553
checking '+' .................................. PASS (c3c4f84560225ee1) 4072301
checking '/' .................................. PASS (462544d97bf52e6b) 1018075
checking '*' .................................. PASS (c3c4f84560225ee1) 4072301
checking 'median' ............................. PASS (87cf0535c43c036e) 0.2333333
checking 'quantile' ........................... PASS (9277f475391c119f) 7.280392
checking 'Image' .............................. PASS (a8700a1a817ece1a) 2036151
checking 'as.Image' ........................... PASS (a8700a1a817ece1a) 2036151
checking 'is.Image' ........................... PASS (c5cfdf6777477824) 0.9
checking 'imageData' .......................... PASS (3748dfd715f2f24c) 2036151
checking 'imageData<-' ........................ PASS (a8700a1a817ece1a) 2036151
checking 'as.raster' .......................... PASS (776bd22cc98096ec) NA
checking 'colorMode<-' ........................ PASS (2e0907315a15d900) 2036151
checking 'numberOfFrames' ..................... PASS (8e2352fb8e5e5114) 0.9
checking 'getFrames' .......................... PASS (f21033753e0ff75f) cf443fd8e278b8c7
checking 'display' ............................ PASS (347538c33b9ad85e) 567d7adc778638c6
checking 'display' ............................ PASS (4a72ef17f0bfbfcd) -0.1
checking 'image' .............................. PASS (4a72ef17f0bfbfcd) -0.1
checking 'drawCircle' ......................... PASS (bbd7ea4c6399409c) 2049936
checking '[' .................................. PASS (2954cdeb04f46f1b) 9950.096
checking 'resize' ............................. PASS (5fa97b7a141ea096) 15155777
checking 'rotate' ............................. PASS (bb8c420c87c69bd9) 4525312
checking 'flip' ............................... PASS (cb6f0bb0d8f75136) 1977928
checking 'flop' ............................... PASS (d03b1a0dfd0d05c0) 2048664
checking 'translate' .......................... PASS (f6fb6f5cca098a55) 2998417
checking 'affine' ............................. PASS (c1f501e539afb0d9) 226067.6
checking 'transpose' .......................... PASS (361d1659a2faa942) 1907377
checking 'thresh' ............................. PASS (2340dc5bc89035a0) 954376.9
checking 'channel' ............................ PASS (3dcd329136ff3c0a) 257578.5
checking 'otsu' ............................... PASS (8328b85a064115c8) 0.3316406
checking 'bwlabel' ............................ PASS (2a53cf89b4a35c8a) 230329.9
checking 'colorLabels' ........................ PASS (076e153870ae4bd1) 1920855
checking 'stackObjects' ....................... PASS (2c3e1762984035ea) 712799.6
checking 'stackObjects' ....................... PASS (4a72ef17f0bfbfcd) -0.1
checking 'paintObjects' ....................... PASS (8b7094dedac4a5ea) 2090128
checking 'rmObjects' .......................... PASS (e82eefc2fff258bf) -0.1
checking 'reenumerate' ........................ PASS (e82eefc2fff258bf) -0.1
checking 'reenumerate' ........................ PASS (2a53cf89b4a35c8a) 230329.9
checking 'computeFeatures' .................... PASS (6344934de1c41a15) 746878.2
checking 'computeFeatures' .................... PASS (50090732ff9f9962) 15441bc08dd0233a
checking 'ocontour' ........................... PASS (647d51ebccc4030f) 2ef919687e9417fa
checking 'localCurvature' ..................... PASS (4113d1dace095a0b) 45a555b9cb41a832
checking 'normalize' .......................... PASS (ba670ee7628eadb4) 1788995
checking 'normalize' .......................... PASS (02201ae4e6232a01) 1858155
checking 'gblur' .............................. PASS (8af3a5440acf649e) 2029979
checking 'filter2' ............................ PASS (2130cb6a691f392f) 50878763
checking 'medianFilter' ....................... PASS (e4487f529c0c8f64) 2034604
checking 'equalize' ........................... PASS (336ae345b6b47d86) 2942981
checking 'erode' .............................. PASS (1668d070c32a3352) 830816.9
checking 'dilate' ............................. PASS (70f0b97d44055dc4) 1339263
checking 'opening' ............................ PASS (bf8703b54eaaf477) 1013295
checking 'closing' ............................ PASS (2a44925702fbcb45) 1069405
checking 'whiteTopHat' ........................ PASS (382c254a636d15be) 16585.63
checking 'blackTopHat' ........................ PASS (17f9061f04410117) 22039.05
checking 'selfComplementaryTopHat' ............ PASS (7345b102e7c10661) 4071763
checking 'distmap' ............................ PASS (917c16e57cfe8663) 6038778
checking 'watershed' .......................... PASS (7a21acc522ee0901) 1058553
checking 'floodFill' .......................... PASS (c2241780baf4fb5b) 2036854
checking 'fillHull' ........................... PASS (97b32c224cb2038e) 1058553
checking 'propagate' .......................... PASS (311992f3f5e46ef3) 7755487
checking 'toRGB' .............................. PASS (a8700a1a817ece1a) 2036151
checking 'rgbImage' ........................... PASS (f62e8adff44b7c30) 7617867
checking 'colormap' ........................... PASS (59b0e3b5d157ad95) 1657338
checking 'combine' ............................ PASS (0528c501d17e5d54) 8350133
checking 'combine' ............................ PASS (e4c59363823d705b) 52959073
checking 'tile' ............................... PASS (2584fda7b98afd99) 107188639
checking 'untile' ............................. PASS (a54c5217f194f8a7) 97994583
checking 'abind' .............................. PASS (0528c501d17e5d54) 8350133
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
>
> ## test: 3D Grayscale logical 32x32x2
> x <- sample[32:63, 32:63]
> x <- x > otsu(x)
> x <- combine(x, x)
> testEBImageFunctions(x)
new test (hash=4b09dd41cbab311b)
checking 'show' ............................... PASS (dafa895e16b40940) NA
checking 'print' .............................. PASS (1dd6ebc27d9cea77) NA
checking 'hist' ............................... PASS (16637f9ce417231b) 5b10b73ee17adf34
checking '>' .................................. PASS (4b09dd41cbab311b) 1055560
checking '+' .................................. PASS (0031052f170117d7) 2111120
checking '/' .................................. PASS (6d13c861166d3689) 527779.9
checking '*' .................................. PASS (0031052f170117d7) 2111120
checking 'median' ............................. PASS (0c72e13f2da056a7) -0.1
checking 'quantile' ........................... PASS (51de3cb0579b1fa7) 8.9
checking 'Image' .............................. PASS (b23cf29adbb5fed3) 1055560
checking 'as.Image' ........................... PASS (4b09dd41cbab311b) 1055560
checking 'is.Image' ........................... PASS (c5cfdf6777477824) 0.9
checking 'imageData' .......................... PASS (7e0b835dfca0fb75) 1055560
checking 'imageData<-' ........................ PASS (4b09dd41cbab311b) 1055560
checking 'as.raster' .......................... PASS (af83eab6f6962d19) NA
checking 'colorMode<-' ........................ PASS (4b09dd41cbab311b) 1055560
checking 'numberOfFrames' ..................... PASS (47c6414be054e0d0) 1.9
checking 'getFrames' .......................... PASS (7e972c640b9b852f) a1f5d26a9d057d98
checking 'display' ............................ PASS (626250b1adff3cb2) 9b7e750fa769cc06
checking 'display' ............................ PASS (4a72ef17f0bfbfcd) -0.1
checking 'image' .............................. PASS (4a72ef17f0bfbfcd) -0.1
checking 'drawCircle' ......................... PASS (2c87a6f556ab6c8d) 1656514
checking '[' .................................. PASS (40687433ad7c74b8) 1889.9
checking 'resize' ............................. PASS (5e22a297f1aaa672) 9108608
checking 'rotate' ............................. PASS (d368a6f158e4a42d) 1600126
checking 'flip' ............................... PASS (08331f5962dbffab) 714439.9
checking 'flop' ............................... PASS (bdf04d54490d4771) 1064092
checking 'translate' .......................... PASS (4545c4961aced975) 1105982
checking 'affine' ............................. PASS (b9ba81b3f9f1117b) 133467.8
checking 'transpose' .......................... PASS (60241d37c5fff28e) 758083.9
checking 'thresh' ............................. PASS (5f90f811f0ede222) 824497.9
checking 'channel' ............................ PASS (4b09dd41cbab311b) 1055560
checking 'otsu' ............................... PASS (6ab30063c9cb4fd4) 1.4
checking 'bwlabel' ............................ PASS (298b1cc69347d741) 1597368
checking 'colorLabels' ........................ PASS (e04a2ac8541504d7) 5485361
checking 'stackObjects' ....................... PASS (432fd14dd5cd7f1a) 8889538
checking 'stackObjects' ....................... PASS (4a72ef17f0bfbfcd) -0.1
checking 'paintObjects' ....................... PASS (8a38af2995ce8037) 834266.6
checking 'rmObjects' .......................... PASS (26480ded39aa6e19) 1303423
checking 'reenumerate' ........................ PASS (c80605c7f02da85a) 1244828
checking 'reenumerate' ........................ PASS (298b1cc69347d741) 1597368
checking 'computeFeatures' .................... PASS (68343f70d0d1737f) 416164140
checking 'computeFeatures' .................... PASS (dfdbe9cdff74e039) 3c9c549599821827
checking 'ocontour' ........................... PASS (4fb2389f9904a311) 45cc779fff8d5561
checking 'localCurvature' ..................... PASS (2b74e1f8fbe5a7bb) e1e04eee7ccb5870
checking 'normalize' .......................... PASS (1ab59eb9157a66c6) 1055560
checking 'normalize' .......................... PASS (1ab59eb9157a66c6) 1055560
checking 'gblur' .............................. PASS (6873c841e6335823) 1037581
checking 'filter2' ............................ PASS (b706a262c26703d3) 26149148
checking 'medianFilter' ....................... PASS (e30e8be2936478c0) 1030730
checking 'equalize' ........................... PASS (b186ac1b62a4c060) 1055560
checking 'erode' .............................. PASS (0f3e44fb76ab60a2) 617311.9
checking 'dilate' ............................. PASS (02cad0bca5d24adc) 1591594
checking 'opening' ............................ PASS (c2244cde8fad46a6) 861145.9
checking 'closing' ............................ PASS (783b09b51e1dac61) 1188258
checking 'whiteTopHat' ........................ PASS (15133662899d87a7) 148131.9
checking 'blackTopHat' ........................ PASS (38c6e9d2a3359f3a) 202411.9
checking 'selfComplementaryTopHat' ............ PASS (bd3b404b3e65d4a5) 2151192
checking 'distmap' ............................ PASS (2c1bf601469a0408) 3856630
checking 'watershed' .......................... PASS (99b0fcb0618a08a3) 1443978
checking 'floodFill' .......................... PASS (fe0b548324d9c2d2) 2057384
checking 'fillHull' ........................... PASS (55bdd69a997e6afd) 1096352
checking 'propagate' .......................... PASS (cbe3a7ff31614dc9) 1613920
checking 'toRGB' .............................. PASS (0895f276518f814d) 8499672
checking 'rgbImage' ........................... PASS (b668bde871560b72) 4777616
checking 'colormap' ........................... PASS (3f5ffda79b2f0553) 10283526
checking 'combine' ............................ PASS (f21d8b3848d5696c) 3888784
checking 'combine' ............................ PASS (8d16b343816bf734) 23054440
checking 'tile' ............................... PASS (ed09cbf55843986b) 48846817
checking 'untile' ............................. PASS (2eba92509b4a3f7d) 41221063
checking 'abind' .............................. PASS (4cb74831c75c81a7) 3888784
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
>
> ## test: 4D Color 33x16x3x2
> x <- sample.color[1:33, 1:16,]
> x <- combine(x, x)
> testEBImageFunctions(x)
new test (hash=7ce18f5b62a76390)
checking 'show' ............................... PASS (0ae4482e10a26740) NA
checking 'print' .............................. PASS (e0ed7a93a4106da4) NA
checking 'hist' ............................... PASS (94f8933c34ca94b4) a75f7b269456bfde
checking '>' .................................. PASS (75463e2974ea48a0) 2013322
checking '+' .................................. PASS (708a2765a1b6a1b2) 4709417
checking '/' .................................. PASS (a634c92d3bbfbede) 1177354
checking '*' .................................. PASS (708a2765a1b6a1b2) 4709417
checking 'median' ............................. PASS (d97d8924cf85a8a5) 0.3823529
checking 'quantile' ........................... PASS (f18a831d6b8056b5) 8.139216
checking 'Image' .............................. PASS (7ce18f5b62a76390) 2354709
checking 'as.Image' ........................... PASS (7ce18f5b62a76390) 2354709
checking 'is.Image' ........................... PASS (c5cfdf6777477824) 0.9
checking 'imageData' .......................... PASS (6a2bd2e6c0c6c75f) 2354709
checking 'imageData<-' ........................ PASS (7ce18f5b62a76390) 2354709
checking 'as.raster' .......................... PASS (1a41feaea0ef9abe) NA
checking 'colorMode<-' ........................ PASS (dc506f8cc068e851) 2354709
checking 'numberOfFrames' ..................... PASS (47c6414be054e0d0) 1.9
checking 'getFrames' .......................... PASS (a5288dbe65f25cd6) a80ea9eb0f9417b9
checking 'display' ............................ PASS (cfc06c54b45f8f0e) c509f8fbd80bc509
checking 'display' ............................ PASS (4a72ef17f0bfbfcd) -0.1
checking 'image' .............................. PASS (4a72ef17f0bfbfcd) -0.1
checking 'drawCircle' ......................... PASS (66f69e688d65628b) 2650006
checking '[' .................................. PASS (12b5f821c2b0d2e8) 40701.82
checking 'resize' ............................. PASS (e98e16e095f09d8b) 76725662
checking 'rotate' ............................. PASS (c06b816a74a85930) 4140744
checking 'flip' ............................... PASS (711d8d751f94d02a) 2309692
checking 'flop' ............................... PASS (d8bc3756ffa68c46) 2358658
checking 'translate' .......................... PASS (08a04d76fd84f8a9) 3393923
checking 'affine' ............................. PASS (1d7cc91f3ca03a90) 301692.6
checking 'transpose' .......................... PASS (6b92009904695f08) 2303263
checking 'thresh' ............................. PASS (80fc6f84d1721b6c) 1549362
checking 'channel' ............................ PASS (016d3b6c9ef07ea9) 287206.2
checking 'otsu' ............................... PASS (c1466d3e9ed225ff) 1.370703
checking 'bwlabel' ............................ PASS (23f3e658e40843e6) 360413.9
checking 'colorLabels' ........................ PASS (2136b39e576c2fd8) 3039066
checking 'stackObjects' ....................... PASS (ed0585b95997fac5) 2472601
checking 'stackObjects' ....................... PASS (4a72ef17f0bfbfcd) -0.1
checking 'paintObjects' ....................... PASS (cc901b1d73d052c3) 2558300
checking 'rmObjects' .......................... PASS (f5c9853583c7bbd8) 261782.9
checking 'reenumerate' ........................ PASS (f5c9853583c7bbd8) 261782.9
checking 'reenumerate' ........................ PASS (23f3e658e40843e6) 360413.9
checking 'computeFeatures' .................... PASS (2e873772a807481f) 749353.1
checking 'computeFeatures' .................... PASS (50090732ff9f9962) 15441bc08dd0233a
checking 'ocontour' ........................... PASS (86cde5e313b695a0) 78ca62fbf5e57ed1
checking 'localCurvature' ..................... PASS (61ebfebadd0bc3bc) 2cc8e223a70d08d2
checking 'normalize' .......................... PASS (ce655ec7ea73b99e) 2693244
checking 'normalize' .......................... PASS (5ddeb05eddf25516) 2315924
checking 'gblur' .............................. PASS (3e17902124a2f452) 2349701
checking 'filter2' ............................ PASS (b788265845a8767b) 58841710
checking 'medianFilter' ....................... PASS (b92b17b3a8f23f6f) 2352447
checking 'equalize' ........................... PASS (8e4d63381a60e499) 2616480
checking 'erode' .............................. PASS (046f720832faefd3) 1547948
checking 'dilate' ............................. PASS (2b4adac0ed5b574a) 2604996
checking 'opening' ............................ PASS (00b2b73e7d165898) 1919386
checking 'closing' ............................ PASS (5418d86566ce96d6) 2038196
checking 'whiteTopHat' ........................ PASS (cbde5539090bf855) 12437.36
checking 'blackTopHat' ........................ PASS (974cab12d6071583) 19780.97
checking 'selfComplementaryTopHat' ............ PASS (a90ee1eecd2ff9a2) 4711722
checking 'distmap' ............................ PASS (9f25a778bc97481a) 10836360
checking 'watershed' .......................... PASS (7a09d7342dc0f1a0) 2013322
checking 'floodFill' .......................... PASS (deadb7299ed4ae4c) 2355706
checking 'fillHull' ........................... PASS (75463e2974ea48a0) 2013322
checking 'propagate' .......................... PASS (36f86ec18247ef6b) 11618104
checking 'toRGB' .............................. PASS (7ce18f5b62a76390) 2354709
checking 'rgbImage' ........................... PASS (b68eac88bee91956) 12071186
checking 'colormap' ........................... PASS (8991145702cf1a1d) 2273276
checking 'combine' ............................ PASS (6b7a141d16f0ff9d) 9516503
checking 'combine' ............................ PASS (8a3bbbcab44cf5d3) 59844403
checking 'tile' ............................... PASS (2b989ec77441d03c) 114300809
checking 'untile' ............................. PASS (4d221c39718805d7) 105862114
checking 'abind' .............................. PASS (b84e592c120c2dc4) 9516503
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
>
> ## test: 4D Grayscale 16x33x2x3
> colorMode(x) <- Grayscale
> imageData(x) <- aperm(x, c(2L, 1L, 4L, 3L))
> testEBImageFunctions(x)
new test (hash=9fc22140f821c3db)
checking 'show' ............................... PASS (c5619352b713b97a) NA
checking 'print' .............................. PASS (730e516d39ebdcb9) NA
checking 'hist' ............................... PASS (fc4bd84511b1dbcd) 7ccaa9087fb51b1e
checking '>' .................................. PASS (e95948a7271d6140) 1541186
checking '+' .................................. PASS (a735051c797bb01e) 4466272
checking '/' .................................. PASS (a29be071024794dd) 1116568
checking '*' .................................. PASS (a735051c797bb01e) 4466272
checking 'median' ............................. PASS (d97d8924cf85a8a5) 0.3823529
checking 'quantile' ........................... PASS (f18a831d6b8056b5) 8.139216
checking 'Image' .............................. PASS (b848c7fa6ef5711a) 2233136
checking 'as.Image' ........................... PASS (9fc22140f821c3db) 2233136
checking 'is.Image' ........................... PASS (c5cfdf6777477824) 0.9
checking 'imageData' .......................... PASS (8945f6f7d972b099) 2233136
checking 'imageData<-' ........................ PASS (9fc22140f821c3db) 2233136
checking 'as.raster' .......................... PASS (3ed23c36d7cf6fef) NA
checking 'colorMode<-' ........................ PASS (9fc22140f821c3db) 2233136
checking 'numberOfFrames' ..................... PASS (e57a146deb1262fb) 5.9
checking 'getFrames' .......................... PASS (3bd24aa4207f0c89) 90612e13312a5d87
checking 'display' ............................ PASS (7b4df230f1f50d6a) 02ddd6795ea6a506
checking 'display' ............................ PASS (4a72ef17f0bfbfcd) -0.1
checking 'image' .............................. PASS (4a72ef17f0bfbfcd) -0.1
checking 'drawCircle' ......................... PASS (9f28556022a99d82) 2502013
checking '[' .................................. PASS (db6811fed5c7de4c) 41200.75
checking 'resize' ............................. PASS (162900c4d68f18ef) 72772706
checking 'rotate' ............................. PASS (461a74661ede03a2) 3978266
checking 'flip' ............................... PASS (43e2c283a4c5d5bf) 2296325
checking 'flop' ............................... PASS (f5ee0c93b4c5462d) 2231772
checking 'translate' .......................... PASS (1bc68ba412b5ac8d) 3827517
checking 'affine' ............................. PASS (2ddfca6e7d25b608) 219714.6
checking 'transpose' .......................... PASS (e0b146d3092f86de) 2284582
checking 'thresh' ............................. PASS (a6eb16986d255449) 1426674
checking 'channel' ............................ PASS (9fc22140f821c3db) 2233136
checking 'otsu' ............................... PASS (0ac1a37e8d92fca2) 9.425391
checking 'bwlabel' ............................ PASS (a7ce281fc9236d07) 2016822
checking 'colorLabels' ........................ PASS (ea86f9c1039117cf) 15071536
checking 'stackObjects' ....................... PASS (b6fed64e161874b7) 2575847
checking 'stackObjects' ....................... PASS (4a72ef17f0bfbfcd) -0.1
checking 'paintObjects' ....................... PASS (a61b14e7c6a56f44) 2379341
checking 'rmObjects' .......................... PASS (1f1da17d9695481f) 1934575
checking 'reenumerate' ........................ PASS (1f1da17d9695481f) 1934575
checking 'reenumerate' ........................ PASS (a7ce281fc9236d07) 2016822
checking 'computeFeatures' .................... PASS (cc175f06f4e3d24e) 734993.9
checking 'computeFeatures' .................... PASS (50090732ff9f9962) 15441bc08dd0233a
checking 'ocontour' ........................... PASS (c3467ffca55b567e) f9b4e9dd6f0620cc
checking 'localCurvature' ..................... PASS (c2e5b0512504cf2b) 58e95cf7155aa389
checking 'normalize' .......................... PASS (ffb2c6f2e9456c82) 2526618
checking 'normalize' .......................... PASS (76b48a6eb4e0efc2) 2163958
checking 'gblur' .............................. PASS (f2ca45a6f13083a8) 2237219
checking 'filter2' ............................ PASS (574ac5a312e4d274) 56904871
checking 'medianFilter' ....................... PASS (8792be4c6105d68a) 2231438
checking 'equalize' ........................... PASS (2ae18db56bcbbb53) 2447139
checking 'erode' .............................. PASS (c3503d68ad771f8a) 1121204
checking 'dilate' ............................. PASS (bdbfcf0fb3209a4f) 2104588
checking 'opening' ............................ PASS (370781133c8a06a0) 1451050
checking 'closing' ............................ PASS (dbc6f3a18cc68c33) 1569448
checking 'whiteTopHat' ........................ PASS (6b7e05a31bbfd6f6) 12004.54
checking 'blackTopHat' ........................ PASS (41695f50d5c9a326) 20296.87
checking 'selfComplementaryTopHat' ............ PASS (97aed475b3ab8ab9) 4469404
checking 'distmap' ............................ PASS (186c9727f67ccd6b) 7464344
checking 'watershed' .......................... PASS (21cc1e7d9b206802) 1541186
checking 'floodFill' .......................... PASS (25273d6abfdcf297) 2234521
checking 'fillHull' ........................... PASS (e95948a7271d6140) 1541186
checking 'propagate' .......................... PASS (45a6e2970cf3464e) 8948876
checking 'toRGB' .............................. PASS (048668563133edf0) 20279146
checking 'rgbImage' ........................... PASS (f2292a48a4b344b6) 10796552
checking 'colormap' ........................... PASS (c010da686ce82dca) 22585273
checking 'combine' ............................ PASS (bb4de48544ede30b) 8992851
checking 'combine' ............................ PASS (b9bb148574bf8c35) 56431472
checking 'tile' ............................... PASS (76fecef737d06abf) 72664167
checking 'untile' ............................. PASS (0c9f82c009e2a842) 60048605
checking 'abind' .............................. PASS (50e03d5fb0bcdc2e) 9273358
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
>
> ## test: Image subclass
> ImageSubclass <- setClass ("ImageSubclass", contains = "Image", slots = c(foo = "character"))
> x <- ImageSubclass(x, foo="bar")
> testEBImageFunctions(x)
new test (hash=7a8ade88fcc5e918)
checking 'show' ............................... PASS (37c1cb96896bf3e0) NA
checking 'print' .............................. PASS (de0939c4d4190bf4) NA
checking 'hist' ............................... PASS (fc4bd84511b1dbcd) 7ccaa9087fb51b1e
checking '>' .................................. PASS (895f193846f9172f) 1541186
checking '+' .................................. PASS (b4c0eb50514c395e) 4466272
checking '/' .................................. PASS (750488cabe80708f) 1116568
checking '*' .................................. PASS (b4c0eb50514c395e) 4466272
checking 'median' ............................. PASS (d97d8924cf85a8a5) 0.3823529
checking 'quantile' ........................... PASS (f18a831d6b8056b5) 8.139216
checking 'Image' .............................. PASS (b848c7fa6ef5711a) 2233136
checking 'as.Image' ........................... PASS (9fc22140f821c3db) 2233136
checking 'is.Image' ........................... PASS (c5cfdf6777477824) 0.9
checking 'imageData' .......................... PASS (8945f6f7d972b099) 2233136
checking 'imageData<-' ........................ PASS (7a8ade88fcc5e918) 2233136
checking 'as.raster' .......................... PASS (3ed23c36d7cf6fef) NA
checking 'colorMode<-' ........................ PASS (7a8ade88fcc5e918) 2233136
checking 'numberOfFrames' ..................... PASS (e57a146deb1262fb) 5.9
checking 'getFrames' .......................... PASS (b16a0686a4bcc89d) f818bd45c3983fa4
checking 'display' ............................ PASS (7b4df230f1f50d6a) 02ddd6795ea6a506
checking 'display' ............................ PASS (4a72ef17f0bfbfcd) -0.1
checking 'image' .............................. PASS (4a72ef17f0bfbfcd) -0.1
checking 'drawCircle' ......................... PASS (4e3a14cf4aec4e86) 2502013
checking '[' .................................. PASS (d8d067ccf4598866) 41200.75
checking 'resize' ............................. PASS (6109906558547111) 72772706
checking 'rotate' ............................. PASS (cc7d8d9f74f632f3) 3978266
checking 'flip' ............................... PASS (b0adc5d391d447e5) 2296325
checking 'flop' ............................... PASS (a1d42a1285379920) 2231772
checking 'translate' .......................... PASS (b0b535537c33ea71) 3827517
checking 'affine' ............................. PASS (8364e028bd59e0e5) 219714.6
checking 'transpose' .......................... PASS (4662cf15af9ffed4) 2284582
checking 'thresh' ............................. PASS (f55dde87036b1ac4) 1426674
checking 'channel' ............................ PASS (7a8ade88fcc5e918) 2233136
checking 'otsu' ............................... PASS (0ac1a37e8d92fca2) 9.425391
checking 'bwlabel' ............................ PASS (09aee993ab4d9f10) 2016822
checking 'colorLabels' ........................ PASS (4ab0dd56398e4b72) 15969784
checking 'stackObjects' ....................... PASS (c3f2ed45392383f7) 2575847
checking 'stackObjects' ....................... PASS (4a72ef17f0bfbfcd) -0.1
checking 'paintObjects' ....................... PASS (8a5b073d9bae826b) 2379341
checking 'rmObjects' .......................... PASS (8f02d0fa2f4fcc84) 1934575
checking 'reenumerate' ........................ PASS (8f02d0fa2f4fcc84) 1934575
checking 'reenumerate' ........................ PASS (09aee993ab4d9f10) 2016822
checking 'computeFeatures' .................... PASS (cc175f06f4e3d24e) 734993.9
checking 'computeFeatures' .................... PASS (50090732ff9f9962) 15441bc08dd0233a
checking 'ocontour' ........................... PASS (c3467ffca55b567e) f9b4e9dd6f0620cc
checking 'localCurvature' ..................... PASS (c2e5b0512504cf2b) 58e95cf7155aa389
checking 'normalize' .......................... PASS (6d7b1e26a9f5c1d7) 2526618
checking 'normalize' .......................... PASS (60c18968b480bed1) 2163958
checking 'gblur' .............................. PASS (f9af946a8285f297) 2237219
checking 'filter2' ............................ PASS (74f8f932f25e77f7) 56904871
checking 'medianFilter' ....................... PASS (0509e5ca92b339b9) 2231438
checking 'equalize' ........................... PASS (c8b9baa3aaf8dc25) 2447139
checking 'erode' .............................. PASS (85bbcd9bc8904b33) 1121204
checking 'dilate' ............................. PASS (76e1e639e0d94b77) 2104588
checking 'opening' ............................ PASS (f1fb32c047c57051) 1451050
checking 'closing' ............................ PASS (9da5184c566c05a1) 1569448
checking 'whiteTopHat' ........................ PASS (d76f76c59299f4ad) 12004.54
checking 'blackTopHat' ........................ PASS (048eba3e008a8e59) 20296.87
checking 'selfComplementaryTopHat' ............ PASS (4395bf239d8f1547) 4469404
checking 'distmap' ............................ PASS (117ff12dedbbc61d) 7464344
checking 'watershed' .......................... PASS (ed7ef9e2dac3efee) 1541186
checking 'floodFill' .......................... PASS (abb5a165e304eaf5) 2234521
checking 'fillHull' ........................... PASS (895f193846f9172f) 1541186
checking 'propagate' .......................... PASS (535d4f22991691fc) 8948876
checking 'toRGB' .............................. PASS (98d7a827859f9ee8) 20279146
checking 'rgbImage' ........................... PASS (cfbb32b775824a6f) 10796552
checking 'colormap' ........................... PASS (dfd247a1aaa83a31) 22585273
checking 'combine' ............................ PASS (e00663992ac978b8) 8992851
checking 'combine' ............................ PASS (84f1d68125622728) 56431472
checking 'tile' ............................... PASS (0db623d7cf758736) 72664167
checking 'untile' ............................. PASS (5ef8d21f233a5027) 60048605
checking 'abind' .............................. PASS (e4551c94ca76e3d9) 9273358
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
>
> proc.time()
user system elapsed
4.90 0.54 6.98
|
EBImage.Rcheck/tests_i386/test.Rout.save
R version 3.4.2 (2017-09-28) -- "Short Summer"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> ## cat tests/test.R | R --vanilla &>tests/test.Rout.save
> library("EBImage")
>
> set.seed(0) # make random color permutations in 'colorLabels' reproducible
> .digits = floor(-log10(.Machine$double.eps^.5) - 1)
>
> ## returns a hashcode given an object
> hash = function (x) .Call(digest:::digest_impl, serialize(x, connection=NULL, ascii=FALSE, xdr=FALSE), 7L, -1L, 14L, 0L, 0L, PACKAGE="digest")
>
> hash.old <- function(x) {
+ if (is.list(x)) hash(sapply(x,hash))
+ else {
+ xd <- as.numeric(x)
+ xd <- xd[!is.nan(xd)]
+ if (is.matrix(xd)) sum(xd*(1:length(xd))) + 0.7*hash(dim(xd))
+ else sum(xd*(1:length(xd))) - 0.1
+ }
+ }
>
> ## try to evaluate fun(x,...)
> check <- function(fun, x, ..., capture.output=FALSE, suppressWarnings=FALSE, suppressMessages=FALSE, expectError=FALSE, round=FALSE, debug=FALSE) {
+ passed <- TRUE
+
+ cat(sprintf("checking \'%s\' %s ", fun, paste(rep(".", 35L-nchar(fun)), collapse = "")))
+
+ expr = quote(do.call(fun,c(list(x),list(...))))
+ if ( isTRUE(capture.output) ) expr = call("capture.output", expr)
+ if ( isTRUE(suppressWarnings) ) expr = call("suppressWarnings", expr)
+ if ( isTRUE(suppressMessages) ) expr = call("suppressMessages", expr)
+
+ y <- try(eval(expr), silent=TRUE)
+
+ if ( (class(y)=="try-error" && !isTRUE(expectError) ) || ( is.Image(y) && !validObject(y)) ) {
+ y <- NULL
+ passed <- FALSE
+ }
+
+ if (passed) {
+ if ( isTRUE(round) && class(y)!="try-error")
+ y = if ( is.list(y) ) lapply(y, round, digits=.digits) else round(y, digits = .digits)
+ cat("PASS (", hash(y), ") ", hash.old(y), "\n", sep="")
+ }
+ else cat("FAIL\n")
+
+ if ( isTRUE(debug) ) {
+ if (is.Image(y)) show(y)
+ if (is.array(y)) display(y, all=TRUE, interpolate=FALSE)
+ else if (is.character(y)) cat(y, sep="\n")
+ }
+
+ y
+ }
>
> checkIO <- function(name) {
+ cat("checking IO for \'", name, "\' ... ", sep="")
+ x = get(name)
+ y = FALSE
+ if ( !is.null(x) ) {
+ y <- try({
+ xx <- readImage(writeImage(x, tempfile("", fileext = ".tif")))
+ dimnames(xx) <- dimnames(x)
+ identical(x, xx)
+ }, silent=TRUE)
+ }
+ if ( isTRUE(y) ) cat("PASS\n") else cat("FAIL\n")
+ invisible(y)
+ }
>
> testIOFunctions <- function(...) invisible(lapply(list(...), function(y) checkIO(y)))
>
> testEBImageFunctions <- function(x) {
+ cat("new test (hash=", hash(x), ")\n", sep="")
+
+ z <- check("show", x, capture.output=TRUE)
+ z <- check("print", x, short=TRUE, capture.output=TRUE)
+ if ( typeof(x)=="logical" )
+ z <- check("hist", EBImage:::castImage(x), breaks = c(0, .5, 1))
+ else
+ z <- check("hist", x)
+
+ ## pixel arithmetic
+ z <- check(">", x, 0.5)
+ z <- check("+", x, x)
+ z <- check("/", x, 2)
+ z <- check("*", 2L, x)
+ z <- check("median", x)
+ z <- check("quantile", x)
+
+ ## image methods
+ z <- check("Image", x, colormode="Color")
+ z <- check("as.Image", x)
+ z <- check("is.Image", x)
+ z <- check("imageData", x)
+ z <- check("imageData<-", x, z)
+ z <- check("as.raster", x)
+ z <- check("colorMode<-", x, Grayscale, suppressWarnings=TRUE)
+ y <- check("numberOfFrames", x, type="render")
+ z <- if ( y==1L ) check("getFrames", x, 1L, "render") else check("getFrames", x)
+ z <- check("display", x, method = "browser", tempDir = file.path(dirname(tempdir()), "EBImage_tmp"))
+ if ( y>2L ) {
+ z <- check("display", x, method = "raster", all = TRUE)
+ z <- check("image", x, i = 3L)
+ }
+ else {
+ z <- if (y==1L) check("display", x, method = "raster") else check("display", x, method = "raster", frame = 2L, suppressMessages=TRUE)
+ z <- check("image", x, suppressMessages=TRUE)
+ }
+
+ ## drawCircle
+ d <- dim(x)
+ c.x <- ceiling(d[1L]/2)
+ c.y <- ceiling(d[2L]/2)
+ radius <- max(c.x-1, 1)
+ nf <- numberOfFrames(x, "render")
+ fill <- nf > 1
+ col <- if ( colorMode(x)==Color ) "yellow" else 1
+ z <- check("drawCircle", x, c.x, c.x, radius, col, fill, nf)
+
+ ## subset
+ sub <- list(x, 1:min(10,d[1L]), 1:min(7,d[2L]))
+ if (length(d)>2) sub <- c(sub, rep(TRUE, length(d)-2))
+ z <- do.call("check", c("[", sub))
+
+ ## spatial transform
+ z <- check("resize", x, 137, 22)
+ z <- check("rotate", x, 20)
+ z <- check("flip", x)
+ z <- check("flop", x)
+ z <- check("translate", x, c(-7, 5), bg.col=1)
+ z <- check("affine", x, matrix(c(-7, 5, 0.1, -0.2, 0.3, 1), ncol=2L))
+ z <- check("transpose", x)
+
+ ## segmentation
+ fd = pmin(5, (d[1:2]-1)/2)
+ z <- check("thresh", x, w=fd[1L], h=fd[2L])
+ y <- check("channel", x, "luminance")
+ z <- check("otsu", y)
+ y <- suppressWarnings(normalize(y, separate=FALSE))
+ y <- check("bwlabel", y > 0.5)
+ z <- check("colorLabels", y, suppressWarnings=TRUE)
+ z <- check("stackObjects", y, x)
+ z <- check("stackObjects", Image(dim=dim(y)), x)
+ cls <- if ( colorMode(x)==Color ) TRUE else FALSE
+ z <- check("paintObjects", y, x, col=c("#ff00ff", "#ffff00"), opac=c(1.0, 0.5), thick=cls, closed=cls)
+ z <- check("rmObjects", y, as.list(seq_len(numberOfFrames(y))), cls)
+ z <- check("reenumerate", z)
+ z <- check("reenumerate", y)
+
+ ## features
+ x1 <- getFrame(x, 1)
+ x2 <- list(x=x1, y=2*x1)
+ y1 <- getFrame(y, 1)
+ expandRef <- if ( min(dim(x1)) > 31L ) function(ref, refnames) standardExpandRef(ref, refnames, gblob(n=31L)) else NULL
+ z <- check("computeFeatures", y1, x2, expandRef = expandRef, round = !is.null(expandRef))
+ z <- check("computeFeatures", y1, x2, expandRef = expandRef, properties = TRUE)
+
+ ## curvature
+ y <- check("ocontour", x>0.5)
+ if (length(y) > 0L ) z <- check("localCurvature", y[[1L]], round=TRUE)
+
+ ## filtering
+ z <- check("normalize", x, suppressWarnings=TRUE)
+ z <- check("normalize", x, inputRange=c(0.1, 0.9), suppressWarnings=TRUE)
+ z <- check("gblur", x, sigma=1, expectError=min(d)<7, round=TRUE)
+ y <- if (cls) "replicate" else if (nf>1) 0.5 else "circular"
+ z <- check("filter2", x, array(1, dim=c(5, 5)), y, round=TRUE)
+ z <- check("medianFilter", x, 2)
+ z <- check("equalize", x, suppressWarnings=TRUE)
+
+ ## morphological operations
+ y <- x > 0.5
+ z <- check("erode", y)
+ z <- check("dilate", y, makeBrush(5, 'disc'))
+ z <- check("opening", y, makeBrush(7, 'line'))
+ z <- check("closing", y, makeBrush(4, 'line', angle=0), suppressWarnings=TRUE)
+ z <- check("whiteTopHat", x, makeBrush(3, 'box'))
+ z <- check("blackTopHat", x, makeBrush(5, 'disc'))
+ z <- check("selfComplementaryTopHat", x)
+ z <- check("distmap", y)
+ z <- check("watershed", z)
+ z <- check('floodFill', x, c(5, 5), 0.5)
+ z <- check('fillHull', y)
+
+ ## propagate
+ y <- thresh(x, w=fd[1L], h=fd[2L], offset=0.02)
+ y <- fillHull(y)
+ y <- bwlabel(y)
+ z <- check("propagate", x, y, x>0.5)
+
+ ## colorspace
+ z <- check("toRGB", x)
+ z <- check("rgbImage", x, x>0.5)
+ z <- check("colormap", channel(x, "luminance"), heat.colors(16L))
+
+ ## image stacking, combining, tiling
+ y <- check("combine", list(NULL, x, x, NULL, NULL))
+ z <- check("combine", x, y, y)
+ y <- check("tile", z, nx=3)
+ z <- check("untile", y, c(3, 2))
+ y <- check("abind", list(x, x), along=length(d)+1L)
+ cat("\n")
+ }
>
>
> ## check error handling
> try.readImage <- function(...) tryCatch(suppressWarnings(readImage(...)), error = function(e) NULL)
> mock <- try.readImage(system.file("images", package="EBImage"), type="png")
> mock <- try.readImage("http://www.huber.embl.de/EBImage/missing.file ", type="png")
>
> ## single greyscale and color images
> sample <- try.readImage(system.file("images","sample.png", package="EBImage"))
> sample.color <- try.readImage(system.file("images","sample-color.png", package="EBImage"))
> ## multi-frame image stack
> f = system.file("images","nuclei.tif", package="EBImage")
> nuclei = try.readImage(c(f, f))
> ## test reading from URL
> logo <- try.readImage("http://www.huber.embl.de/EBImage/logo.png")
>
> ## test: IO operations
> testIOFunctions("sample", "sample.color", "nuclei", "logo")
checking IO for 'sample' ... PASS
checking IO for 'sample.color' ... PASS
checking IO for 'nuclei' ... PASS
checking IO for 'logo' ... PASS
>
> ## test: black image
> testEBImageFunctions(Image(0, c(8, 8)))
new test (hash=bb3d006dd4423285)
checking 'show' ............................... PASS (c60852b2f4b4b9e3) NA
checking 'print' .............................. PASS (01ec99e74b854ba0) NA
checking 'hist' ............................... PASS (8c46196952e29db3) 34846b0bcea9feb4
checking '>' .................................. PASS (1b5285e59ce84fa0) -0.1
checking '+' .................................. PASS (bb3d006dd4423285) -0.1
checking '/' .................................. PASS (bb3d006dd4423285) -0.1
checking '*' .................................. PASS (bb3d006dd4423285) -0.1
checking 'median' ............................. PASS (f5699b21f198d2c3) -0.1
checking 'quantile' ........................... PASS (003bcd6206f48eaa) -0.1
checking 'Image' .............................. PASS (99ce97a369121647) -0.1
checking 'as.Image' ........................... PASS (bb3d006dd4423285) -0.1
checking 'is.Image' ........................... PASS (29e1e263d8769b6f) 0.9
checking 'imageData' .......................... PASS (b51b95b0ba6f4dce) -0.1
checking 'imageData<-' ........................ PASS (bb3d006dd4423285) -0.1
checking 'as.raster' .......................... PASS (1675cda1d5c380fa) NA
checking 'colorMode<-' ........................ PASS (bb3d006dd4423285) -0.1
checking 'numberOfFrames' ..................... PASS (96180b4a6b132e65) 0.9
checking 'getFrames' .......................... PASS (d6919177c682b8b7) 14ff3acc3c64b912
checking 'display' ............................ PASS (8c4f07b8386609ca) 9a746e3b1818a41e
checking 'display' ............................ PASS (57f54e3531a18f4e) -0.1
checking 'image' .............................. PASS (57f54e3531a18f4e) -0.1
checking 'drawCircle' ......................... PASS (f78ee95d7e176d93) 447.9
checking '[' .................................. PASS (7e14c53ed4d31621) -0.1
checking 'resize' ............................. PASS (a1c9da3458e151e8) -0.1
checking 'rotate' ............................. PASS (6ace606563c0af26) -0.1
checking 'flip' ............................... PASS (bb3d006dd4423285) -0.1
checking 'flop' ............................... PASS (bb3d006dd4423285) -0.1
checking 'translate' .......................... PASS (574e9cac8770a1fd) 1932.9
checking 'affine' ............................. PASS (bb3d006dd4423285) -0.1
checking 'transpose' .......................... PASS (bb3d006dd4423285) -0.1
checking 'thresh' ............................. PASS (15bf2ee33450c598) -0.1
checking 'channel' ............................ PASS (bb3d006dd4423285) -0.1
checking 'otsu' ............................... PASS (cbe8a6c6aa2e8245) -0.09804688
checking 'bwlabel' ............................ PASS (15bf2ee33450c598) -0.1
checking 'colorLabels' ........................ PASS (5cb6a857d91ed0ea) -0.1
checking 'stackObjects' ....................... PASS (57f54e3531a18f4e) -0.1
checking 'stackObjects' ....................... PASS (57f54e3531a18f4e) -0.1
checking 'paintObjects' ....................... PASS (bb3d006dd4423285) -0.1
checking 'rmObjects' .......................... PASS (15bf2ee33450c598) -0.1
checking 'reenumerate' ........................ PASS (15bf2ee33450c598) -0.1
checking 'reenumerate' ........................ PASS (15bf2ee33450c598) -0.1
checking 'computeFeatures' .................... PASS (57f54e3531a18f4e) -0.1
checking 'computeFeatures' .................... PASS (6dc4c63dde7e7828) 32d95b1456f80f68
checking 'ocontour' ........................... PASS (236bd4454cc8e13c) 236bd4454cc8e13c
checking 'normalize' .......................... PASS (bb3d006dd4423285) -0.1
checking 'normalize' .......................... PASS (bb3d006dd4423285) -0.1
checking 'gblur' .............................. PASS (bb3d006dd4423285) -0.1
checking 'filter2' ............................ PASS (bb3d006dd4423285) -0.1
checking 'medianFilter' ....................... PASS (bb3d006dd4423285) -0.1
checking 'equalize' ........................... PASS (bb3d006dd4423285) -0.1
checking 'erode' .............................. PASS (1b5285e59ce84fa0) -0.1
checking 'dilate' ............................. PASS (1b5285e59ce84fa0) -0.1
checking 'opening' ............................ PASS (1b5285e59ce84fa0) -0.1
checking 'closing' ............................ PASS (1b5285e59ce84fa0) -0.1
checking 'whiteTopHat' ........................ PASS (bb3d006dd4423285) -0.1
checking 'blackTopHat' ........................ PASS (bb3d006dd4423285) -0.1
checking 'selfComplementaryTopHat' ............ PASS (bb3d006dd4423285) -0.1
checking 'distmap' ............................ PASS (bb3d006dd4423285) -0.1
checking 'watershed' .......................... PASS (15bf2ee33450c598) -0.1
checking 'floodFill' .......................... PASS (02f684c8d407c0f3) 1039.9
checking 'fillHull' ........................... PASS (1b5285e59ce84fa0) -0.1
checking 'propagate' .......................... PASS (15bf2ee33450c598) -0.1
checking 'toRGB' .............................. PASS (5cb6a857d91ed0ea) -0.1
checking 'rgbImage' ........................... PASS (5cb6a857d91ed0ea) -0.1
checking 'colormap' ........................... PASS (4fc03a2c05330d87) 2079.9
checking 'combine' ............................ PASS (7587cd4863b3f3d0) -0.1
checking 'combine' ............................ PASS (8cc517353533c670) -0.1
checking 'tile' ............................... PASS (9c28fe28dabc9dc0) 42140.88
checking 'untile' ............................. PASS (f57349ddce21e8e1) 16809.31
checking 'abind' .............................. PASS (7587cd4863b3f3d0) -0.1
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
>
> ## test: white image
> testEBImageFunctions(Image(1L, c(5, 5)))
new test (hash=fd2903042f6577db)
checking 'show' ............................... PASS (d5cb02fa53f44540) NA
checking 'print' .............................. PASS (19e6cb20d3a1bbed) NA
checking 'hist' ............................... PASS (92c01a74babbd9d2) 885b2aa14f6149d7
checking '>' .................................. PASS (57132767bf0cf5c4) 324.9
checking '+' .................................. PASS (78a44d6226d9747a) 649.9
checking '/' .................................. PASS (35e25cdc915f220c) 162.4
checking '*' .................................. PASS (78a44d6226d9747a) 649.9
checking 'median' ............................. PASS (96180b4a6b132e65) 0.9
checking 'quantile' ........................... PASS (e438e836956ab833) 14.9
checking 'Image' .............................. PASS (25cb6efefa0c888d) 324.9
checking 'as.Image' ........................... PASS (fd2903042f6577db) 324.9
checking 'is.Image' ........................... PASS (29e1e263d8769b6f) 0.9
checking 'imageData' .......................... PASS (8657532cd462ea81) 324.9
checking 'imageData<-' ........................ PASS (fd2903042f6577db) 324.9
checking 'as.raster' .......................... PASS (f789919d8c93fb15) NA
checking 'colorMode<-' ........................ PASS (fd2903042f6577db) 324.9
checking 'numberOfFrames' ..................... PASS (96180b4a6b132e65) 0.9
checking 'getFrames' .......................... PASS (5fc2af241f80dfe3) 792ca128c76659ed
checking 'display' ............................ PASS (19741a401daf92e2) e4e805547bbe7024
checking 'display' ............................ PASS (57f54e3531a18f4e) -0.1
checking 'image' .............................. PASS (57f54e3531a18f4e) -0.1
checking 'drawCircle' ......................... PASS (545d29ae11f62e79) 324.9
checking '[' .................................. PASS (fd2903042f6577db) 324.9
checking 'resize' ............................. PASS (066442c79b5dbc5d) 4543605
checking 'rotate' ............................. PASS (6fef9b3e4085e72c) 483.6843
checking 'flip' ............................... PASS (fd2903042f6577db) 324.9
checking 'flop' ............................... PASS (fd2903042f6577db) 324.9
checking 'translate' .......................... PASS (545d29ae11f62e79) 324.9
checking 'affine' ............................. PASS (dc78180c379f20d2) 39.9
checking 'transpose' .......................... PASS (fd2903042f6577db) 324.9
checking 'thresh' ............................. PASS (9a58bf6b1ef39788) -0.1
checking 'channel' ............................ PASS (fd2903042f6577db) 324.9
checking 'otsu' ............................... PASS (f397fccddb916350) 0.8980469
checking 'bwlabel' ............................ PASS (fd2903042f6577db) 324.9
checking 'colorLabels' ........................ PASS (5a10b69b9bb71739) 2849.9
checking 'stackObjects' ....................... PASS (8f1472c017e2814c) 324.9
checking 'stackObjects' ....................... PASS (57f54e3531a18f4e) -0.1
checking 'paintObjects' ....................... PASS (51f47541d96a6ecf) 270.7333
checking 'rmObjects' .......................... PASS (9a58bf6b1ef39788) -0.1
checking 'reenumerate' ........................ PASS (9a58bf6b1ef39788) -0.1
checking 'reenumerate' ........................ PASS (fd2903042f6577db) 324.9
checking 'computeFeatures' .................... PASS (559dfc74a97494a3) 950932.9
checking 'computeFeatures' .................... PASS (6dc4c63dde7e7828) 32d95b1456f80f68
checking 'ocontour' ........................... PASS (2663ed016907f460) 2cd2b9ad99f98fd3
checking 'localCurvature' ..................... PASS (80236128c43c5c64) aa70763bde359b48
checking 'normalize' .......................... PASS (545d29ae11f62e79) 324.9
checking 'normalize' .......................... PASS (545d29ae11f62e79) 324.9
checking 'gblur' .............................. PASS (19cc14ba61b7caea) NA
checking 'filter2' ............................ PASS (a98d049f987b512a) 8124.9
checking 'medianFilter' ....................... PASS (545d29ae11f62e79) 324.9
checking 'equalize' ........................... PASS (fd2903042f6577db) 324.9
checking 'erode' .............................. PASS (57132767bf0cf5c4) 324.9
checking 'dilate' ............................. PASS (57132767bf0cf5c4) 324.9
checking 'opening' ............................ PASS (57132767bf0cf5c4) 324.9
checking 'closing' ............................ PASS (57132767bf0cf5c4) 324.9
checking 'whiteTopHat' ........................ PASS (9a58bf6b1ef39788) -0.1
checking 'blackTopHat' ........................ PASS (9a58bf6b1ef39788) -0.1
checking 'selfComplementaryTopHat' ............ PASS (78a44d6226d9747a) 649.9
checking 'distmap' ............................ PASS (2690b089a32348c7) Inf
checking 'watershed' .......................... PASS (fd2903042f6577db) 324.9
checking 'floodFill' .......................... PASS (9a58bf6b1ef39788) -0.1
checking 'fillHull' ........................... PASS (57132767bf0cf5c4) 324.9
checking 'propagate' .......................... PASS (9a58bf6b1ef39788) -0.1
checking 'toRGB' .............................. PASS (c8f79be3016a4f30) 2849.9
checking 'rgbImage' ........................... PASS (04e5727b08bf45cb) 1274.9
checking 'colormap' ........................... PASS (465b64f5769d9429) 2652.253
checking 'combine' ............................ PASS (4d32f0cd424c46ed) 1274.9
checking 'combine' ............................ PASS (d235aa9dfa5f7f28) 7874.9
checking 'tile' ............................... PASS (d78128e72e9c8cfb) 24420.64
checking 'untile' ............................. PASS (2f982bd94f9d06ba) 10445.49
checking 'abind' .............................. PASS (4d32f0cd424c46ed) 1274.9
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
4: In hash.old(y) : NAs introduced by coercion
>
> ## test: 2D Grayscale 64x48
> x <- nuclei[50:113,208:255,2]
> testEBImageFunctions(as.array(x))
new test (hash=ea1a665d75817fbb)
checking 'show' ............................... PASS (642a853c4a9fb245) NA
checking 'print' .............................. PASS (642a853c4a9fb245) NA
checking 'hist' ............................... PASS (758d77d39292aceb) 22261eb2334cd65e
checking '>' .................................. PASS (b630618a382dd149) 1217568
checking '+' .................................. PASS (78bcec8b0be50e22) 2940144
checking '/' .................................. PASS (eaac0e8ec321e267) 735035.9
checking '*' .................................. PASS (78bcec8b0be50e22) 2940144
checking 'median' ............................. PASS (0ba48ebb83d20dcf) 0.04509804
checking 'quantile' ........................... PASS (922eedf2ceb73c21) 7.331373
checking 'Image' .............................. PASS (930c159d012125dd) 1470072
checking 'as.Image' ........................... PASS (d2785eea34628f36) 1470072
checking 'is.Image' ........................... PASS (7a36fa498bbfcb30) -0.1
checking 'imageData' .......................... PASS (ea1a665d75817fbb) 1470072
checking 'imageData<-' ........................ PASS (ea1a665d75817fbb) 1470072
checking 'as.raster' .......................... PASS (92e268a98a202d0d) NA
checking 'colorMode<-' ........................ PASS (2f347dbc7d4df203) NA
checking 'numberOfFrames' ..................... PASS (96180b4a6b132e65) 0.9
checking 'getFrames' .......................... PASS (c8a1bed0f342ba9c) f9df249b9d461561
checking 'display' ............................ PASS (e5abc9317013ef0f) 4597ff5701547c38
checking 'display' ............................ PASS (57f54e3531a18f4e) -0.1
checking 'image' .............................. PASS (57f54e3531a18f4e) -0.1
checking 'drawCircle' ......................... PASS (d3ac30a887c990f0) 1607165
checking '[' .................................. PASS (9bb7b574fc489848) 48.94314
checking 'resize' ............................. PASS (00fab9ec40eb5e2f) 1419476
checking 'rotate' ............................. PASS (447c32314cc4e9d7) 2493977
checking 'flip' ............................... PASS (a8c542a26b0874e8) 1195977
checking 'flop' ............................... PASS (7e68dec7614712d2) 1462119
checking 'translate' .......................... PASS (21641bbeafdcbc39) 2133961
checking 'affine' ............................. PASS (1ed86f465543429e) 54171.17
checking 'transpose' .......................... PASS (f39a2b54df5d5df8) 1522055
checking 'thresh' ............................. PASS (aed13a82eaa0d6f6) 1262811
checking 'channel' ............................ PASS (ea1a665d75817fbb) 1470072
checking 'otsu' ............................... PASS (0c822739ccd9b674) 0.3160156
checking 'bwlabel' ............................ PASS (d2978ac5475fd985) 1199387
checking 'colorLabels' ........................ PASS (0505b0b4e09d05ed) 10021713
checking 'stackObjects' ....................... PASS (f8eb9b4047e677fb) 718602.9
checking 'stackObjects' ....................... PASS (57f54e3531a18f4e) -0.1
checking 'paintObjects' ....................... PASS (f064eb914151d29d) 1447733
checking 'rmObjects' .......................... PASS (8f36486b7880f33a) -0.1
checking 'reenumerate' ........................ PASS (8f36486b7880f33a) -0.1
checking 'reenumerate' ........................ PASS (d2978ac5475fd985) 1199387
checking 'computeFeatures' .................... PASS (9dca8bdb6fc6383c) 3634215
checking 'computeFeatures' .................... PASS (3a766122214a21a8) cf1b0ac94ace207a
checking 'ocontour' ........................... PASS (ddb1a61382610e29) 0dab270d98fdbdd8
checking 'localCurvature' ..................... PASS (48edb77f99eb5e0a) a351f1682141f4de
checking 'normalize' .......................... PASS (dd024957ed9be970) 1431381
checking 'normalize' .......................... PASS (327914cc2a95292d) 1266798
checking 'gblur' .............................. PASS (ba634c0d6cb869f5) 1466231
checking 'filter2' ............................ PASS (b1783e1383b0d429) 36592176
checking 'medianFilter' ....................... PASS (f73f9cb355632e37) 1454712
checking 'equalize' ........................... PASS (3229c589865d1dd0) 2642794
checking 'erode' .............................. PASS (a808a82152309cd0) 759774.9
checking 'dilate' ............................. PASS (6ad0a88f208f30d0) 1797576
checking 'opening' ............................ PASS (14899fd17ddf0b81) 1152484
checking 'closing' ............................ PASS (8f3f27e6caed70de) 1232737
checking 'whiteTopHat' ........................ PASS (0461dfe452491caf) 18730.15
checking 'blackTopHat' ........................ PASS (8f53c6a02fcc449b) 27716.23
checking 'selfComplementaryTopHat' ............ PASS (53e3b78d71635465) 2929436
checking 'distmap' ............................ PASS (66da40cd47ec8762) 3826969
checking 'watershed' .......................... PASS (fe4e99c1bb5f9562) 2762113
checking 'floodFill' .......................... PASS (e508f01acf50e00d) 1470197
checking 'fillHull' ........................... PASS (b630618a382dd149) 1217568
checking 'propagate' .......................... PASS (9e56846cb0e2b112) 3464201
checking 'toRGB' .............................. PASS (7b33402954c29951) 12381911
checking 'rgbImage' ........................... PASS (c44ead1803e628d9) 4859544
checking 'colormap' ........................... PASS (fbcba322d3f5c951) 11126039
checking 'combine' ............................ PASS (3f46a10efaaab318) 5597376
checking 'combine' ............................ PASS (c2857e1a820b6b96) 33922678
checking 'tile' ............................... PASS (78eab32eac869231) 78718054
checking 'untile' ............................. PASS (59f8bb36c4481a79) 72597772
checking 'abind' .............................. PASS (3f46a10efaaab318) 5597376
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
4: In hash.old(y) : NAs introduced by coercion
>
> ## test: 2D Color 32x48x1
> x <- sample[1:32, 1:48]
> testEBImageFunctions(Image(as.vector(x), dim(x), Color))
new test (hash=42e4a51e3404811e)
checking 'show' ............................... PASS (c341f3b9fc1ff684) NA
checking 'print' .............................. PASS (419cec4864e97478) NA
checking 'hist' ............................... PASS (91566cadc223f9a3) 05bf2b59f2a77bb3
checking '>' .................................. PASS (c843a337bba9a51b) 988518.9
checking '+' .................................. PASS (5b9c39c8dde0f4ba) 1531522
checking '/' .................................. PASS (c8eb6e9ad11ccbd8) 382880.4
checking '*' .................................. PASS (5b9c39c8dde0f4ba) 1531522
checking 'median' ............................. PASS (1855a565fb986239) 0.5039216
checking 'quantile' ........................... PASS (3b22f40de65ddba9) 10.10392
checking 'Image' .............................. PASS (42e4a51e3404811e) 765760.9
checking 'as.Image' ........................... PASS (42e4a51e3404811e) 765760.9
checking 'is.Image' ........................... PASS (29e1e263d8769b6f) 0.9
checking 'imageData' .......................... PASS (e5ac272d081a94e8) 765760.9
checking 'imageData<-' ........................ PASS (42e4a51e3404811e) 765760.9
checking 'as.raster' .......................... PASS (b2474ac70f11c65b) NA
checking 'colorMode<-' ........................ PASS (659e2fc3253b48a5) 765760.9
checking 'numberOfFrames' ..................... PASS (96180b4a6b132e65) 0.9
checking 'getFrames' .......................... PASS (0db71a429380e045) 2ce69e3965ee85bb
checking 'display' ............................ PASS (e02c3fc0d11fe3dd) ece292adeae37a84
checking 'display' ............................ PASS (57f54e3531a18f4e) -0.1
checking 'image' .............................. PASS (57f54e3531a18f4e) -0.1
checking 'drawCircle' ......................... PASS (db43b8c94523e893) 782100.7
checking '[' .................................. PASS (9e53ad55777f433d) 1285.273
checking 'resize' ............................. PASS (3e691caece9a23f3) 2941770
checking 'rotate' ............................. PASS (8445c36b57d60c5d) 1247487
checking 'flip' ............................... PASS (a292f4134eba03ae) 661525.2
checking 'flop' ............................... PASS (edb212fe7ec01fae) 768451.1
checking 'translate' .......................... PASS (158cc0e28f649d32) 820434.5
checking 'affine' ............................. PASS (3aca89b692c9110c) 22238.15
checking 'transpose' .......................... PASS (32f4e3c321435048) 652051.4
checking 'thresh' ............................. PASS (bf6cf9e7f1b50aa0) 382924.9
checking 'channel' ............................ PASS (288c8c2a23d7d309) 162800.7
checking 'otsu' ............................... PASS (2634e72eb12ab864) 0.03085937
checking 'bwlabel' ............................ PASS (a53dfbd74180c15c) 832970.9
checking 'colorLabels' ........................ PASS (9aea6bf69b9535b1) 5455321
checking 'stackObjects' ....................... PASS (202a964735f173b1) 596493.9
checking 'stackObjects' ....................... PASS (57f54e3531a18f4e) -0.1
checking 'paintObjects' ....................... PASS (d729a9cd58722f9f) 919069.9
checking 'rmObjects' .......................... PASS (315db6e1904a02f2) 565.9
checking 'reenumerate' ........................ PASS (315db6e1904a02f2) 565.9
checking 'reenumerate' ........................ PASS (a53dfbd74180c15c) 832970.9
checking 'computeFeatures' .................... PASS (607eae59e3423025) 3988895
checking 'computeFeatures' .................... PASS (3a766122214a21a8) cf1b0ac94ace207a
checking 'ocontour' ........................... PASS (da840dfc876b827d) 90e46e616d6ca694
checking 'localCurvature' ..................... PASS (744209c192ca349a) 97da7b3a7c2ec717
checking 'normalize' .......................... PASS (fd0fb40ffb018169) 747801.4
checking 'normalize' .......................... PASS (4b1f8e1c8e2f7bf3) 809649.2
checking 'gblur' .............................. PASS (850f1053006670c6) 761679.3
checking 'filter2' ............................ PASS (c6d3b7ddd80521f9) 19130329
checking 'medianFilter' ....................... PASS (07a157a471910361) 765141.6
checking 'equalize' ........................... PASS (0e526b3729fc6369) 705546.8
checking 'erode' .............................. PASS (36413a22e579f0bc) 908526.9
checking 'dilate' ............................. PASS (144e48361a76b7c4) 1072658
checking 'opening' ............................ PASS (b7c1eac6357c6e80) 985798.9
checking 'closing' ............................ PASS (2e4462eb216d9848) 988727.9
checking 'whiteTopHat' ........................ PASS (9db3096e14961ab7) 3572.998
checking 'blackTopHat' ........................ PASS (bf87d7286ea29ad9) 7139.473
checking 'selfComplementaryTopHat' ............ PASS (b77a4b378692f404) 1533178
checking 'distmap' ............................ PASS (f6300a4f340ae60a) 12740449
checking 'watershed' .......................... PASS (8a9f971d0fd151b0) 988518.9
checking 'floodFill' .......................... PASS (58b50ac20366b30b) 765755.4
checking 'fillHull' ........................... PASS (c843a337bba9a51b) 988518.9
checking 'propagate' .......................... PASS (c9ccd5b308eb7ef1) 26630579
checking 'toRGB' .............................. PASS (42e4a51e3404811e) 765760.9
checking 'rgbImage' ........................... PASS (3e4ef74fd42ad9d7) 3520680
checking 'colormap' ........................... PASS (d2139029833173d7) 1816912
checking 'combine' ............................ PASS (475166958acc7172) 2960568
checking 'combine' ............................ PASS (dcd2456fbb97967f) 18119267
checking 'tile' ............................... PASS (da0d33a63c42b563) 33061491
checking 'untile' ............................. PASS (3268a8970f502c72) 27788327
checking 'abind' .............................. PASS (6fd94295b094e0dd) 2960568
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
>
> ## test: 3D Color 65x17x3
> x <- sample.color[1:65, 1:17,]
> testEBImageFunctions(x)
new test (hash=de81d0d989193946)
checking 'show' ............................... PASS (2e8e7d2423e3ccfe) NA
checking 'print' .............................. PASS (6ab730d47def3609) NA
checking 'hist' ............................... PASS (6a57fc1cd042ba00) 65b5b051743defa8
checking '>' .................................. PASS (53e61ab2bda88b20) 1058553
checking '+' .................................. PASS (bfc8079a28d79b4c) 4072301
checking '/' .................................. PASS (b55c46146fdfe46d) 1018075
checking '*' .................................. PASS (bfc8079a28d79b4c) 4072301
checking 'median' ............................. PASS (1bc9c6651e4507c8) 0.2333333
checking 'quantile' ........................... PASS (686379af319f166a) 7.280392
checking 'Image' .............................. PASS (de81d0d989193946) 2036151
checking 'as.Image' ........................... PASS (de81d0d989193946) 2036151
checking 'is.Image' ........................... PASS (29e1e263d8769b6f) 0.9
checking 'imageData' .......................... PASS (cc315d22f9180202) 2036151
checking 'imageData<-' ........................ PASS (de81d0d989193946) 2036151
checking 'as.raster' .......................... PASS (9f57220e155de221) NA
checking 'colorMode<-' ........................ PASS (908b90694e179a06) 2036151
checking 'numberOfFrames' ..................... PASS (96180b4a6b132e65) 0.9
checking 'getFrames' .......................... PASS (1d27d730987b7a26) 8e44d4ba87d4aa02
checking 'display' ............................ PASS (0a11225efa5072ae) df8baf2e444e61aa
checking 'display' ............................ PASS (57f54e3531a18f4e) -0.1
checking 'image' .............................. PASS (57f54e3531a18f4e) -0.1
checking 'drawCircle' ......................... PASS (7dca62c4ac89e623) 2049936
checking '[' .................................. PASS (c393e7deb8110d2e) 9950.096
checking 'resize' ............................. PASS (75a7216227f8dbfa) 15155777
checking 'rotate' ............................. PASS (cba5275a49d1c025) 4525312
checking 'flip' ............................... PASS (ce5674ff635ed106) 1977928
checking 'flop' ............................... PASS (c9a027c754ade888) 2048664
checking 'translate' .......................... PASS (98b2270654265063) 2998417
checking 'affine' ............................. PASS (091470a40c4fba44) 226067.6
checking 'transpose' .......................... PASS (2a083c731f2328d6) 1907377
checking 'thresh' ............................. PASS (aeb34a5300761161) 954376.9
checking 'channel' ............................ PASS (628995dc542023b6) 257578.5
checking 'otsu' ............................... PASS (a7933cc16292d271) 0.3316406
checking 'bwlabel' ............................ PASS (f8bd68974c926eec) 230329.9
checking 'colorLabels' ........................ PASS (80dc35afde7d79d4) 1920855
checking 'stackObjects' ....................... PASS (6f9fa1b0c36f14c3) 712799.6
checking 'stackObjects' ....................... PASS (57f54e3531a18f4e) -0.1
checking 'paintObjects' ....................... PASS (1812b3a1be6f2a21) 2090128
checking 'rmObjects' .......................... PASS (cf00ced5df055ef3) -0.1
checking 'reenumerate' ........................ PASS (cf00ced5df055ef3) -0.1
checking 'reenumerate' ........................ PASS (f8bd68974c926eec) 230329.9
checking 'computeFeatures' .................... PASS (f17bea67c6db8efa) 746878.2
checking 'computeFeatures' .................... PASS (6dc4c63dde7e7828) 32d95b1456f80f68
checking 'ocontour' ........................... PASS (62edd8045dda1043) 91bbaa639ef2cb55
checking 'localCurvature' ..................... PASS (9ddeedd40b4e5c7b) a2c60afaa6d43988
checking 'normalize' .......................... PASS (0b70467017a902ca) 1788995
checking 'normalize' .......................... PASS (95a2f0d3d09f9593) 1858155
checking 'gblur' .............................. PASS (220352a03dba8eda) 2029979
checking 'filter2' ............................ PASS (4ca91f0d9cb2a1e9) 50878763
checking 'medianFilter' ....................... PASS (afb4863b9d632271) 2034604
checking 'equalize' ........................... PASS (6d80d436cf8278ec) 2942981
checking 'erode' .............................. PASS (86fbc1458f72ebfe) 830816.9
checking 'dilate' ............................. PASS (fffa10444677a5de) 1339263
checking 'opening' ............................ PASS (2502c3f605bf79f2) 1013295
checking 'closing' ............................ PASS (16dfffda0eb72d6d) 1069405
checking 'whiteTopHat' ........................ PASS (ab977dc4ab166626) 16585.63
checking 'blackTopHat' ........................ PASS (e1f6d9987bffb784) 22039.05
checking 'selfComplementaryTopHat' ............ PASS (37e1c11a042ce219) 4071763
checking 'distmap' ............................ PASS (046048efe2665db2) 6038778
checking 'watershed' .......................... PASS (5810b16b06c7a236) 1058553
checking 'floodFill' .......................... PASS (87ccae676293e02d) 2036854
checking 'fillHull' ........................... PASS (53e61ab2bda88b20) 1058553
checking 'propagate' .......................... PASS (50fd5efe0e56a631) 7755487
checking 'toRGB' .............................. PASS (de81d0d989193946) 2036151
checking 'rgbImage' ........................... PASS (cab54e5b08f3aae8) 7617867
checking 'colormap' ........................... PASS (1844757fe6d6692b) 1657338
checking 'combine' ............................ PASS (07952012d019c893) 8350133
checking 'combine' ............................ PASS (8cb162a59398a20b) 52959073
checking 'tile' ............................... PASS (498539964fb48dd4) 107188639
checking 'untile' ............................. PASS (9fb04cc414930cc6) 97994583
checking 'abind' .............................. PASS (07952012d019c893) 8350133
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
>
> ## test: 3D Grayscale logical 32x32x2
> x <- sample[32:63, 32:63]
> x <- x > otsu(x)
> x <- combine(x, x)
> testEBImageFunctions(x)
new test (hash=45775cc98ccde7d0)
checking 'show' ............................... PASS (17bd08c197d327bf) NA
checking 'print' .............................. PASS (86a9e2802088f094) NA
checking 'hist' ............................... PASS (b67b7652db932932) e392832c9ac4ef1a
checking '>' .................................. PASS (45775cc98ccde7d0) 1055560
checking '+' .................................. PASS (a808c74d4b8f4b1a) 2111120
checking '/' .................................. PASS (050916ceba989d59) 527779.9
checking '*' .................................. PASS (a808c74d4b8f4b1a) 2111120
checking 'median' ............................. PASS (f5699b21f198d2c3) -0.1
checking 'quantile' ........................... PASS (abb46cc6fe827b1e) 8.9
checking 'Image' .............................. PASS (5644736cfb4b41de) 1055560
checking 'as.Image' ........................... PASS (45775cc98ccde7d0) 1055560
checking 'is.Image' ........................... PASS (29e1e263d8769b6f) 0.9
checking 'imageData' .......................... PASS (a8595646a000f9e9) 1055560
checking 'imageData<-' ........................ PASS (45775cc98ccde7d0) 1055560
checking 'as.raster' .......................... PASS (35debdd5bd091cf6) NA
checking 'colorMode<-' ........................ PASS (45775cc98ccde7d0) 1055560
checking 'numberOfFrames' ..................... PASS (0cd27cfa5ab0714e) 1.9
checking 'getFrames' .......................... PASS (8c50f91fce805fce) df388a91608fa45d
checking 'display' ............................ PASS (a69f9d95f70d6b4f) 2ed798e15d730f30
checking 'display' ............................ PASS (57f54e3531a18f4e) -0.1
checking 'image' .............................. PASS (57f54e3531a18f4e) -0.1
checking 'drawCircle' ......................... PASS (a54d00e6ec30cdaa) 1656514
checking '[' .................................. PASS (43978c7896f345b7) 1889.9
checking 'resize' ............................. PASS (b189246d26913306) 9108608
checking 'rotate' ............................. PASS (a4a84e73999cd629) 1600126
checking 'flip' ............................... PASS (3705f945c5050495) 714439.9
checking 'flop' ............................... PASS (91665fdcc5d39ce2) 1064092
checking 'translate' .......................... PASS (6c5b0b16cf2595ee) 1105982
checking 'affine' ............................. PASS (4a6b1cf59de37216) 133467.8
checking 'transpose' .......................... PASS (9be0ad64c90eabc7) 758083.9
checking 'thresh' ............................. PASS (cf8b639ee5c91bd5) 824497.9
checking 'channel' ............................ PASS (45775cc98ccde7d0) 1055560
checking 'otsu' ............................... PASS (9966633498a5e2d8) 1.4
checking 'bwlabel' ............................ PASS (a00294e8900f15eb) 1597368
checking 'colorLabels' ........................ PASS (6dc0e9def8039903) 3525827
checking 'stackObjects' ....................... PASS (8ddf2c694201cbf1) 8889538
checking 'stackObjects' ....................... PASS (57f54e3531a18f4e) -0.1
checking 'paintObjects' ....................... PASS (f4107fd743a22ecf) 834266.6
checking 'rmObjects' .......................... PASS (07bc253bd936adb5) 1303423
checking 'reenumerate' ........................ PASS (ff441c512995c200) 1244828
checking 'reenumerate' ........................ PASS (a00294e8900f15eb) 1597368
checking 'computeFeatures' .................... PASS (1d847743be56e5a7) 416164140
checking 'computeFeatures' .................... PASS (3a766122214a21a8) cf1b0ac94ace207a
checking 'ocontour' ........................... PASS (cdb0d0c07c1e0775) b86c6546ddbffb2d
checking 'localCurvature' ..................... PASS (4c13330f1d7fcbd6) 4805cb6e9d47da01
checking 'normalize' .......................... PASS (a34cd51357995e04) 1055560
checking 'normalize' .......................... PASS (a34cd51357995e04) 1055560
checking 'gblur' .............................. PASS (f499c36c42da96ae) 1037581
checking 'filter2' ............................ PASS (e5a3d2e924e050fe) 26149148
checking 'medianFilter' ....................... PASS (ff54de12f77d64e5) 1030730
checking 'equalize' ........................... PASS (a34cd51357995e04) 1055560
checking 'erode' .............................. PASS (87a98696219eeb40) 617311.9
checking 'dilate' ............................. PASS (49a5f7a8063bdcc8) 1591594
checking 'opening' ............................ PASS (557cd0af78bc3bbe) 861145.9
checking 'closing' ............................ PASS (04eefe7f21e9b36a) 1188258
checking 'whiteTopHat' ........................ PASS (0a2dbcdbb9e396a8) 148131.9
checking 'blackTopHat' ........................ PASS (af7e8fad58a0f587) 202411.9
checking 'selfComplementaryTopHat' ............ PASS (729954d933215c8d) 2151192
checking 'distmap' ............................ PASS (8ba0b0fb6770e8a3) 3856630
checking 'watershed' .......................... PASS (0bd6a31bc6197067) 1443978
checking 'floodFill' .......................... PASS (7a8a06c4be73e522) 2057384
checking 'fillHull' ........................... PASS (d3904950b8acdb73) 1096352
checking 'propagate' .......................... PASS (6c610fe4376714f6) 1613920
checking 'toRGB' .............................. PASS (57b9a77f5a12af4f) 8499672
checking 'rgbImage' ........................... PASS (82e9189e21600e37) 4777616
checking 'colormap' ........................... PASS (244a6e10e928fb5e) 10283526
checking 'combine' ............................ PASS (fbb690c6993fed59) 3888784
checking 'combine' ............................ PASS (db4c289138cad595) 23054440
checking 'tile' ............................... PASS (b5d61ba1e08ccf53) 48846817
checking 'untile' ............................. PASS (f740856c06d69a15) 41221063
checking 'abind' .............................. PASS (dca1271130f49d13) 3888784
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
>
> ## test: 4D Color 33x16x3x2
> x <- sample.color[1:33, 1:16,]
> x <- combine(x, x)
> testEBImageFunctions(x)
new test (hash=7b41d26d4354fed1)
checking 'show' ............................... PASS (0e20a4fb07853778) NA
checking 'print' .............................. PASS (0b3e2b71e556d7a8) NA
checking 'hist' ............................... PASS (7266d20001b63e05) 48ff490a50be36d5
checking '>' .................................. PASS (5a6494dd882e20ae) 2013322
checking '+' .................................. PASS (78d490385e4c68e5) 4709417
checking '/' .................................. PASS (98087f12b7f61f2d) 1177354
checking '*' .................................. PASS (78d490385e4c68e5) 4709417
checking 'median' ............................. PASS (fdd3c9a35d83db2f) 0.3823529
checking 'quantile' ........................... PASS (e26e9f3ec19dd1e9) 8.139216
checking 'Image' .............................. PASS (7b41d26d4354fed1) 2354709
checking 'as.Image' ........................... PASS (7b41d26d4354fed1) 2354709
checking 'is.Image' ........................... PASS (29e1e263d8769b6f) 0.9
checking 'imageData' .......................... PASS (242db37f6093cb73) 2354709
checking 'imageData<-' ........................ PASS (7b41d26d4354fed1) 2354709
checking 'as.raster' .......................... PASS (b47cd18dd737d179) NA
checking 'colorMode<-' ........................ PASS (739b8cc774a94061) 2354709
checking 'numberOfFrames' ..................... PASS (0cd27cfa5ab0714e) 1.9
checking 'getFrames' .......................... PASS (dfada18bf7486f49) 6bccd3af078885b1
checking 'display' ............................ PASS (713161e915733541) bcf32094ce1d3dd4
checking 'display' ............................ PASS (57f54e3531a18f4e) -0.1
checking 'image' .............................. PASS (57f54e3531a18f4e) -0.1
checking 'drawCircle' ......................... PASS (516ff89688aa090a) 2650006
checking '[' .................................. PASS (b7ab984ac4c76be7) 40701.82
checking 'resize' ............................. PASS (19f045e2a12c3dcd) 76725662
checking 'rotate' ............................. PASS (5ca7d358dc5f6cb8) 4140744
checking 'flip' ............................... PASS (ec438fa29adb6692) 2309692
checking 'flop' ............................... PASS (189be924d5127b6d) 2358658
checking 'translate' .......................... PASS (6b8b9dffcab202c5) 3393923
checking 'affine' ............................. PASS (8490fa9d387d7f22) 301692.6
checking 'transpose' .......................... PASS (f415a850f96da517) 2303263
checking 'thresh' ............................. PASS (96c1db8a6b3c5f8f) 1549362
checking 'channel' ............................ PASS (d0059f4eaa729cb0) 287206.2
checking 'otsu' ............................... PASS (18794185be6d9049) 1.370703
checking 'bwlabel' ............................ PASS (cf48a1553a7ca557) 360413.9
checking 'colorLabels' ........................ PASS (87aec3caedd0f2b2) 3039066
checking 'stackObjects' ....................... PASS (6c9d66add9231c0b) 2472601
checking 'stackObjects' ....................... PASS (57f54e3531a18f4e) -0.1
checking 'paintObjects' ....................... PASS (a94d303375c85afc) 2558300
checking 'rmObjects' .......................... PASS (3c7c32b7c14bf399) 261782.9
checking 'reenumerate' ........................ PASS (3c7c32b7c14bf399) 261782.9
checking 'reenumerate' ........................ PASS (cf48a1553a7ca557) 360413.9
checking 'computeFeatures' .................... PASS (43ed64a6574660f3) 749353.1
checking 'computeFeatures' .................... PASS (6dc4c63dde7e7828) 32d95b1456f80f68
checking 'ocontour' ........................... PASS (0cc37fb8be6a9150) a8ef8364446f767a
checking 'localCurvature' ..................... PASS (91ac6bafe7f8c008) feedc85342708fe9
checking 'normalize' .......................... PASS (6f82aae3b180c153) 2693244
checking 'normalize' .......................... PASS (27441d4baba7c727) 2315924
checking 'gblur' .............................. PASS (6317c51db4b2e332) 2349701
checking 'filter2' ............................ PASS (ff5a03c8be20359c) 58841710
checking 'medianFilter' ....................... PASS (08a067834027edb5) 2352447
checking 'equalize' ........................... PASS (02d6a459ef536ba0) 2616480
checking 'erode' .............................. PASS (c065e093042fa687) 1547948
checking 'dilate' ............................. PASS (3ad67b8d06ebb303) 2604996
checking 'opening' ............................ PASS (789077961fab1b84) 1919386
checking 'closing' ............................ PASS (930601017e06bf69) 2038196
checking 'whiteTopHat' ........................ PASS (248102e12cde390f) 12437.36
checking 'blackTopHat' ........................ PASS (2769c6f876a888b2) 19780.97
checking 'selfComplementaryTopHat' ............ PASS (535e331642e8affe) 4711722
checking 'distmap' ............................ PASS (e9f6f8a5899a40fd) 10836360
checking 'watershed' .......................... PASS (355196749445c942) 2013322
checking 'floodFill' .......................... PASS (a23cce6e67e088ae) 2355706
checking 'fillHull' ........................... PASS (5a6494dd882e20ae) 2013322
checking 'propagate' .......................... PASS (6a54d058269b4352) 11618104
checking 'toRGB' .............................. PASS (7b41d26d4354fed1) 2354709
checking 'rgbImage' ........................... PASS (05d03bf83df83dbf) 12071186
checking 'colormap' ........................... PASS (40f159a4fec5a5e4) 2273276
checking 'combine' ............................ PASS (943e696dd062479b) 9516503
checking 'combine' ............................ PASS (5b2b6f0a51b05e18) 59844403
checking 'tile' ............................... PASS (853d179912a1e6b9) 114300809
checking 'untile' ............................. PASS (92a5de5886618db5) 105862114
checking 'abind' .............................. PASS (26faa8168a99c898) 9516503
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
>
> ## test: 4D Grayscale 16x33x2x3
> colorMode(x) <- Grayscale
> imageData(x) <- aperm(x, c(2L, 1L, 4L, 3L))
> testEBImageFunctions(x)
new test (hash=ea218ca35d898b4f)
checking 'show' ............................... PASS (07d544b61ec16bf1) NA
checking 'print' .............................. PASS (185b486b9fcdb3b0) NA
checking 'hist' ............................... PASS (06d171c8f173fbfa) c3d0c3b2d4df7f61
checking '>' .................................. PASS (cdeb2538f3cc7adf) 1541186
checking '+' .................................. PASS (9d2cb7572d822536) 4466272
checking '/' .................................. PASS (93c6c46f0b0e7df5) 1116568
checking '*' .................................. PASS (9d2cb7572d822536) 4466272
checking 'median' ............................. PASS (fdd3c9a35d83db2f) 0.3823529
checking 'quantile' ........................... PASS (e26e9f3ec19dd1e9) 8.139216
checking 'Image' .............................. PASS (b2c89c8bd2d8cfbb) 2233136
checking 'as.Image' ........................... PASS (ea218ca35d898b4f) 2233136
checking 'is.Image' ........................... PASS (29e1e263d8769b6f) 0.9
checking 'imageData' .......................... PASS (85da79da2cd4332f) 2233136
checking 'imageData<-' ........................ PASS (ea218ca35d898b4f) 2233136
checking 'as.raster' .......................... PASS (f7837c7682313ed7) NA
checking 'colorMode<-' ........................ PASS (ea218ca35d898b4f) 2233136
checking 'numberOfFrames' ..................... PASS (ce8815ddd92a2bbb) 5.9
checking 'getFrames' .......................... PASS (e193a8c072f9729f) feb32c3d20c02193
checking 'display' ............................ PASS (c99fb2dbf3f4f099) 8222a6379bd22cd5
checking 'display' ............................ PASS (57f54e3531a18f4e) -0.1
checking 'image' .............................. PASS (57f54e3531a18f4e) -0.1
checking 'drawCircle' ......................... PASS (2eeddc22da537d19) 2502013
checking '[' .................................. PASS (ca2402ebe50888e9) 41200.75
checking 'resize' ............................. PASS (c2412da2d423bb4c) 72772706
checking 'rotate' ............................. PASS (e88e2e93ce61d959) 3978266
checking 'flip' ............................... PASS (735ec4743ab3f0c4) 2296325
checking 'flop' ............................... PASS (039d65e48af245d2) 2231772
checking 'translate' .......................... PASS (6dc22f8c9da472fe) 3827517
checking 'affine' ............................. PASS (987d2bf7d6243ac5) 219714.6
checking 'transpose' .......................... PASS (70d09e0401597e51) 2284582
checking 'thresh' ............................. PASS (99ef268285d31156) 1426674
checking 'channel' ............................ PASS (ea218ca35d898b4f) 2233136
checking 'otsu' ............................... PASS (73c8c3c1a7c3a7e0) 9.425391
checking 'bwlabel' ............................ PASS (48a9facb579b630f) 2016822
checking 'colorLabels' ........................ PASS (2f81d6c90e88b2d4) 14827904
checking 'stackObjects' ....................... PASS (28c1ffc9196cbeda) 2575847
checking 'stackObjects' ....................... PASS (57f54e3531a18f4e) -0.1
checking 'paintObjects' ....................... PASS (ba568e37e29116fa) 2379341
checking 'rmObjects' .......................... PASS (150895efa1acc9af) 1934575
checking 'reenumerate' ........................ PASS (150895efa1acc9af) 1934575
checking 'reenumerate' ........................ PASS (48a9facb579b630f) 2016822
checking 'computeFeatures' .................... PASS (5f168ac8bf99f53d) 734993.9
checking 'computeFeatures' .................... PASS (6dc4c63dde7e7828) 32d95b1456f80f68
checking 'ocontour' ........................... PASS (67c938cc8c8b0a94) e0b0122d0f8dbec3
checking 'localCurvature' ..................... PASS (14e7e43044a6edce) dbbde661d27cf4d5
checking 'normalize' .......................... PASS (c6700c53a770f4dc) 2526618
checking 'normalize' .......................... PASS (321165d27d376355) 2163958
checking 'gblur' .............................. PASS (167add1590f90b31) 2237219
checking 'filter2' ............................ PASS (288a7b9238221d38) 56904871
checking 'medianFilter' ....................... PASS (12259cca79cae7e1) 2231438
checking 'equalize' ........................... PASS (8a3ab1c34c6d6b46) 2447139
checking 'erode' .............................. PASS (76903cc870b48afc) 1121204
checking 'dilate' ............................. PASS (9a465193b3c535f1) 2104588
checking 'opening' ............................ PASS (f27ee35968015aff) 1451050
checking 'closing' ............................ PASS (fc6578a91384556e) 1569448
checking 'whiteTopHat' ........................ PASS (2545dff4d9a67f18) 12004.54
checking 'blackTopHat' ........................ PASS (0bc09ee83c3b7e6b) 20296.87
checking 'selfComplementaryTopHat' ............ PASS (7271dd2d24a8b8fa) 4469404
checking 'distmap' ............................ PASS (fd74d28ff7a40bc8) 7464344
checking 'watershed' .......................... PASS (aec9e7c80b500f8a) 1541186
checking 'floodFill' .......................... PASS (c8f6a63ecc5faeb2) 2234521
checking 'fillHull' ........................... PASS (cdeb2538f3cc7adf) 1541186
checking 'propagate' .......................... PASS (2fa32c86f0afbbe9) 8948876
checking 'toRGB' .............................. PASS (7ac5c5945e1aa8b4) 20279146
checking 'rgbImage' ........................... PASS (6c13f1c0649a1b02) 10796552
checking 'colormap' ........................... PASS (fffb8d91ccca5f12) 22585273
checking 'combine' ............................ PASS (61a6f7f5c6357973) 8992851
checking 'combine' ............................ PASS (e3af2b87e81b577e) 56431472
checking 'tile' ............................... PASS (22c39d5bf0a57b26) 72664167
checking 'untile' ............................. PASS (f3dd10e639f40c64) 60048605
checking 'abind' .............................. PASS (f28d70bcf3781d08) 9273358
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
>
> ## test: Image subclass
> ImageSubclass <- setClass ("ImageSubclass", contains = "Image", slots = c(foo = "character"))
> x <- ImageSubclass(x, foo="bar")
> testEBImageFunctions(x)
new test (hash=2cd1b3ca941d0306)
checking 'show' ............................... PASS (ce75d078eccda68c) NA
checking 'print' .............................. PASS (e01f0947e67df522) NA
checking 'hist' ............................... PASS (06d171c8f173fbfa) c3d0c3b2d4df7f61
checking '>' .................................. PASS (8eb52b594f8cd22b) 1541186
checking '+' .................................. PASS (d0da7a47899efbc4) 4466272
checking '/' .................................. PASS (8bfccf8b88e728b0) 1116568
checking '*' .................................. PASS (d0da7a47899efbc4) 4466272
checking 'median' ............................. PASS (fdd3c9a35d83db2f) 0.3823529
checking 'quantile' ........................... PASS (e26e9f3ec19dd1e9) 8.139216
checking 'Image' .............................. PASS (b2c89c8bd2d8cfbb) 2233136
checking 'as.Image' ........................... PASS (ea218ca35d898b4f) 2233136
checking 'is.Image' ........................... PASS (29e1e263d8769b6f) 0.9
checking 'imageData' .......................... PASS (85da79da2cd4332f) 2233136
checking 'imageData<-' ........................ PASS (2cd1b3ca941d0306) 2233136
checking 'as.raster' .......................... PASS (f7837c7682313ed7) NA
checking 'colorMode<-' ........................ PASS (2cd1b3ca941d0306) 2233136
checking 'numberOfFrames' ..................... PASS (ce8815ddd92a2bbb) 5.9
checking 'getFrames' .......................... PASS (57ddf8e1c5653fa1) 578ceb264bf8c00f
checking 'display' ............................ PASS (c99fb2dbf3f4f099) 8222a6379bd22cd5
checking 'display' ............................ PASS (57f54e3531a18f4e) -0.1
checking 'image' .............................. PASS (57f54e3531a18f4e) -0.1
checking 'drawCircle' ......................... PASS (2a6138d3f6c7cf2b) 2502013
checking '[' .................................. PASS (21b006dc9b230591) 41200.75
checking 'resize' ............................. PASS (d4439ccaddffedbf) 72772706
checking 'rotate' ............................. PASS (49bab3d36db066a3) 3978266
checking 'flip' ............................... PASS (de3315d317526bf8) 2296325
checking 'flop' ............................... PASS (1746b768e1919758) 2231772
checking 'translate' .......................... PASS (eb6575b71bd228cf) 3827517
checking 'affine' ............................. PASS (6f88949e9ca0500f) 219714.6
checking 'transpose' .......................... PASS (cae5d3f85d9a6547) 2284582
checking 'thresh' ............................. PASS (6907f0b8232e5a87) 1426674
checking 'channel' ............................ PASS (2cd1b3ca941d0306) 2233136
checking 'otsu' ............................... PASS (73c8c3c1a7c3a7e0) 9.425391
checking 'bwlabel' ............................ PASS (0cd3636f1086f354) 2016822
checking 'colorLabels' ........................ PASS (3d06f02ad8d875a7) 16357947
checking 'stackObjects' ....................... PASS (3dfb061836ca6d36) 2575847
checking 'stackObjects' ....................... PASS (57f54e3531a18f4e) -0.1
checking 'paintObjects' ....................... PASS (d0e505d3ebc1fb67) 2379341
checking 'rmObjects' .......................... PASS (72c36fcb451899a7) 1934575
checking 'reenumerate' ........................ PASS (72c36fcb451899a7) 1934575
checking 'reenumerate' ........................ PASS (0cd3636f1086f354) 2016822
checking 'computeFeatures' .................... PASS (5f168ac8bf99f53d) 734993.9
checking 'computeFeatures' .................... PASS (6dc4c63dde7e7828) 32d95b1456f80f68
checking 'ocontour' ........................... PASS (67c938cc8c8b0a94) e0b0122d0f8dbec3
checking 'localCurvature' ..................... PASS (14e7e43044a6edce) dbbde661d27cf4d5
checking 'normalize' .......................... PASS (c864fc347d3e1eec) 2526618
checking 'normalize' .......................... PASS (b924aa1ced88d0b0) 2163958
checking 'gblur' .............................. PASS (41001e94fa243311) 2237219
checking 'filter2' ............................ PASS (c4dde73f4cd08626) 56904871
checking 'medianFilter' ....................... PASS (f336aae43926dd3a) 2231438
checking 'equalize' ........................... PASS (8aff651b4bfe1e2d) 2447139
checking 'erode' .............................. PASS (af16c2acdfe1ce54) 1121204
checking 'dilate' ............................. PASS (6cf3e21751061042) 2104588
checking 'opening' ............................ PASS (e32b483b92a01e61) 1451050
checking 'closing' ............................ PASS (39b38ac520b6b72d) 1569448
checking 'whiteTopHat' ........................ PASS (2dfa04a48724ec36) 12004.54
checking 'blackTopHat' ........................ PASS (70ff24813042529a) 20296.87
checking 'selfComplementaryTopHat' ............ PASS (4e93f72a43638575) 4469404
checking 'distmap' ............................ PASS (fb1ca8ba680de2b3) 7464344
checking 'watershed' .......................... PASS (29d5027b84535806) 1541186
checking 'floodFill' .......................... PASS (54aa4548fd305300) 2234521
checking 'fillHull' ........................... PASS (8eb52b594f8cd22b) 1541186
checking 'propagate' .......................... PASS (0d73b4f196a75014) 8948876
checking 'toRGB' .............................. PASS (3e30f901f32391f1) 20279146
checking 'rgbImage' ........................... PASS (7265edee83ee6475) 10796552
checking 'colormap' ........................... PASS (2d850cd3a218b6b9) 22585273
checking 'combine' ............................ PASS (8750feb29c15297c) 8992851
checking 'combine' ............................ PASS (c97b83093836307a) 56431472
checking 'tile' ............................... PASS (2144c4a0e85d648a) 72664167
checking 'untile' ............................. PASS (340bd33c3fc91099) 60048605
checking 'abind' .............................. PASS (0fe154b843d8fc58) 9273358
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
>
|
|
|
EBImage.Rcheck/tests_x64/test.Rout.save
R version 3.4.2 (2017-09-28) -- "Short Summer"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> ## cat tests/test.R | R --vanilla &>tests/test.Rout.save
> library("EBImage")
>
> set.seed(0) # make random color permutations in 'colorLabels' reproducible
> .digits = floor(-log10(.Machine$double.eps^.5) - 1)
>
> ## returns a hashcode given an object
> hash = function (x) .Call(digest:::digest_impl, serialize(x, connection=NULL, ascii=FALSE, xdr=FALSE), 7L, -1L, 14L, 0L, 0L, PACKAGE="digest")
>
> hash.old <- function(x) {
+ if (is.list(x)) hash(sapply(x,hash))
+ else {
+ xd <- as.numeric(x)
+ xd <- xd[!is.nan(xd)]
+ if (is.matrix(xd)) sum(xd*(1:length(xd))) + 0.7*hash(dim(xd))
+ else sum(xd*(1:length(xd))) - 0.1
+ }
+ }
>
> ## try to evaluate fun(x,...)
> check <- function(fun, x, ..., capture.output=FALSE, suppressWarnings=FALSE, suppressMessages=FALSE, expectError=FALSE, round=FALSE, debug=FALSE) {
+ passed <- TRUE
+
+ cat(sprintf("checking \'%s\' %s ", fun, paste(rep(".", 35L-nchar(fun)), collapse = "")))
+
+ expr = quote(do.call(fun,c(list(x),list(...))))
+ if ( isTRUE(capture.output) ) expr = call("capture.output", expr)
+ if ( isTRUE(suppressWarnings) ) expr = call("suppressWarnings", expr)
+ if ( isTRUE(suppressMessages) ) expr = call("suppressMessages", expr)
+
+ y <- try(eval(expr), silent=TRUE)
+
+ if ( (class(y)=="try-error" && !isTRUE(expectError) ) || ( is.Image(y) && !validObject(y)) ) {
+ y <- NULL
+ passed <- FALSE
+ }
+
+ if (passed) {
+ if ( isTRUE(round) && class(y)!="try-error")
+ y = if ( is.list(y) ) lapply(y, round, digits=.digits) else round(y, digits = .digits)
+ cat("PASS (", hash(y), ") ", hash.old(y), "\n", sep="")
+ }
+ else cat("FAIL\n")
+
+ if ( isTRUE(debug) ) {
+ if (is.Image(y)) show(y)
+ if (is.array(y)) display(y, all=TRUE, interpolate=FALSE)
+ else if (is.character(y)) cat(y, sep="\n")
+ }
+
+ y
+ }
>
> checkIO <- function(name) {
+ cat("checking IO for \'", name, "\' ... ", sep="")
+ x = get(name)
+ y = FALSE
+ if ( !is.null(x) ) {
+ y <- try({
+ xx <- readImage(writeImage(x, tempfile("", fileext = ".tif")))
+ dimnames(xx) <- dimnames(x)
+ identical(x, xx)
+ }, silent=TRUE)
+ }
+ if ( isTRUE(y) ) cat("PASS\n") else cat("FAIL\n")
+ invisible(y)
+ }
>
> testIOFunctions <- function(...) invisible(lapply(list(...), function(y) checkIO(y)))
>
> testEBImageFunctions <- function(x) {
+ cat("new test (hash=", hash(x), ")\n", sep="")
+
+ z <- check("show", x, capture.output=TRUE)
+ z <- check("print", x, short=TRUE, capture.output=TRUE)
+ if ( typeof(x)=="logical" )
+ z <- check("hist", EBImage:::castImage(x), breaks = c(0, .5, 1))
+ else
+ z <- check("hist", x)
+
+ ## pixel arithmetic
+ z <- check(">", x, 0.5)
+ z <- check("+", x, x)
+ z <- check("/", x, 2)
+ z <- check("*", 2L, x)
+ z <- check("median", x)
+ z <- check("quantile", x)
+
+ ## image methods
+ z <- check("Image", x, colormode="Color")
+ z <- check("as.Image", x)
+ z <- check("is.Image", x)
+ z <- check("imageData", x)
+ z <- check("imageData<-", x, z)
+ z <- check("as.raster", x)
+ z <- check("colorMode<-", x, Grayscale, suppressWarnings=TRUE)
+ y <- check("numberOfFrames", x, type="render")
+ z <- if ( y==1L ) check("getFrames", x, 1L, "render") else check("getFrames", x)
+ z <- check("display", x, method = "browser", tempDir = file.path(dirname(tempdir()), "EBImage_tmp"))
+ if ( y>2L ) {
+ z <- check("display", x, method = "raster", all = TRUE)
+ z <- check("image", x, i = 3L)
+ }
+ else {
+ z <- if (y==1L) check("display", x, method = "raster") else check("display", x, method = "raster", frame = 2L, suppressMessages=TRUE)
+ z <- check("image", x, suppressMessages=TRUE)
+ }
+
+ ## drawCircle
+ d <- dim(x)
+ c.x <- ceiling(d[1L]/2)
+ c.y <- ceiling(d[2L]/2)
+ radius <- max(c.x-1, 1)
+ nf <- numberOfFrames(x, "render")
+ fill <- nf > 1
+ col <- if ( colorMode(x)==Color ) "yellow" else 1
+ z <- check("drawCircle", x, c.x, c.x, radius, col, fill, nf)
+
+ ## subset
+ sub <- list(x, 1:min(10,d[1L]), 1:min(7,d[2L]))
+ if (length(d)>2) sub <- c(sub, rep(TRUE, length(d)-2))
+ z <- do.call("check", c("[", sub))
+
+ ## spatial transform
+ z <- check("resize", x, 137, 22)
+ z <- check("rotate", x, 20)
+ z <- check("flip", x)
+ z <- check("flop", x)
+ z <- check("translate", x, c(-7, 5), bg.col=1)
+ z <- check("affine", x, matrix(c(-7, 5, 0.1, -0.2, 0.3, 1), ncol=2L))
+ z <- check("transpose", x)
+
+ ## segmentation
+ fd = pmin(5, (d[1:2]-1)/2)
+ z <- check("thresh", x, w=fd[1L], h=fd[2L])
+ y <- check("channel", x, "luminance")
+ z <- check("otsu", y)
+ y <- suppressWarnings(normalize(y, separate=FALSE))
+ y <- check("bwlabel", y > 0.5)
+ z <- check("colorLabels", y, suppressWarnings=TRUE)
+ z <- check("stackObjects", y, x)
+ z <- check("stackObjects", Image(dim=dim(y)), x)
+ cls <- if ( colorMode(x)==Color ) TRUE else FALSE
+ z <- check("paintObjects", y, x, col=c("#ff00ff", "#ffff00"), opac=c(1.0, 0.5), thick=cls, closed=cls)
+ z <- check("rmObjects", y, as.list(seq_len(numberOfFrames(y))), cls)
+ z <- check("reenumerate", z)
+ z <- check("reenumerate", y)
+
+ ## features
+ x1 <- getFrame(x, 1)
+ x2 <- list(x=x1, y=2*x1)
+ y1 <- getFrame(y, 1)
+ expandRef <- if ( min(dim(x1)) > 31L ) function(ref, refnames) standardExpandRef(ref, refnames, gblob(n=31L)) else NULL
+ z <- check("computeFeatures", y1, x2, expandRef = expandRef, round = !is.null(expandRef))
+ z <- check("computeFeatures", y1, x2, expandRef = expandRef, properties = TRUE)
+
+ ## curvature
+ y <- check("ocontour", x>0.5)
+ if (length(y) > 0L ) z <- check("localCurvature", y[[1L]], round=TRUE)
+
+ ## filtering
+ z <- check("normalize", x, suppressWarnings=TRUE)
+ z <- check("normalize", x, inputRange=c(0.1, 0.9), suppressWarnings=TRUE)
+ z <- check("gblur", x, sigma=1, expectError=min(d)<7, round=TRUE)
+ y <- if (cls) "replicate" else if (nf>1) 0.5 else "circular"
+ z <- check("filter2", x, array(1, dim=c(5, 5)), y, round=TRUE)
+ z <- check("medianFilter", x, 2)
+ z <- check("equalize", x, suppressWarnings=TRUE)
+
+ ## morphological operations
+ y <- x > 0.5
+ z <- check("erode", y)
+ z <- check("dilate", y, makeBrush(5, 'disc'))
+ z <- check("opening", y, makeBrush(7, 'line'))
+ z <- check("closing", y, makeBrush(4, 'line', angle=0), suppressWarnings=TRUE)
+ z <- check("whiteTopHat", x, makeBrush(3, 'box'))
+ z <- check("blackTopHat", x, makeBrush(5, 'disc'))
+ z <- check("selfComplementaryTopHat", x)
+ z <- check("distmap", y)
+ z <- check("watershed", z)
+ z <- check('floodFill', x, c(5, 5), 0.5)
+ z <- check('fillHull', y)
+
+ ## propagate
+ y <- thresh(x, w=fd[1L], h=fd[2L], offset=0.02)
+ y <- fillHull(y)
+ y <- bwlabel(y)
+ z <- check("propagate", x, y, x>0.5)
+
+ ## colorspace
+ z <- check("toRGB", x)
+ z <- check("rgbImage", x, x>0.5)
+ z <- check("colormap", channel(x, "luminance"), heat.colors(16L))
+
+ ## image stacking, combining, tiling
+ y <- check("combine", list(NULL, x, x, NULL, NULL))
+ z <- check("combine", x, y, y)
+ y <- check("tile", z, nx=3)
+ z <- check("untile", y, c(3, 2))
+ y <- check("abind", list(x, x), along=length(d)+1L)
+ cat("\n")
+ }
>
>
> ## check error handling
> try.readImage <- function(...) tryCatch(suppressWarnings(readImage(...)), error = function(e) NULL)
> mock <- try.readImage(system.file("images", package="EBImage"), type="png")
> mock <- try.readImage("http://www.huber.embl.de/EBImage/missing.file ", type="png")
>
> ## single greyscale and color images
> sample <- try.readImage(system.file("images","sample.png", package="EBImage"))
> sample.color <- try.readImage(system.file("images","sample-color.png", package="EBImage"))
> ## multi-frame image stack
> f = system.file("images","nuclei.tif", package="EBImage")
> nuclei = try.readImage(c(f, f))
> ## test reading from URL
> logo <- try.readImage("http://www.huber.embl.de/EBImage/logo.png")
>
> ## test: IO operations
> testIOFunctions("sample", "sample.color", "nuclei", "logo")
checking IO for 'sample' ... PASS
checking IO for 'sample.color' ... PASS
checking IO for 'nuclei' ... PASS
checking IO for 'logo' ... PASS
>
> ## test: black image
> testEBImageFunctions(Image(0, c(8, 8)))
new test (hash=bb3d006dd4423285)
checking 'show' ............................... PASS (c60852b2f4b4b9e3) NA
checking 'print' .............................. PASS (01ec99e74b854ba0) NA
checking 'hist' ............................... PASS (8c46196952e29db3) 34846b0bcea9feb4
checking '>' .................................. PASS (1b5285e59ce84fa0) -0.1
checking '+' .................................. PASS (bb3d006dd4423285) -0.1
checking '/' .................................. PASS (bb3d006dd4423285) -0.1
checking '*' .................................. PASS (bb3d006dd4423285) -0.1
checking 'median' ............................. PASS (f5699b21f198d2c3) -0.1
checking 'quantile' ........................... PASS (003bcd6206f48eaa) -0.1
checking 'Image' .............................. PASS (99ce97a369121647) -0.1
checking 'as.Image' ........................... PASS (bb3d006dd4423285) -0.1
checking 'is.Image' ........................... PASS (29e1e263d8769b6f) 0.9
checking 'imageData' .......................... PASS (b51b95b0ba6f4dce) -0.1
checking 'imageData<-' ........................ PASS (bb3d006dd4423285) -0.1
checking 'as.raster' .......................... PASS (1675cda1d5c380fa) NA
checking 'colorMode<-' ........................ PASS (bb3d006dd4423285) -0.1
checking 'numberOfFrames' ..................... PASS (96180b4a6b132e65) 0.9
checking 'getFrames' .......................... PASS (d6919177c682b8b7) 14ff3acc3c64b912
checking 'display' ............................ PASS (8c4f07b8386609ca) 9a746e3b1818a41e
checking 'display' ............................ PASS (57f54e3531a18f4e) -0.1
checking 'image' .............................. PASS (57f54e3531a18f4e) -0.1
checking 'drawCircle' ......................... PASS (f78ee95d7e176d93) 447.9
checking '[' .................................. PASS (7e14c53ed4d31621) -0.1
checking 'resize' ............................. PASS (a1c9da3458e151e8) -0.1
checking 'rotate' ............................. PASS (6ace606563c0af26) -0.1
checking 'flip' ............................... PASS (bb3d006dd4423285) -0.1
checking 'flop' ............................... PASS (bb3d006dd4423285) -0.1
checking 'translate' .......................... PASS (574e9cac8770a1fd) 1932.9
checking 'affine' ............................. PASS (bb3d006dd4423285) -0.1
checking 'transpose' .......................... PASS (bb3d006dd4423285) -0.1
checking 'thresh' ............................. PASS (15bf2ee33450c598) -0.1
checking 'channel' ............................ PASS (bb3d006dd4423285) -0.1
checking 'otsu' ............................... PASS (cbe8a6c6aa2e8245) -0.09804688
checking 'bwlabel' ............................ PASS (15bf2ee33450c598) -0.1
checking 'colorLabels' ........................ PASS (5cb6a857d91ed0ea) -0.1
checking 'stackObjects' ....................... PASS (57f54e3531a18f4e) -0.1
checking 'stackObjects' ....................... PASS (57f54e3531a18f4e) -0.1
checking 'paintObjects' ....................... PASS (bb3d006dd4423285) -0.1
checking 'rmObjects' .......................... PASS (15bf2ee33450c598) -0.1
checking 'reenumerate' ........................ PASS (15bf2ee33450c598) -0.1
checking 'reenumerate' ........................ PASS (15bf2ee33450c598) -0.1
checking 'computeFeatures' .................... PASS (57f54e3531a18f4e) -0.1
checking 'computeFeatures' .................... PASS (6dc4c63dde7e7828) 32d95b1456f80f68
checking 'ocontour' ........................... PASS (236bd4454cc8e13c) 236bd4454cc8e13c
checking 'normalize' .......................... PASS (bb3d006dd4423285) -0.1
checking 'normalize' .......................... PASS (bb3d006dd4423285) -0.1
checking 'gblur' .............................. PASS (bb3d006dd4423285) -0.1
checking 'filter2' ............................ PASS (bb3d006dd4423285) -0.1
checking 'medianFilter' ....................... PASS (bb3d006dd4423285) -0.1
checking 'equalize' ........................... PASS (bb3d006dd4423285) -0.1
checking 'erode' .............................. PASS (1b5285e59ce84fa0) -0.1
checking 'dilate' ............................. PASS (1b5285e59ce84fa0) -0.1
checking 'opening' ............................ PASS (1b5285e59ce84fa0) -0.1
checking 'closing' ............................ PASS (1b5285e59ce84fa0) -0.1
checking 'whiteTopHat' ........................ PASS (bb3d006dd4423285) -0.1
checking 'blackTopHat' ........................ PASS (bb3d006dd4423285) -0.1
checking 'selfComplementaryTopHat' ............ PASS (bb3d006dd4423285) -0.1
checking 'distmap' ............................ PASS (bb3d006dd4423285) -0.1
checking 'watershed' .......................... PASS (15bf2ee33450c598) -0.1
checking 'floodFill' .......................... PASS (02f684c8d407c0f3) 1039.9
checking 'fillHull' ........................... PASS (1b5285e59ce84fa0) -0.1
checking 'propagate' .......................... PASS (15bf2ee33450c598) -0.1
checking 'toRGB' .............................. PASS (5cb6a857d91ed0ea) -0.1
checking 'rgbImage' ........................... PASS (5cb6a857d91ed0ea) -0.1
checking 'colormap' ........................... PASS (4fc03a2c05330d87) 2079.9
checking 'combine' ............................ PASS (7587cd4863b3f3d0) -0.1
checking 'combine' ............................ PASS (8cc517353533c670) -0.1
checking 'tile' ............................... PASS (9c28fe28dabc9dc0) 42140.88
checking 'untile' ............................. PASS (f57349ddce21e8e1) 16809.31
checking 'abind' .............................. PASS (7587cd4863b3f3d0) -0.1
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
>
> ## test: white image
> testEBImageFunctions(Image(1L, c(5, 5)))
new test (hash=fd2903042f6577db)
checking 'show' ............................... PASS (d5cb02fa53f44540) NA
checking 'print' .............................. PASS (19e6cb20d3a1bbed) NA
checking 'hist' ............................... PASS (92c01a74babbd9d2) 885b2aa14f6149d7
checking '>' .................................. PASS (57132767bf0cf5c4) 324.9
checking '+' .................................. PASS (78a44d6226d9747a) 649.9
checking '/' .................................. PASS (35e25cdc915f220c) 162.4
checking '*' .................................. PASS (78a44d6226d9747a) 649.9
checking 'median' ............................. PASS (96180b4a6b132e65) 0.9
checking 'quantile' ........................... PASS (e438e836956ab833) 14.9
checking 'Image' .............................. PASS (25cb6efefa0c888d) 324.9
checking 'as.Image' ........................... PASS (fd2903042f6577db) 324.9
checking 'is.Image' ........................... PASS (29e1e263d8769b6f) 0.9
checking 'imageData' .......................... PASS (8657532cd462ea81) 324.9
checking 'imageData<-' ........................ PASS (fd2903042f6577db) 324.9
checking 'as.raster' .......................... PASS (f789919d8c93fb15) NA
checking 'colorMode<-' ........................ PASS (fd2903042f6577db) 324.9
checking 'numberOfFrames' ..................... PASS (96180b4a6b132e65) 0.9
checking 'getFrames' .......................... PASS (5fc2af241f80dfe3) 792ca128c76659ed
checking 'display' ............................ PASS (19741a401daf92e2) e4e805547bbe7024
checking 'display' ............................ PASS (57f54e3531a18f4e) -0.1
checking 'image' .............................. PASS (57f54e3531a18f4e) -0.1
checking 'drawCircle' ......................... PASS (545d29ae11f62e79) 324.9
checking '[' .................................. PASS (fd2903042f6577db) 324.9
checking 'resize' ............................. PASS (066442c79b5dbc5d) 4543605
checking 'rotate' ............................. PASS (6fef9b3e4085e72c) 483.6843
checking 'flip' ............................... PASS (fd2903042f6577db) 324.9
checking 'flop' ............................... PASS (fd2903042f6577db) 324.9
checking 'translate' .......................... PASS (545d29ae11f62e79) 324.9
checking 'affine' ............................. PASS (dc78180c379f20d2) 39.9
checking 'transpose' .......................... PASS (fd2903042f6577db) 324.9
checking 'thresh' ............................. PASS (9a58bf6b1ef39788) -0.1
checking 'channel' ............................ PASS (fd2903042f6577db) 324.9
checking 'otsu' ............................... PASS (f397fccddb916350) 0.8980469
checking 'bwlabel' ............................ PASS (fd2903042f6577db) 324.9
checking 'colorLabels' ........................ PASS (5a10b69b9bb71739) 2849.9
checking 'stackObjects' ....................... PASS (8f1472c017e2814c) 324.9
checking 'stackObjects' ....................... PASS (57f54e3531a18f4e) -0.1
checking 'paintObjects' ....................... PASS (51f47541d96a6ecf) 270.7333
checking 'rmObjects' .......................... PASS (9a58bf6b1ef39788) -0.1
checking 'reenumerate' ........................ PASS (9a58bf6b1ef39788) -0.1
checking 'reenumerate' ........................ PASS (fd2903042f6577db) 324.9
checking 'computeFeatures' .................... PASS (559dfc74a97494a3) 950932.9
checking 'computeFeatures' .................... PASS (6dc4c63dde7e7828) 32d95b1456f80f68
checking 'ocontour' ........................... PASS (2663ed016907f460) 2cd2b9ad99f98fd3
checking 'localCurvature' ..................... PASS (80236128c43c5c64) aa70763bde359b48
checking 'normalize' .......................... PASS (545d29ae11f62e79) 324.9
checking 'normalize' .......................... PASS (545d29ae11f62e79) 324.9
checking 'gblur' .............................. PASS (19cc14ba61b7caea) NA
checking 'filter2' ............................ PASS (a98d049f987b512a) 8124.9
checking 'medianFilter' ....................... PASS (545d29ae11f62e79) 324.9
checking 'equalize' ........................... PASS (fd2903042f6577db) 324.9
checking 'erode' .............................. PASS (57132767bf0cf5c4) 324.9
checking 'dilate' ............................. PASS (57132767bf0cf5c4) 324.9
checking 'opening' ............................ PASS (57132767bf0cf5c4) 324.9
checking 'closing' ............................ PASS (57132767bf0cf5c4) 324.9
checking 'whiteTopHat' ........................ PASS (9a58bf6b1ef39788) -0.1
checking 'blackTopHat' ........................ PASS (9a58bf6b1ef39788) -0.1
checking 'selfComplementaryTopHat' ............ PASS (78a44d6226d9747a) 649.9
checking 'distmap' ............................ PASS (2690b089a32348c7) Inf
checking 'watershed' .......................... PASS (fd2903042f6577db) 324.9
checking 'floodFill' .......................... PASS (9a58bf6b1ef39788) -0.1
checking 'fillHull' ........................... PASS (57132767bf0cf5c4) 324.9
checking 'propagate' .......................... PASS (9a58bf6b1ef39788) -0.1
checking 'toRGB' .............................. PASS (c8f79be3016a4f30) 2849.9
checking 'rgbImage' ........................... PASS (04e5727b08bf45cb) 1274.9
checking 'colormap' ........................... PASS (465b64f5769d9429) 2652.253
checking 'combine' ............................ PASS (4d32f0cd424c46ed) 1274.9
checking 'combine' ............................ PASS (d235aa9dfa5f7f28) 7874.9
checking 'tile' ............................... PASS (d78128e72e9c8cfb) 24420.64
checking 'untile' ............................. PASS (2f982bd94f9d06ba) 10445.49
checking 'abind' .............................. PASS (4d32f0cd424c46ed) 1274.9
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
4: In hash.old(y) : NAs introduced by coercion
>
> ## test: 2D Grayscale 64x48
> x <- nuclei[50:113,208:255,2]
> testEBImageFunctions(as.array(x))
new test (hash=ea1a665d75817fbb)
checking 'show' ............................... PASS (642a853c4a9fb245) NA
checking 'print' .............................. PASS (642a853c4a9fb245) NA
checking 'hist' ............................... PASS (758d77d39292aceb) 22261eb2334cd65e
checking '>' .................................. PASS (b630618a382dd149) 1217568
checking '+' .................................. PASS (78bcec8b0be50e22) 2940144
checking '/' .................................. PASS (eaac0e8ec321e267) 735035.9
checking '*' .................................. PASS (78bcec8b0be50e22) 2940144
checking 'median' ............................. PASS (0ba48ebb83d20dcf) 0.04509804
checking 'quantile' ........................... PASS (922eedf2ceb73c21) 7.331373
checking 'Image' .............................. PASS (930c159d012125dd) 1470072
checking 'as.Image' ........................... PASS (d2785eea34628f36) 1470072
checking 'is.Image' ........................... PASS (7a36fa498bbfcb30) -0.1
checking 'imageData' .......................... PASS (ea1a665d75817fbb) 1470072
checking 'imageData<-' ........................ PASS (ea1a665d75817fbb) 1470072
checking 'as.raster' .......................... PASS (92e268a98a202d0d) NA
checking 'colorMode<-' ........................ PASS (2f347dbc7d4df203) NA
checking 'numberOfFrames' ..................... PASS (96180b4a6b132e65) 0.9
checking 'getFrames' .......................... PASS (c8a1bed0f342ba9c) f9df249b9d461561
checking 'display' ............................ PASS (e5abc9317013ef0f) 4597ff5701547c38
checking 'display' ............................ PASS (57f54e3531a18f4e) -0.1
checking 'image' .............................. PASS (57f54e3531a18f4e) -0.1
checking 'drawCircle' ......................... PASS (d3ac30a887c990f0) 1607165
checking '[' .................................. PASS (9bb7b574fc489848) 48.94314
checking 'resize' ............................. PASS (00fab9ec40eb5e2f) 1419476
checking 'rotate' ............................. PASS (447c32314cc4e9d7) 2493977
checking 'flip' ............................... PASS (a8c542a26b0874e8) 1195977
checking 'flop' ............................... PASS (7e68dec7614712d2) 1462119
checking 'translate' .......................... PASS (21641bbeafdcbc39) 2133961
checking 'affine' ............................. PASS (1ed86f465543429e) 54171.17
checking 'transpose' .......................... PASS (f39a2b54df5d5df8) 1522055
checking 'thresh' ............................. PASS (aed13a82eaa0d6f6) 1262811
checking 'channel' ............................ PASS (ea1a665d75817fbb) 1470072
checking 'otsu' ............................... PASS (0c822739ccd9b674) 0.3160156
checking 'bwlabel' ............................ PASS (d2978ac5475fd985) 1199387
checking 'colorLabels' ........................ PASS (0505b0b4e09d05ed) 10021713
checking 'stackObjects' ....................... PASS (f8eb9b4047e677fb) 718602.9
checking 'stackObjects' ....................... PASS (57f54e3531a18f4e) -0.1
checking 'paintObjects' ....................... PASS (f064eb914151d29d) 1447733
checking 'rmObjects' .......................... PASS (8f36486b7880f33a) -0.1
checking 'reenumerate' ........................ PASS (8f36486b7880f33a) -0.1
checking 'reenumerate' ........................ PASS (d2978ac5475fd985) 1199387
checking 'computeFeatures' .................... PASS (9dca8bdb6fc6383c) 3634215
checking 'computeFeatures' .................... PASS (3a766122214a21a8) cf1b0ac94ace207a
checking 'ocontour' ........................... PASS (ddb1a61382610e29) 0dab270d98fdbdd8
checking 'localCurvature' ..................... PASS (48edb77f99eb5e0a) a351f1682141f4de
checking 'normalize' .......................... PASS (dd024957ed9be970) 1431381
checking 'normalize' .......................... PASS (327914cc2a95292d) 1266798
checking 'gblur' .............................. PASS (ba634c0d6cb869f5) 1466231
checking 'filter2' ............................ PASS (b1783e1383b0d429) 36592176
checking 'medianFilter' ....................... PASS (f73f9cb355632e37) 1454712
checking 'equalize' ........................... PASS (3229c589865d1dd0) 2642794
checking 'erode' .............................. PASS (a808a82152309cd0) 759774.9
checking 'dilate' ............................. PASS (6ad0a88f208f30d0) 1797576
checking 'opening' ............................ PASS (14899fd17ddf0b81) 1152484
checking 'closing' ............................ PASS (8f3f27e6caed70de) 1232737
checking 'whiteTopHat' ........................ PASS (0461dfe452491caf) 18730.15
checking 'blackTopHat' ........................ PASS (8f53c6a02fcc449b) 27716.23
checking 'selfComplementaryTopHat' ............ PASS (53e3b78d71635465) 2929436
checking 'distmap' ............................ PASS (66da40cd47ec8762) 3826969
checking 'watershed' .......................... PASS (fe4e99c1bb5f9562) 2762113
checking 'floodFill' .......................... PASS (e508f01acf50e00d) 1470197
checking 'fillHull' ........................... PASS (b630618a382dd149) 1217568
checking 'propagate' .......................... PASS (9e56846cb0e2b112) 3464201
checking 'toRGB' .............................. PASS (7b33402954c29951) 12381911
checking 'rgbImage' ........................... PASS (c44ead1803e628d9) 4859544
checking 'colormap' ........................... PASS (fbcba322d3f5c951) 11126039
checking 'combine' ............................ PASS (3f46a10efaaab318) 5597376
checking 'combine' ............................ PASS (c2857e1a820b6b96) 33922678
checking 'tile' ............................... PASS (78eab32eac869231) 78718054
checking 'untile' ............................. PASS (59f8bb36c4481a79) 72597772
checking 'abind' .............................. PASS (3f46a10efaaab318) 5597376
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
4: In hash.old(y) : NAs introduced by coercion
>
> ## test: 2D Color 32x48x1
> x <- sample[1:32, 1:48]
> testEBImageFunctions(Image(as.vector(x), dim(x), Color))
new test (hash=42e4a51e3404811e)
checking 'show' ............................... PASS (c341f3b9fc1ff684) NA
checking 'print' .............................. PASS (419cec4864e97478) NA
checking 'hist' ............................... PASS (91566cadc223f9a3) 05bf2b59f2a77bb3
checking '>' .................................. PASS (c843a337bba9a51b) 988518.9
checking '+' .................................. PASS (5b9c39c8dde0f4ba) 1531522
checking '/' .................................. PASS (c8eb6e9ad11ccbd8) 382880.4
checking '*' .................................. PASS (5b9c39c8dde0f4ba) 1531522
checking 'median' ............................. PASS (1855a565fb986239) 0.5039216
checking 'quantile' ........................... PASS (3b22f40de65ddba9) 10.10392
checking 'Image' .............................. PASS (42e4a51e3404811e) 765760.9
checking 'as.Image' ........................... PASS (42e4a51e3404811e) 765760.9
checking 'is.Image' ........................... PASS (29e1e263d8769b6f) 0.9
checking 'imageData' .......................... PASS (e5ac272d081a94e8) 765760.9
checking 'imageData<-' ........................ PASS (42e4a51e3404811e) 765760.9
checking 'as.raster' .......................... PASS (b2474ac70f11c65b) NA
checking 'colorMode<-' ........................ PASS (659e2fc3253b48a5) 765760.9
checking 'numberOfFrames' ..................... PASS (96180b4a6b132e65) 0.9
checking 'getFrames' .......................... PASS (0db71a429380e045) 2ce69e3965ee85bb
checking 'display' ............................ PASS (e02c3fc0d11fe3dd) ece292adeae37a84
checking 'display' ............................ PASS (57f54e3531a18f4e) -0.1
checking 'image' .............................. PASS (57f54e3531a18f4e) -0.1
checking 'drawCircle' ......................... PASS (db43b8c94523e893) 782100.7
checking '[' .................................. PASS (9e53ad55777f433d) 1285.273
checking 'resize' ............................. PASS (3e691caece9a23f3) 2941770
checking 'rotate' ............................. PASS (8445c36b57d60c5d) 1247487
checking 'flip' ............................... PASS (a292f4134eba03ae) 661525.2
checking 'flop' ............................... PASS (edb212fe7ec01fae) 768451.1
checking 'translate' .......................... PASS (158cc0e28f649d32) 820434.5
checking 'affine' ............................. PASS (3aca89b692c9110c) 22238.15
checking 'transpose' .......................... PASS (32f4e3c321435048) 652051.4
checking 'thresh' ............................. PASS (bf6cf9e7f1b50aa0) 382924.9
checking 'channel' ............................ PASS (288c8c2a23d7d309) 162800.7
checking 'otsu' ............................... PASS (2634e72eb12ab864) 0.03085937
checking 'bwlabel' ............................ PASS (a53dfbd74180c15c) 832970.9
checking 'colorLabels' ........................ PASS (9aea6bf69b9535b1) 5455321
checking 'stackObjects' ....................... PASS (202a964735f173b1) 596493.9
checking 'stackObjects' ....................... PASS (57f54e3531a18f4e) -0.1
checking 'paintObjects' ....................... PASS (d729a9cd58722f9f) 919069.9
checking 'rmObjects' .......................... PASS (315db6e1904a02f2) 565.9
checking 'reenumerate' ........................ PASS (315db6e1904a02f2) 565.9
checking 'reenumerate' ........................ PASS (a53dfbd74180c15c) 832970.9
checking 'computeFeatures' .................... PASS (607eae59e3423025) 3988895
checking 'computeFeatures' .................... PASS (3a766122214a21a8) cf1b0ac94ace207a
checking 'ocontour' ........................... PASS (da840dfc876b827d) 90e46e616d6ca694
checking 'localCurvature' ..................... PASS (744209c192ca349a) 97da7b3a7c2ec717
checking 'normalize' .......................... PASS (fd0fb40ffb018169) 747801.4
checking 'normalize' .......................... PASS (4b1f8e1c8e2f7bf3) 809649.2
checking 'gblur' .............................. PASS (850f1053006670c6) 761679.3
checking 'filter2' ............................ PASS (c6d3b7ddd80521f9) 19130329
checking 'medianFilter' ....................... PASS (07a157a471910361) 765141.6
checking 'equalize' ........................... PASS (0e526b3729fc6369) 705546.8
checking 'erode' .............................. PASS (36413a22e579f0bc) 908526.9
checking 'dilate' ............................. PASS (144e48361a76b7c4) 1072658
checking 'opening' ............................ PASS (b7c1eac6357c6e80) 985798.9
checking 'closing' ............................ PASS (2e4462eb216d9848) 988727.9
checking 'whiteTopHat' ........................ PASS (9db3096e14961ab7) 3572.998
checking 'blackTopHat' ........................ PASS (bf87d7286ea29ad9) 7139.473
checking 'selfComplementaryTopHat' ............ PASS (b77a4b378692f404) 1533178
checking 'distmap' ............................ PASS (f6300a4f340ae60a) 12740449
checking 'watershed' .......................... PASS (8a9f971d0fd151b0) 988518.9
checking 'floodFill' .......................... PASS (58b50ac20366b30b) 765755.4
checking 'fillHull' ........................... PASS (c843a337bba9a51b) 988518.9
checking 'propagate' .......................... PASS (c9ccd5b308eb7ef1) 26630579
checking 'toRGB' .............................. PASS (42e4a51e3404811e) 765760.9
checking 'rgbImage' ........................... PASS (3e4ef74fd42ad9d7) 3520680
checking 'colormap' ........................... PASS (d2139029833173d7) 1816912
checking 'combine' ............................ PASS (475166958acc7172) 2960568
checking 'combine' ............................ PASS (dcd2456fbb97967f) 18119267
checking 'tile' ............................... PASS (da0d33a63c42b563) 33061491
checking 'untile' ............................. PASS (3268a8970f502c72) 27788327
checking 'abind' .............................. PASS (6fd94295b094e0dd) 2960568
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
>
> ## test: 3D Color 65x17x3
> x <- sample.color[1:65, 1:17,]
> testEBImageFunctions(x)
new test (hash=de81d0d989193946)
checking 'show' ............................... PASS (2e8e7d2423e3ccfe) NA
checking 'print' .............................. PASS (6ab730d47def3609) NA
checking 'hist' ............................... PASS (6a57fc1cd042ba00) 65b5b051743defa8
checking '>' .................................. PASS (53e61ab2bda88b20) 1058553
checking '+' .................................. PASS (bfc8079a28d79b4c) 4072301
checking '/' .................................. PASS (b55c46146fdfe46d) 1018075
checking '*' .................................. PASS (bfc8079a28d79b4c) 4072301
checking 'median' ............................. PASS (1bc9c6651e4507c8) 0.2333333
checking 'quantile' ........................... PASS (686379af319f166a) 7.280392
checking 'Image' .............................. PASS (de81d0d989193946) 2036151
checking 'as.Image' ........................... PASS (de81d0d989193946) 2036151
checking 'is.Image' ........................... PASS (29e1e263d8769b6f) 0.9
checking 'imageData' .......................... PASS (cc315d22f9180202) 2036151
checking 'imageData<-' ........................ PASS (de81d0d989193946) 2036151
checking 'as.raster' .......................... PASS (9f57220e155de221) NA
checking 'colorMode<-' ........................ PASS (908b90694e179a06) 2036151
checking 'numberOfFrames' ..................... PASS (96180b4a6b132e65) 0.9
checking 'getFrames' .......................... PASS (1d27d730987b7a26) 8e44d4ba87d4aa02
checking 'display' ............................ PASS (0a11225efa5072ae) df8baf2e444e61aa
checking 'display' ............................ PASS (57f54e3531a18f4e) -0.1
checking 'image' .............................. PASS (57f54e3531a18f4e) -0.1
checking 'drawCircle' ......................... PASS (7dca62c4ac89e623) 2049936
checking '[' .................................. PASS (c393e7deb8110d2e) 9950.096
checking 'resize' ............................. PASS (75a7216227f8dbfa) 15155777
checking 'rotate' ............................. PASS (cba5275a49d1c025) 4525312
checking 'flip' ............................... PASS (ce5674ff635ed106) 1977928
checking 'flop' ............................... PASS (c9a027c754ade888) 2048664
checking 'translate' .......................... PASS (98b2270654265063) 2998417
checking 'affine' ............................. PASS (091470a40c4fba44) 226067.6
checking 'transpose' .......................... PASS (2a083c731f2328d6) 1907377
checking 'thresh' ............................. PASS (aeb34a5300761161) 954376.9
checking 'channel' ............................ PASS (628995dc542023b6) 257578.5
checking 'otsu' ............................... PASS (a7933cc16292d271) 0.3316406
checking 'bwlabel' ............................ PASS (f8bd68974c926eec) 230329.9
checking 'colorLabels' ........................ PASS (80dc35afde7d79d4) 1920855
checking 'stackObjects' ....................... PASS (6f9fa1b0c36f14c3) 712799.6
checking 'stackObjects' ....................... PASS (57f54e3531a18f4e) -0.1
checking 'paintObjects' ....................... PASS (1812b3a1be6f2a21) 2090128
checking 'rmObjects' .......................... PASS (cf00ced5df055ef3) -0.1
checking 'reenumerate' ........................ PASS (cf00ced5df055ef3) -0.1
checking 'reenumerate' ........................ PASS (f8bd68974c926eec) 230329.9
checking 'computeFeatures' .................... PASS (f17bea67c6db8efa) 746878.2
checking 'computeFeatures' .................... PASS (6dc4c63dde7e7828) 32d95b1456f80f68
checking 'ocontour' ........................... PASS (62edd8045dda1043) 91bbaa639ef2cb55
checking 'localCurvature' ..................... PASS (9ddeedd40b4e5c7b) a2c60afaa6d43988
checking 'normalize' .......................... PASS (0b70467017a902ca) 1788995
checking 'normalize' .......................... PASS (95a2f0d3d09f9593) 1858155
checking 'gblur' .............................. PASS (220352a03dba8eda) 2029979
checking 'filter2' ............................ PASS (4ca91f0d9cb2a1e9) 50878763
checking 'medianFilter' ....................... PASS (afb4863b9d632271) 2034604
checking 'equalize' ........................... PASS (6d80d436cf8278ec) 2942981
checking 'erode' .............................. PASS (86fbc1458f72ebfe) 830816.9
checking 'dilate' ............................. PASS (fffa10444677a5de) 1339263
checking 'opening' ............................ PASS (2502c3f605bf79f2) 1013295
checking 'closing' ............................ PASS (16dfffda0eb72d6d) 1069405
checking 'whiteTopHat' ........................ PASS (ab977dc4ab166626) 16585.63
checking 'blackTopHat' ........................ PASS (e1f6d9987bffb784) 22039.05
checking 'selfComplementaryTopHat' ............ PASS (37e1c11a042ce219) 4071763
checking 'distmap' ............................ PASS (046048efe2665db2) 6038778
checking 'watershed' .......................... PASS (5810b16b06c7a236) 1058553
checking 'floodFill' .......................... PASS (87ccae676293e02d) 2036854
checking 'fillHull' ........................... PASS (53e61ab2bda88b20) 1058553
checking 'propagate' .......................... PASS (50fd5efe0e56a631) 7755487
checking 'toRGB' .............................. PASS (de81d0d989193946) 2036151
checking 'rgbImage' ........................... PASS (cab54e5b08f3aae8) 7617867
checking 'colormap' ........................... PASS (1844757fe6d6692b) 1657338
checking 'combine' ............................ PASS (07952012d019c893) 8350133
checking 'combine' ............................ PASS (8cb162a59398a20b) 52959073
checking 'tile' ............................... PASS (498539964fb48dd4) 107188639
checking 'untile' ............................. PASS (9fb04cc414930cc6) 97994583
checking 'abind' .............................. PASS (07952012d019c893) 8350133
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
>
> ## test: 3D Grayscale logical 32x32x2
> x <- sample[32:63, 32:63]
> x <- x > otsu(x)
> x <- combine(x, x)
> testEBImageFunctions(x)
new test (hash=45775cc98ccde7d0)
checking 'show' ............................... PASS (17bd08c197d327bf) NA
checking 'print' .............................. PASS (86a9e2802088f094) NA
checking 'hist' ............................... PASS (b67b7652db932932) e392832c9ac4ef1a
checking '>' .................................. PASS (45775cc98ccde7d0) 1055560
checking '+' .................................. PASS (a808c74d4b8f4b1a) 2111120
checking '/' .................................. PASS (050916ceba989d59) 527779.9
checking '*' .................................. PASS (a808c74d4b8f4b1a) 2111120
checking 'median' ............................. PASS (f5699b21f198d2c3) -0.1
checking 'quantile' ........................... PASS (abb46cc6fe827b1e) 8.9
checking 'Image' .............................. PASS (5644736cfb4b41de) 1055560
checking 'as.Image' ........................... PASS (45775cc98ccde7d0) 1055560
checking 'is.Image' ........................... PASS (29e1e263d8769b6f) 0.9
checking 'imageData' .......................... PASS (a8595646a000f9e9) 1055560
checking 'imageData<-' ........................ PASS (45775cc98ccde7d0) 1055560
checking 'as.raster' .......................... PASS (35debdd5bd091cf6) NA
checking 'colorMode<-' ........................ PASS (45775cc98ccde7d0) 1055560
checking 'numberOfFrames' ..................... PASS (0cd27cfa5ab0714e) 1.9
checking 'getFrames' .......................... PASS (8c50f91fce805fce) df388a91608fa45d
checking 'display' ............................ PASS (a69f9d95f70d6b4f) 2ed798e15d730f30
checking 'display' ............................ PASS (57f54e3531a18f4e) -0.1
checking 'image' .............................. PASS (57f54e3531a18f4e) -0.1
checking 'drawCircle' ......................... PASS (a54d00e6ec30cdaa) 1656514
checking '[' .................................. PASS (43978c7896f345b7) 1889.9
checking 'resize' ............................. PASS (b189246d26913306) 9108608
checking 'rotate' ............................. PASS (a4a84e73999cd629) 1600126
checking 'flip' ............................... PASS (3705f945c5050495) 714439.9
checking 'flop' ............................... PASS (91665fdcc5d39ce2) 1064092
checking 'translate' .......................... PASS (6c5b0b16cf2595ee) 1105982
checking 'affine' ............................. PASS (4a6b1cf59de37216) 133467.8
checking 'transpose' .......................... PASS (9be0ad64c90eabc7) 758083.9
checking 'thresh' ............................. PASS (cf8b639ee5c91bd5) 824497.9
checking 'channel' ............................ PASS (45775cc98ccde7d0) 1055560
checking 'otsu' ............................... PASS (9966633498a5e2d8) 1.4
checking 'bwlabel' ............................ PASS (a00294e8900f15eb) 1597368
checking 'colorLabels' ........................ PASS (6dc0e9def8039903) 3525827
checking 'stackObjects' ....................... PASS (8ddf2c694201cbf1) 8889538
checking 'stackObjects' ....................... PASS (57f54e3531a18f4e) -0.1
checking 'paintObjects' ....................... PASS (f4107fd743a22ecf) 834266.6
checking 'rmObjects' .......................... PASS (07bc253bd936adb5) 1303423
checking 'reenumerate' ........................ PASS (ff441c512995c200) 1244828
checking 'reenumerate' ........................ PASS (a00294e8900f15eb) 1597368
checking 'computeFeatures' .................... PASS (1d847743be56e5a7) 416164140
checking 'computeFeatures' .................... PASS (3a766122214a21a8) cf1b0ac94ace207a
checking 'ocontour' ........................... PASS (cdb0d0c07c1e0775) b86c6546ddbffb2d
checking 'localCurvature' ..................... PASS (4c13330f1d7fcbd6) 4805cb6e9d47da01
checking 'normalize' .......................... PASS (a34cd51357995e04) 1055560
checking 'normalize' .......................... PASS (a34cd51357995e04) 1055560
checking 'gblur' .............................. PASS (f499c36c42da96ae) 1037581
checking 'filter2' ............................ PASS (e5a3d2e924e050fe) 26149148
checking 'medianFilter' ....................... PASS (ff54de12f77d64e5) 1030730
checking 'equalize' ........................... PASS (a34cd51357995e04) 1055560
checking 'erode' .............................. PASS (87a98696219eeb40) 617311.9
checking 'dilate' ............................. PASS (49a5f7a8063bdcc8) 1591594
checking 'opening' ............................ PASS (557cd0af78bc3bbe) 861145.9
checking 'closing' ............................ PASS (04eefe7f21e9b36a) 1188258
checking 'whiteTopHat' ........................ PASS (0a2dbcdbb9e396a8) 148131.9
checking 'blackTopHat' ........................ PASS (af7e8fad58a0f587) 202411.9
checking 'selfComplementaryTopHat' ............ PASS (729954d933215c8d) 2151192
checking 'distmap' ............................ PASS (8ba0b0fb6770e8a3) 3856630
checking 'watershed' .......................... PASS (0bd6a31bc6197067) 1443978
checking 'floodFill' .......................... PASS (7a8a06c4be73e522) 2057384
checking 'fillHull' ........................... PASS (d3904950b8acdb73) 1096352
checking 'propagate' .......................... PASS (6c610fe4376714f6) 1613920
checking 'toRGB' .............................. PASS (57b9a77f5a12af4f) 8499672
checking 'rgbImage' ........................... PASS (82e9189e21600e37) 4777616
checking 'colormap' ........................... PASS (244a6e10e928fb5e) 10283526
checking 'combine' ............................ PASS (fbb690c6993fed59) 3888784
checking 'combine' ............................ PASS (db4c289138cad595) 23054440
checking 'tile' ............................... PASS (b5d61ba1e08ccf53) 48846817
checking 'untile' ............................. PASS (f740856c06d69a15) 41221063
checking 'abind' .............................. PASS (dca1271130f49d13) 3888784
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
>
> ## test: 4D Color 33x16x3x2
> x <- sample.color[1:33, 1:16,]
> x <- combine(x, x)
> testEBImageFunctions(x)
new test (hash=7b41d26d4354fed1)
checking 'show' ............................... PASS (0e20a4fb07853778) NA
checking 'print' .............................. PASS (0b3e2b71e556d7a8) NA
checking 'hist' ............................... PASS (7266d20001b63e05) 48ff490a50be36d5
checking '>' .................................. PASS (5a6494dd882e20ae) 2013322
checking '+' .................................. PASS (78d490385e4c68e5) 4709417
checking '/' .................................. PASS (98087f12b7f61f2d) 1177354
checking '*' .................................. PASS (78d490385e4c68e5) 4709417
checking 'median' ............................. PASS (fdd3c9a35d83db2f) 0.3823529
checking 'quantile' ........................... PASS (e26e9f3ec19dd1e9) 8.139216
checking 'Image' .............................. PASS (7b41d26d4354fed1) 2354709
checking 'as.Image' ........................... PASS (7b41d26d4354fed1) 2354709
checking 'is.Image' ........................... PASS (29e1e263d8769b6f) 0.9
checking 'imageData' .......................... PASS (242db37f6093cb73) 2354709
checking 'imageData<-' ........................ PASS (7b41d26d4354fed1) 2354709
checking 'as.raster' .......................... PASS (b47cd18dd737d179) NA
checking 'colorMode<-' ........................ PASS (739b8cc774a94061) 2354709
checking 'numberOfFrames' ..................... PASS (0cd27cfa5ab0714e) 1.9
checking 'getFrames' .......................... PASS (dfada18bf7486f49) 6bccd3af078885b1
checking 'display' ............................ PASS (713161e915733541) bcf32094ce1d3dd4
checking 'display' ............................ PASS (57f54e3531a18f4e) -0.1
checking 'image' .............................. PASS (57f54e3531a18f4e) -0.1
checking 'drawCircle' ......................... PASS (516ff89688aa090a) 2650006
checking '[' .................................. PASS (b7ab984ac4c76be7) 40701.82
checking 'resize' ............................. PASS (19f045e2a12c3dcd) 76725662
checking 'rotate' ............................. PASS (5ca7d358dc5f6cb8) 4140744
checking 'flip' ............................... PASS (ec438fa29adb6692) 2309692
checking 'flop' ............................... PASS (189be924d5127b6d) 2358658
checking 'translate' .......................... PASS (6b8b9dffcab202c5) 3393923
checking 'affine' ............................. PASS (8490fa9d387d7f22) 301692.6
checking 'transpose' .......................... PASS (f415a850f96da517) 2303263
checking 'thresh' ............................. PASS (96c1db8a6b3c5f8f) 1549362
checking 'channel' ............................ PASS (d0059f4eaa729cb0) 287206.2
checking 'otsu' ............................... PASS (18794185be6d9049) 1.370703
checking 'bwlabel' ............................ PASS (cf48a1553a7ca557) 360413.9
checking 'colorLabels' ........................ PASS (87aec3caedd0f2b2) 3039066
checking 'stackObjects' ....................... PASS (6c9d66add9231c0b) 2472601
checking 'stackObjects' ....................... PASS (57f54e3531a18f4e) -0.1
checking 'paintObjects' ....................... PASS (a94d303375c85afc) 2558300
checking 'rmObjects' .......................... PASS (3c7c32b7c14bf399) 261782.9
checking 'reenumerate' ........................ PASS (3c7c32b7c14bf399) 261782.9
checking 'reenumerate' ........................ PASS (cf48a1553a7ca557) 360413.9
checking 'computeFeatures' .................... PASS (43ed64a6574660f3) 749353.1
checking 'computeFeatures' .................... PASS (6dc4c63dde7e7828) 32d95b1456f80f68
checking 'ocontour' ........................... PASS (0cc37fb8be6a9150) a8ef8364446f767a
checking 'localCurvature' ..................... PASS (91ac6bafe7f8c008) feedc85342708fe9
checking 'normalize' .......................... PASS (6f82aae3b180c153) 2693244
checking 'normalize' .......................... PASS (27441d4baba7c727) 2315924
checking 'gblur' .............................. PASS (6317c51db4b2e332) 2349701
checking 'filter2' ............................ PASS (ff5a03c8be20359c) 58841710
checking 'medianFilter' ....................... PASS (08a067834027edb5) 2352447
checking 'equalize' ........................... PASS (02d6a459ef536ba0) 2616480
checking 'erode' .............................. PASS (c065e093042fa687) 1547948
checking 'dilate' ............................. PASS (3ad67b8d06ebb303) 2604996
checking 'opening' ............................ PASS (789077961fab1b84) 1919386
checking 'closing' ............................ PASS (930601017e06bf69) 2038196
checking 'whiteTopHat' ........................ PASS (248102e12cde390f) 12437.36
checking 'blackTopHat' ........................ PASS (2769c6f876a888b2) 19780.97
checking 'selfComplementaryTopHat' ............ PASS (535e331642e8affe) 4711722
checking 'distmap' ............................ PASS (e9f6f8a5899a40fd) 10836360
checking 'watershed' .......................... PASS (355196749445c942) 2013322
checking 'floodFill' .......................... PASS (a23cce6e67e088ae) 2355706
checking 'fillHull' ........................... PASS (5a6494dd882e20ae) 2013322
checking 'propagate' .......................... PASS (6a54d058269b4352) 11618104
checking 'toRGB' .............................. PASS (7b41d26d4354fed1) 2354709
checking 'rgbImage' ........................... PASS (05d03bf83df83dbf) 12071186
checking 'colormap' ........................... PASS (40f159a4fec5a5e4) 2273276
checking 'combine' ............................ PASS (943e696dd062479b) 9516503
checking 'combine' ............................ PASS (5b2b6f0a51b05e18) 59844403
checking 'tile' ............................... PASS (853d179912a1e6b9) 114300809
checking 'untile' ............................. PASS (92a5de5886618db5) 105862114
checking 'abind' .............................. PASS (26faa8168a99c898) 9516503
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
>
> ## test: 4D Grayscale 16x33x2x3
> colorMode(x) <- Grayscale
> imageData(x) <- aperm(x, c(2L, 1L, 4L, 3L))
> testEBImageFunctions(x)
new test (hash=ea218ca35d898b4f)
checking 'show' ............................... PASS (07d544b61ec16bf1) NA
checking 'print' .............................. PASS (185b486b9fcdb3b0) NA
checking 'hist' ............................... PASS (06d171c8f173fbfa) c3d0c3b2d4df7f61
checking '>' .................................. PASS (cdeb2538f3cc7adf) 1541186
checking '+' .................................. PASS (9d2cb7572d822536) 4466272
checking '/' .................................. PASS (93c6c46f0b0e7df5) 1116568
checking '*' .................................. PASS (9d2cb7572d822536) 4466272
checking 'median' ............................. PASS (fdd3c9a35d83db2f) 0.3823529
checking 'quantile' ........................... PASS (e26e9f3ec19dd1e9) 8.139216
checking 'Image' .............................. PASS (b2c89c8bd2d8cfbb) 2233136
checking 'as.Image' ........................... PASS (ea218ca35d898b4f) 2233136
checking 'is.Image' ........................... PASS (29e1e263d8769b6f) 0.9
checking 'imageData' .......................... PASS (85da79da2cd4332f) 2233136
checking 'imageData<-' ........................ PASS (ea218ca35d898b4f) 2233136
checking 'as.raster' .......................... PASS (f7837c7682313ed7) NA
checking 'colorMode<-' ........................ PASS (ea218ca35d898b4f) 2233136
checking 'numberOfFrames' ..................... PASS (ce8815ddd92a2bbb) 5.9
checking 'getFrames' .......................... PASS (e193a8c072f9729f) feb32c3d20c02193
checking 'display' ............................ PASS (c99fb2dbf3f4f099) 8222a6379bd22cd5
checking 'display' ............................ PASS (57f54e3531a18f4e) -0.1
checking 'image' .............................. PASS (57f54e3531a18f4e) -0.1
checking 'drawCircle' ......................... PASS (2eeddc22da537d19) 2502013
checking '[' .................................. PASS (ca2402ebe50888e9) 41200.75
checking 'resize' ............................. PASS (c2412da2d423bb4c) 72772706
checking 'rotate' ............................. PASS (e88e2e93ce61d959) 3978266
checking 'flip' ............................... PASS (735ec4743ab3f0c4) 2296325
checking 'flop' ............................... PASS (039d65e48af245d2) 2231772
checking 'translate' .......................... PASS (6dc22f8c9da472fe) 3827517
checking 'affine' ............................. PASS (987d2bf7d6243ac5) 219714.6
checking 'transpose' .......................... PASS (70d09e0401597e51) 2284582
checking 'thresh' ............................. PASS (99ef268285d31156) 1426674
checking 'channel' ............................ PASS (ea218ca35d898b4f) 2233136
checking 'otsu' ............................... PASS (73c8c3c1a7c3a7e0) 9.425391
checking 'bwlabel' ............................ PASS (48a9facb579b630f) 2016822
checking 'colorLabels' ........................ PASS (2f81d6c90e88b2d4) 14827904
checking 'stackObjects' ....................... PASS (28c1ffc9196cbeda) 2575847
checking 'stackObjects' ....................... PASS (57f54e3531a18f4e) -0.1
checking 'paintObjects' ....................... PASS (ba568e37e29116fa) 2379341
checking 'rmObjects' .......................... PASS (150895efa1acc9af) 1934575
checking 'reenumerate' ........................ PASS (150895efa1acc9af) 1934575
checking 'reenumerate' ........................ PASS (48a9facb579b630f) 2016822
checking 'computeFeatures' .................... PASS (5f168ac8bf99f53d) 734993.9
checking 'computeFeatures' .................... PASS (6dc4c63dde7e7828) 32d95b1456f80f68
checking 'ocontour' ........................... PASS (67c938cc8c8b0a94) e0b0122d0f8dbec3
checking 'localCurvature' ..................... PASS (14e7e43044a6edce) dbbde661d27cf4d5
checking 'normalize' .......................... PASS (c6700c53a770f4dc) 2526618
checking 'normalize' .......................... PASS (321165d27d376355) 2163958
checking 'gblur' .............................. PASS (167add1590f90b31) 2237219
checking 'filter2' ............................ PASS (288a7b9238221d38) 56904871
checking 'medianFilter' ....................... PASS (12259cca79cae7e1) 2231438
checking 'equalize' ........................... PASS (8a3ab1c34c6d6b46) 2447139
checking 'erode' .............................. PASS (76903cc870b48afc) 1121204
checking 'dilate' ............................. PASS (9a465193b3c535f1) 2104588
checking 'opening' ............................ PASS (f27ee35968015aff) 1451050
checking 'closing' ............................ PASS (fc6578a91384556e) 1569448
checking 'whiteTopHat' ........................ PASS (2545dff4d9a67f18) 12004.54
checking 'blackTopHat' ........................ PASS (0bc09ee83c3b7e6b) 20296.87
checking 'selfComplementaryTopHat' ............ PASS (7271dd2d24a8b8fa) 4469404
checking 'distmap' ............................ PASS (fd74d28ff7a40bc8) 7464344
checking 'watershed' .......................... PASS (aec9e7c80b500f8a) 1541186
checking 'floodFill' .......................... PASS (c8f6a63ecc5faeb2) 2234521
checking 'fillHull' ........................... PASS (cdeb2538f3cc7adf) 1541186
checking 'propagate' .......................... PASS (2fa32c86f0afbbe9) 8948876
checking 'toRGB' .............................. PASS (7ac5c5945e1aa8b4) 20279146
checking 'rgbImage' ........................... PASS (6c13f1c0649a1b02) 10796552
checking 'colormap' ........................... PASS (fffb8d91ccca5f12) 22585273
checking 'combine' ............................ PASS (61a6f7f5c6357973) 8992851
checking 'combine' ............................ PASS (e3af2b87e81b577e) 56431472
checking 'tile' ............................... PASS (22c39d5bf0a57b26) 72664167
checking 'untile' ............................. PASS (f3dd10e639f40c64) 60048605
checking 'abind' .............................. PASS (f28d70bcf3781d08) 9273358
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
>
> ## test: Image subclass
> ImageSubclass <- setClass ("ImageSubclass", contains = "Image", slots = c(foo = "character"))
> x <- ImageSubclass(x, foo="bar")
> testEBImageFunctions(x)
new test (hash=2cd1b3ca941d0306)
checking 'show' ............................... PASS (ce75d078eccda68c) NA
checking 'print' .............................. PASS (e01f0947e67df522) NA
checking 'hist' ............................... PASS (06d171c8f173fbfa) c3d0c3b2d4df7f61
checking '>' .................................. PASS (8eb52b594f8cd22b) 1541186
checking '+' .................................. PASS (d0da7a47899efbc4) 4466272
checking '/' .................................. PASS (8bfccf8b88e728b0) 1116568
checking '*' .................................. PASS (d0da7a47899efbc4) 4466272
checking 'median' ............................. PASS (fdd3c9a35d83db2f) 0.3823529
checking 'quantile' ........................... PASS (e26e9f3ec19dd1e9) 8.139216
checking 'Image' .............................. PASS (b2c89c8bd2d8cfbb) 2233136
checking 'as.Image' ........................... PASS (ea218ca35d898b4f) 2233136
checking 'is.Image' ........................... PASS (29e1e263d8769b6f) 0.9
checking 'imageData' .......................... PASS (85da79da2cd4332f) 2233136
checking 'imageData<-' ........................ PASS (2cd1b3ca941d0306) 2233136
checking 'as.raster' .......................... PASS (f7837c7682313ed7) NA
checking 'colorMode<-' ........................ PASS (2cd1b3ca941d0306) 2233136
checking 'numberOfFrames' ..................... PASS (ce8815ddd92a2bbb) 5.9
checking 'getFrames' .......................... PASS (57ddf8e1c5653fa1) 578ceb264bf8c00f
checking 'display' ............................ PASS (c99fb2dbf3f4f099) 8222a6379bd22cd5
checking 'display' ............................ PASS (57f54e3531a18f4e) -0.1
checking 'image' .............................. PASS (57f54e3531a18f4e) -0.1
checking 'drawCircle' ......................... PASS (2a6138d3f6c7cf2b) 2502013
checking '[' .................................. PASS (21b006dc9b230591) 41200.75
checking 'resize' ............................. PASS (d4439ccaddffedbf) 72772706
checking 'rotate' ............................. PASS (49bab3d36db066a3) 3978266
checking 'flip' ............................... PASS (de3315d317526bf8) 2296325
checking 'flop' ............................... PASS (1746b768e1919758) 2231772
checking 'translate' .......................... PASS (eb6575b71bd228cf) 3827517
checking 'affine' ............................. PASS (6f88949e9ca0500f) 219714.6
checking 'transpose' .......................... PASS (cae5d3f85d9a6547) 2284582
checking 'thresh' ............................. PASS (6907f0b8232e5a87) 1426674
checking 'channel' ............................ PASS (2cd1b3ca941d0306) 2233136
checking 'otsu' ............................... PASS (73c8c3c1a7c3a7e0) 9.425391
checking 'bwlabel' ............................ PASS (0cd3636f1086f354) 2016822
checking 'colorLabels' ........................ PASS (3d06f02ad8d875a7) 16357947
checking 'stackObjects' ....................... PASS (3dfb061836ca6d36) 2575847
checking 'stackObjects' ....................... PASS (57f54e3531a18f4e) -0.1
checking 'paintObjects' ....................... PASS (d0e505d3ebc1fb67) 2379341
checking 'rmObjects' .......................... PASS (72c36fcb451899a7) 1934575
checking 'reenumerate' ........................ PASS (72c36fcb451899a7) 1934575
checking 'reenumerate' ........................ PASS (0cd3636f1086f354) 2016822
checking 'computeFeatures' .................... PASS (5f168ac8bf99f53d) 734993.9
checking 'computeFeatures' .................... PASS (6dc4c63dde7e7828) 32d95b1456f80f68
checking 'ocontour' ........................... PASS (67c938cc8c8b0a94) e0b0122d0f8dbec3
checking 'localCurvature' ..................... PASS (14e7e43044a6edce) dbbde661d27cf4d5
checking 'normalize' .......................... PASS (c864fc347d3e1eec) 2526618
checking 'normalize' .......................... PASS (b924aa1ced88d0b0) 2163958
checking 'gblur' .............................. PASS (41001e94fa243311) 2237219
checking 'filter2' ............................ PASS (c4dde73f4cd08626) 56904871
checking 'medianFilter' ....................... PASS (f336aae43926dd3a) 2231438
checking 'equalize' ........................... PASS (8aff651b4bfe1e2d) 2447139
checking 'erode' .............................. PASS (af16c2acdfe1ce54) 1121204
checking 'dilate' ............................. PASS (6cf3e21751061042) 2104588
checking 'opening' ............................ PASS (e32b483b92a01e61) 1451050
checking 'closing' ............................ PASS (39b38ac520b6b72d) 1569448
checking 'whiteTopHat' ........................ PASS (2dfa04a48724ec36) 12004.54
checking 'blackTopHat' ........................ PASS (70ff24813042529a) 20296.87
checking 'selfComplementaryTopHat' ............ PASS (4e93f72a43638575) 4469404
checking 'distmap' ............................ PASS (fb1ca8ba680de2b3) 7464344
checking 'watershed' .......................... PASS (29d5027b84535806) 1541186
checking 'floodFill' .......................... PASS (54aa4548fd305300) 2234521
checking 'fillHull' ........................... PASS (8eb52b594f8cd22b) 1541186
checking 'propagate' .......................... PASS (0d73b4f196a75014) 8948876
checking 'toRGB' .............................. PASS (3e30f901f32391f1) 20279146
checking 'rgbImage' ........................... PASS (7265edee83ee6475) 10796552
checking 'colormap' ........................... PASS (2d850cd3a218b6b9) 22585273
checking 'combine' ............................ PASS (8750feb29c15297c) 8992851
checking 'combine' ............................ PASS (c97b83093836307a) 56431472
checking 'tile' ............................... PASS (2144c4a0e85d648a) 72664167
checking 'untile' ............................. PASS (340bd33c3fc91099) 60048605
checking 'abind' .............................. PASS (0fe154b843d8fc58) 9273358
Warning messages:
1: In hash.old(y) : NAs introduced by coercion
2: In hash.old(y) : NAs introduced by coercion
3: In hash.old(y) : NAs introduced by coercion
>
|