Patent ID: 11880981
Assignee: TATA CONSULTANCY SERVICES LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 8:
9. A system comprising:
one or more data storage devices operatively coupled to one or more hardware processors via the one or more input/output interfaces; and configured to store instructions configured for execution via the one or more hardware processors to:
receive an image including one or more leaves that need to be monitored;
segment, the received image to identify veins in the one or more leaves, wherein identifying veins comprises:
performing edge detection on the received image to obtain edges representative of veins and contours of the one or more leaves;
determining straight lines from the obtained edges; and
identifying the determined straight lines as veins if a difference between average pixel intensity on either side of the straight lines is lesser than an empirically determined first threshold;

obtain a de-veined image by replacing each pixel on the identified veins with an average pixel intensity of neighboring pixels;
select a seed point for each of the one or more leaves using distance transform on a binary image of the de-veined image; and
perform region growing using a k-neighborhood method, to obtain contours of one or more full leaves, wherein the region growing starts from the seed point selected for each of the one or more leaves.