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

Claim 5:
6. The processor implemented method of claim 1, wherein the step of performing region growing comprises:
computing gradient value of pixels of the deveined image in X and Y directions using an edge detection filter;
computing a sum of squares of the computed gradient value of pixels of the binary image of the deveined image;
computing square root of the sum of squares to obtain a gradient image;
computing a gradient threshold using the computed gradient image by:
selecting a window of size n×n around the seed point;
computing an N-bin histogram of the gradient value of pixels in the gradient image; and
calculating the gradient threshold as ((bin_number+1)*10)/255, wherein bin_number represents a bin with a highest pixel count; and

initiating region growing by starting from the seed point and iteratively merging pixels having the computed gradient value greater than the computed gradient threshold to obtain one or more full leaves corresponding to each of the one or more seed points, wherein the iterative merging of the pixels stop when the computed gradient threshold is less than the value of pixels in the gradient image.