Automatic knot segmentation in CT images of wet softwood logs using a tangential approach