Region filling is the process of coloring in
Answers
Answered by
0
Answer:
Region filling is the process of filling image or region. Filling can be of boundary or interior region as shown below:
Algorithm:
Procedure fill (x, y, color, color1: integer)
int c;
c=getpixel (x, y);
if (c!= color) (c!= color1)
{
setpixel (x, y, color)
fill (x+1, y, color, color 1);
fill (x-1, y, color, color 1);
Similar questions
Social Sciences,
5 days ago
Social Sciences,
5 days ago
Science,
5 days ago
Math,
10 days ago
Business Studies,
8 months ago
English,
8 months ago