Commit 02810125 authored by Jens Kroeger's avatar Jens Kroeger
Browse files

Clustering4D: removed if(pixel charge = 0) continue because I'm convinced we...

Clustering4D: removed if(pixel charge = 0) continue because I'm convinced we don't need it (tested functionality of epsilon in a dummy project separately)
parent 52a8ade3
......@@ -60,10 +60,6 @@ StatusCode Clustering4D::run(std::shared_ptr<Clipboard> clipboard) {
continue;
}
if((!pixel->isBinary()) && pixel->charge() == 0.) {
continue;
}
// Make the new cluster object
Cluster* cluster = new Cluster();
LOG(DEBUG) << "==== New cluster";
......@@ -88,9 +84,6 @@ StatusCode Clustering4D::run(std::shared_ptr<Clipboard> clipboard) {
if(used[neighbour])
continue;
if((!neighbour->isBinary()) && neighbour->charge() == 0.)
continue;
// Check if they are touching cluster pixels
if(!touching(neighbour, cluster))
continue;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment