Assign object id by position in image

File Information

Description

Object ids are used in many rule sets. You can use a sorted image object list to give object ids to objects in a structured way.

This short rule set demonstrates in very few steps how object variables can be given to objects starting from bottom left to top right. An image object list is sorted by a feature that contains the sum of the x-position and the y-position, with a weighting factor for one of them that determines the priority (x or y). The ratio of the weighting factors has to be larger than the total image size in pixels. Otherwise, the order of the numbers is not guaranteed.

A simple assign ids algorithm on this sorted image object list will yield a result as shown in the result image (feature view).

Acknowledgements

Image data courtesy to Ana Merino-Trigo, Sanofi-Aventis.

Software Version
Definiens Developer XD - 1.5
Categories
Other, Cell, Tissue
Files in Rule Set
  • Object_IDs_by_position.dcp(25 KB )
  • grid_pancreas.png(1.1 MB )
  • grid_pancreas_result.png(248 KB )
  • For downloading this file, please login or sign up for a new account.
Views
745
Downloads
15
Created
12/03/2010

User Information

Please log in to comment on this rule set or to download the attached files.

If you do not have an account please register here.

Comments

This rule set has not been commented yet.