ThefirststepofaneCognitionimageanalysis istocuttheimageintopieces, whichserveasbuilding blocks for further analysis – this step is called segmentation and there is a choice of several algorithmstodothis. Thenextstepistolabeltheseobjectsaccordingtotheirattributes, suchasshape,colorandrelative position to other objects. This is typically followed by another segmentation step to yield more functionalobjects. Thiscycleisrepeated asoften asnecessary andthehierarchiescreated bythese stepsaredescribedinthenextsection.