Version 2.1 of DIPlib and DIPimage has been released. Also a Windows 32-bit installer is available!
Changes to DIPimage
fmmatch
and transform
: deformation/matching of two 2D images by Fourier-Mellin transformation (rotation, scaling and translation)affine_transform
and find_affine_transform
: deformation/matching of two 2D images by a homogeneous transformation (rotation, scaling and translation)mae
returns the mean absolute error between two images.'zerobased'
color map has changed, it now has better discriminating abilities for values close to 0.'grey'
color map every time the grey-value range is changed.bmajority
, countneighbours
and label
now use ndims(in)
as the default connectivity (instead of 2, which didn’t make sense on images that weren’t 2D).readtimeseries
should now be faster, and it also is more flexible in the selection of files to read.dipmex
now allows more than one input argument.max
and min
overloaded methods for images no longer produce an sfloat
output when both input images are uint8
; abs
and sign
overloaded methods now also produce a more sensible output data type.fillholes
didn’t work well with 8-connected backgrounds.get_subpixel
had a bug for 1D images.Changes to DIPlib
(Some of these changes propagate to DIPimage)
dip_PathOpening()
and dip_DirectedPathOpening()
.dip_Bilateral()
, dip_SeparableConvolution()
, dip_FiniteDifferenceEx()
, dip_Gauss()
, dip_GaussIIR()
, dip_GaussFT()
(and all derivative functions that depend on these, such as dip_GradientMagnitude()
), dip_GaborIIR()
, dip_Uniform()
, dip_Dilation()
, dip_Erosion()
, dip_Opening()
, dip_Closing()
, dip_RadialMaximum()
, dip_RadialMinimum()
, dip_RadialMean()
and dip_RadialSum()
. This change produces a different output on derivative operations along the singleton dimension and, depending on boundary conditions, morphological operations; however, the old behaviour was always unexpected and reported as “buggy” by the users. For other functions and situations, this merely improves the speed of the operation.dip_VarianceFilter()
produced overflow errors on integer input images.dip_GreyWeightedDistanceTransform()
had a bug that SEGV MATLAB 7.7, but didn’t show under earlier versions.