For a group of camera nodes , , ordered by its () coordinates; |

Get the FoV of each camera node , ; |

Initialize = 1, correlation degree threshold , cluster ; |

**while** length != 0 **do** |

; |

Check the camera nodes which distance with is less than ; |

Add these camera nodes to a set ; |

**for** = 1 to length **do** |

Calculate by Algorithm 1; |

**if** **then** |

**if** **then** |

; |

**else** |

; |

; |

**end** |

**end** |

**end** |

**if** has the bigest area in **then** |

becomes the cluster head in ; |

**end** |

++; |

**end** |

**return** . |