24.01.2017 - bsmooth fixed 18.05.2016 - New MATLAB api fix for boundaries plotting 22.02.2016 - fixes for new matlab 13.11.2015 - mtexread fix for MTEX v4 - Matlab 2014b and newer compatibility fix 13.02.2015 - getsel fixed for future compatibility 14.03.2014 - bug in svgwrite fixed 21.11.2013 - bug in mtexread fixed 17.10.2013 - shpread improved to skip corrupted (e.g. zero area) and invalid shapes 09.10.2013 - fixed bug when colortable (genct) is used as palette in plot 09.05.2013 - cipread2 reads TIFF format of azi, inc and mask files 15.02.2013 - first version of function gtsmooth for topological smoothing implemented 13.02.2013 - New function gdissolve to aggregate same phase grains added. 12.02.2013 - selection highlight of grains changed to gray to do not interfere with figure colormap 04.12.2012 - gsurfor bug of centre assignment fixed 12.04.2012 - mtexread support for 3.3 version implemented 08.03.2012 - cipmerge implemented 29.02.2012 - bug in afract (diameter was returned as radius) fixed. 01.02.2012 - naming of routines unified - aortentot options fixed - panizo added 26.01.2012 VERSION 3.1 BETA RELEASED - aparis and aparis2 renamed to gparis and gparis2 - ellipse fitting routines which operate on boundary objects return structures insted polylxgrain objects - these structures could be used with pellipse and pcross - pproj added to plot projection function from paror, surfor or paris - plot accept color and with parameters 25.01.2012 - Main refactoring of code. All ellipse fitting routines returns polylxgrain objects insted sets of vectors - gequal added to convert polylx object to simple equivalents - gferet renamed to aferet 24.01.2012 - new function polylxdemodata to load sample data distributed with polylx - getoutlier renamed to getoutliers - geparor renamed to gferet - WKT property exposed in get - polylxgrain set method allows change userdata - plot modified to produce thin free space along plotted data 23.01.2012 VERSION 3.1 ALPHA RELEASED - initial release of SQlite3 support (mksqlite) to store and retrieve PolyLX data. Check README for further details - new polylxcheck function to self-check installation - new polylxupdate function to autoupdate to latest version from web ! polylxboundary object attributes IDA, IDB renamed to IXA, IXB to eliminate confusion ! - idplot removed as similar funcionality is now im default plot - getsel invert and getsel clear could be controlled by middle and right click - topological fuctions improved. New getincl function replaced ggincl. bgsel,getidx removed - gbcrop improved with free polygon select tool - Function getid added to access grain ID's (which are no more used internally) - improved check for outlines geometry - bgsel returns index vector instead of boundary objects - getcm refactorized - garea renamed to afract and could be used for boundaries as well 02.06.2011 - makepal create gradual palette with bins covering same area (Natural breaks) - polylxgrain/plot do not plot grains when property is out of defined bins for palette - polylxgrain creator checks length>width for highly circular objects 01.06.2001 - mtexread compatible with MTEX 3.2 12.05.2011 - elliptic fourier smoothing implemented in gsmooth 15.12.2010 - cipdata store all data to allow mask changes 09.12.2010 - digread added to read old DIG format 15.06.2010 - bsmake accepts grains and boundaries - prosew proportionality fixed 11.06.2010 - new method 'renee' implemented in gsmooth 06.06.2010 - cameth implemented as average method. - clmeth and cfmeth plots are normalized. - gbcrop new options implemented. - gdmeth is by default test of homogeneity. - gnna improved. 05.06.2010 - pcum command added. 02.06.2010 - bmake bug for very large datasets fixed. 16.03.2010 - orientation fix when ellipse fitting used in aparor and asurfor 19.02.2010 - cipgrainmap added 18.02.2010 VERSION 3.0 RELEASED - initial release of cip data support - cipread and cipdata class added - main polylx classes renamed to resolve conflict with mtex 15.02.2010 - fixed bug in getcm. Boundaries hold pointers not ID's. 09.02.2010 - fixed bug for 0 aligned prose and prosew. Now plots are fully symmetric. - added option view to prose and prosew to position 0 vertical or horizontal - fixed prosew for case that options are used and weights are not passed. 23.01.2010 - in prose and prosew default value for align changed to 0 to produce symmetric plots 21.01.2010 - jmlread phase field selection bug fixed. 17.12.2009 - bmake large files bug fixed. 08.12.2009 - sxmread last grain bug fixed. 04.06.2009 - pdistplot utility implemented to test normal or lognormal probability distribution 03.06.2009 - peigen improved with more options - prosew default weighting added 01.06.2009 - pboxplot have options to used userdefined data set - getoulier function added. 30.05.2009 - gpclust for interconnected cluster selection implemented. - clmeth have same options as cfmeth. - cell or cell array could be used as index of grains and boundaries. 29.05.2009 - astrip for 3D grainsize implemented. - getsel have invert option now. - cfmeth have control options implemented. 16.03.2009 - Estimation of Isym index in arfphi and arfphiw implemented. 25.02.2009 - Default properties orientation, length and width redefined. Orientation is direction of principal area moment of inertia and length and width are projections onto principal area moments axes. Original values are still accessible using geparor. 12.02.2009 - shpread correctly detect and skip null shapes 20.01.2009 - aortentot parameters for longaxes added. - get LAO and SAO implemented. 29.11.2008 - Launchpad items added, experimental. 02.11.2008 - added command dbattrib to read user-defined columns sample table in database. 17.09.2008 - shpread can read shapefiles without ID field. 26.08.2008 - Bug in reading boundary shapefile with shpread fixed. - elleread can handle files with nonzero cumulative simple shear. 04.06.2008 - Database support fixed for both MySQL and PostgreSQL. 11.04.2008 - Database backend changed to PostGIS (PostgreSQL), so data could be edited directly in database using available free GIS tools like QGIS, GRASS, OpenJUMP, uDIG... 05.04.2008 - Quadratic bezier smoothing added in gsmooth. 04.04.2008 - prose bug for 180 degree orientation fixed. - added bsmake to produce boudary object corresponding to individual outline segments. 03.04.2008 - added sxmread to import Image SXM XY coordinates files. 13.12.2007 - added roiread to import ImageJ (NIH, Scion ?) roi files. 20.11.2007 - new commands getcm and gneigh implemented for adjacency tasks. - new command gsetphase to change phase name of choosen grains. - gnsearch improved. 18.11.2007 - Douglas-Peucker simplification algorithm implemented into gsmooth. 14.11.2007 - New commands prosew and phistw for weighted histograms implemented. - First implementation of unified option parser. Syntax will be in all routines as function(arg1,arg2,...,'option1',value1,'option2',value2...) where arg1,arg2 ... are obligatory arguments. 31.10.2007 - database commands bug with No Data fixed. 30.10.2007 - paxdev histogram bug fixed. - multiselect bug for older version of matlab fixed. 14.10.2007 - function get can return list of possible arguments. 22.2.2007 - bug in phase coloring in idplot fixed. 6.2.2007 - prfphi updated to plot Ri anf theta curves when Rs is passed as argument. 4.2.2007 - added gminel to find the minimum volume enclosing ellipse (MVEE) for grain or boundary. 31.1.2007 - added adiangle and pdianglehist to calculate and plot dihedral angles. 30.1.2007 - added gfitel to perform Direct Least Squares Ellipse Fit to grains. - added new properties ear (equal area radius), eap (equal area perimeter and f (fractal dimension) for grains. - update in definition of straightness property of boundary. - added aparis2 to calculate new paris factor and deltA factor. - added gconvhull to transorm grain to convex hull equivalents. - bugs fixed for empty holes and userdata structures. 28.1.2007 - added svgwrite to export drawing of grains or boundaries to Scalable Vector Graphics file. 27.1.2007 - added acharea command to calculate area, perimeter and centroid of convex hull of objects. - added csdwrite command to export CSD file suitable for analysis with CSDCorrection of Higgins. 26.1.2007 - phist plot only histogram without distribution lines. Statistics is calculated from data - added phistnorm to plot histogram with normal distribution fit and confidence intervals - added phistlog to plot histogram with lognormal distribution fit and confidence intervals 17.12.2006 - Bug with length property used instead cumlength in clmeth fixed. 12.12.2006 - pgsize routine using common (base-10) logarithm instead of natural one. 26.11.2006 - grain property feret implemented as longest line across grain. Identical with length property. - new grain property ead (equal erea diameter) implemented. - grouped histograms implemented. 16.10.2006 - bug with compactness property in polygui fixed. 8.6.2006 - grain property ferret renamed to feret. 12.5.2006 - dxfread released (reads only old R12 DXF files and does not support islands). 4.5.2006 - Bug in bmake (when id is different like object number) fixed. - UserData property (structure) implemented in grain and boundary data model to hold additional attributes. - elleread bug with periodic boundary and attributes import fixed. - plot option to show bounding box implemented. 3.5.2006 - First release of polygui. Basic graphs implemented. - aparis corrected. 31.3.2006 - JDBC database connection implemented allowing using MySQL on Linux platform. 12.3.2006 - Added command elleread to read ELLE input files. 26.2.2006 - Set of routines to allow store data in MySQL database. For details see Contents. 23.2.2006 - New routine jmlread implemented to allow read polygon geometry from JUMP GML files exported from JUMP GIS. 8.2.2006 - New routine shp2mat implemented for batch conversion of shapefiles for fast loading - bugs in routine gtrans2d fixed. 6.2.2006 - New function bmake implemented to generate boundary objects directly from grain objects. This function allow to fully use a toolbox without PolyLX extension for ArcView 3. Just read-in a shapefile created by any software and use bmake to create boundary objects. 27.9.2005 - Function shpread allows to read boundary line data without attributes set by PolyLX Arcvirew extension. 17.1.2005 - Function mkflist fixed. 8.11.2005 - Bug in prose function fixed. 18.4.2004 - Added aorten2 - orientation tensor parameters of decomposed grain boundary. - Function aorten fixed (doubled pointer on end of polygon). 16.4.2004 - Functions btsel and gpsel use strmatch with exact parameter and are case insensitive.