Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The following problem arises in image processing and compression. You are given a black and white digitized picture P in the form a of n
The following problem arises in image processing and compression. You are given a black and white digitized picture P in the form a of n two dimensional n x n matrix P. For 1 lesser than or equal to i, j lesser then or equal to n, p[i, j] in 0 if the pixel on row I and column j in black and 1 if it is white, We want to decompose the picture into a minimum number of monochromatic rectangles, which means that each rectangle is either all white or all black. The decomposition must be performed in the following hierarchical manner. Starting with the full image as the starting rectangle, we can split it into two rectangles either by a vertical line or a horizontal line that cuts through the entire rectangle. After this, we can split each of these rectangle again either by a vertical or horizontal line that cuts through the entire rectangle, and. The process stops when a rectangle is either all white or all black. An example of such decomposition is shown in fig. 2(c). The question is where to place their cuts no that the final number of rectangle is minimized. The following problem arises in image processing and compression. You are given a black and white digitized picture P in the form a of n two dimensional n x n matrix P. For 1 lesser than or equal to i, j lesser then or equal to n, p[i, j] in 0 if the pixel on row I and column j in black and 1 if it is white, We want to decompose the picture into a minimum number of monochromatic rectangles, which means that each rectangle is either all white or all black. The decomposition must be performed in the following hierarchical manner. Starting with the full image as the starting rectangle, we can split it into two rectangles either by a vertical line or a horizontal line that cuts through the entire rectangle. After this, we can split each of these rectangle again either by a vertical or horizontal line that cuts through the entire rectangle, and. The process stops when a rectangle is either all white or all black. An example of such decomposition is shown in fig. 2(c). The question is where to place their cuts no that the final number of rectangle is minimized
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started