Buildin Extaction
Buildin Extaction
Calculate NDVI
Segmentation Using NDVI = (NIR – Red) / (NIR +
NDVI Red)
Output segmented
Extracted or Binary Image
Buildings
In the first step the near infra red (NIR) and red bands are
The process of building extraction consists of three steps as read then NDVI value is calculated. In the last step band
shown in figure 2. The first step will segment the image into threshold is done to remove vegetation and soil area from the
two parts, manmade region and natural region. In the second building and similar manmade area.
step manmade region is filtered to remove the larger segments
like road that are not buildings. In the third step the B(x) = 1 if I(x) <= T (0.30) (2)
morphological operation is applied on the image that is
0 otherwise
obtained from the second step to extract the building based on
the assumption that building has rectangular shape.
A. B. C. D.
Figure 4 (A) NDVI classification (B) Band Threshold (C) Extracted Building (D) Building boundaries
Where B is output binary image. I is the input image and We have used the erosion to find out the rectangular
T is the NDVI threshold which value is 0.30 (Manmade area shape, but also shrink the buildings. So we have used dilation
false below this value). in next step to restore the shape of buildings.
B. Filtering Final output is shown in Figure 4(C).
In a particular scale image, the small isolated region
should be affirmed as non-building. Therefore, after the III. RESULT EVALUATION
image segmentation, use mathematical morphology filter
with the right parameter after image to remove these isolated The method for evaluating the results of building extraction
points. The area of the building should have a reasonable can be done by completeness, correctness and quality
scale. The region whose area is too big is not building measure evaluation. The quality of output depends on how
certainly.
much part of our building region we have extracted.
Filtering is used to separate the building area from other
area. Completeness, Correctness and Quality
MinThresh < Buildings < MaxThresh (3)
The accuracy of building extraction technique can be
Here we used the concept that building cannot be determined by measuring the completeness and correctness.
smaller than a minimum threshold because building has
In order to evaluate the results the quality measures
some minimum predictable size, below which it may be
some vehicle or noise. completeness, correctness and quality (Heipke et al., 1997)
[9] are examined. The classification of building extraction is
MaxThresh is used to remove the area like river or road done as true positive (TP), false negative (FN), or false
because building has some maximum predictable size and positive (FP). Where true positive (TP) means the number of
cannot be larger than roads or river.
buildings among the extracted building that are actually
So in filtering process the isolated region which has area buildings. False positives (FP) means that the number of
greater than minimum threshold and lesser than the buildings among the extracted results that are not buildings
maximum threshold is extracted and other false area is and falsely extracted as building. False negative (FN) means
filtered. no of building that are actually building but are not extracted
and left as non-building area.
C. Morphological Opening
Completeness = Number of extracted buildings that are
Based on the assumption that building has usually actually building
rectangular shape the morphological opening is performed Total number of building in a scene
on the filtered image in order to extract the buildings. [6]
Morphological opening is defined as a combination of ≈ TP (5)
erosion and dilatation: TP + FN
O (I) = (I ⊖ S) ⊕ S (4)
Completeness ϵ [0; 1]
Where I = input image
S = Structuring element of rectangle type Completeness tells us how complete our approach is. It
means that how many buildings out of the actual no of the
O = Output Image buildings have been extracted.
Correctness = Number of extracted buildings that are IV. CONCLUSION
actually building As we see in the table 1 the building extraction method has
Total number of extracted buildings very good results in terms of completeness, correctness and
quality. This method provides very satisfactory results but
≈ TP (6) building region with very complex shape needs to research
TP + FP further.
Correctness ϵ [0; 1]
Correctness tells us how correct our approach is or what is
the chance of being a building of each building that is being
extracted.
Quality = Number of extracted buildings that are actually
building
No of building extracted in output
≈ TP (7)
TP +FP+ FN
Quality ϵ [0; 1]