NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 988 - Error in perimeter evaluation for particle analyzer
Error in perimeter evaluation for particle analyzer
Status: NEW
Product: Fiji
Classification: Unclassified
Component: ImageJ2
unspecified
PC Windows
: P5 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2015-01-14 11:06 CST by Filippo
Modified: 2015-01-14 11:06 CST
0 users

See Also:


Attachments
Squares with the same area but different rotations (7.57 KB, image/jpeg)
2015-01-14 11:06 CST, Filippo

Description Filippo 2015-01-14 11:06:03 CST
Created attachment 228
Squares with the same area but different rotations

The computation of the perimeter for particle analyzer is not consistent when you analyze particles with edges that are not parallel, perpendicular, or do not have a 45 degree inclination.

The issue can be reproduced as follows:

1 - With an external program, generate an 8-bit image with a series of squares with the same area but different rotation from 0 to 45° (example is provided)

2 - Threshold the image (Image->Adjust->Threshold)

3 - Apply particle analysis to the image (Analyze->Analyze Particles)

The results will show same area but different perimeter.
The problem is inherited by shape descriptors based on Perimeter quantity and plugins (e.g. Shape Descriptor1u).

The issue seems to be related to on edge detection because the outlined profile is stepped and not continuous. Increase of image resolution does not improve.

Fiji ImageJ 2.0.0-rc-15/1.49k
Java 1.7.0_67
Windows 7 (64 bit)

The bug was found on ImageJ 1.44 as well.