7 #include "CoralBase/Blob.h"
8 #include "CoralBase/Attribute.h"
29 return xvalue(rec.attributeList());
34 return yvalue(rec.attributeList());
42 if (blobBC.size() == 0) {
43 std::cout <<
"No Blob" << std::endl;
46 unsigned int tmk = *
k;
59 if (blobBC.size() == 0) {
60 std::cout <<
"No Blob" << std::endl;
63 unsigned int tmk = *
k;
70 const std::vector<double> &
94 if (blobBC.size() == 0) {
95 std::cout <<
"No Blob" << std::endl;
100 unsigned int tmk = *
k;
101 unsigned int fact = 0;
104 unsigned int BCID = 0;
105 unsigned int BCIDold = 0;
106 unsigned int len = 0;
126 for (
unsigned int i =0;
i<PV.size();
i++) {
132 for (
unsigned int j = BCIDold; j <=
BCID; j++, y10++) {
146 for (
unsigned int i=BCIDold;
i<3564;
i++) {
154 for (
unsigned int i = 0;
i < ((blobBC.size()-1)/
x);
i++, y11++) {
168 for (
unsigned int i = 0;
i<len;
i++, k1++) {
170 for (
unsigned int j=BCIDold; j<=(
BCID); j++, y12++) {
183 for (
unsigned int i=(BCIDold);
i<3564;
i++) {
188 if (len > 0) AB1 = AB1/len;
193 for (
unsigned int i =0;
i<PV.size();
i++) {
196 for (
unsigned int j = BCIDold; j <=
BCID; j++, y20++) {
209 for (
unsigned int i=BCIDold;
i<3564;
i++) {
217 for (
unsigned int i = 0;
i < ((blobBC.size()-1)/
x);
i++, y21++) {
223 AB1 = AB1/((blobBC.size()-1)/
x);
228 unsigned int len = *k2;
231 for (
unsigned int i = 0;
i<len;
i++, k2++) {
233 for (
unsigned int j=BCIDold; j<=(
BCID); j++, y22++) {
246 for (
unsigned int i=BCIDold;
i<3564;
i++) {
250 if (len > 0) AB1 = AB1/len;
255 for (
unsigned int i =0;
i<PV.size();
i++) {
261 const unsigned int * y40 =
reinterpret_cast<const unsigned int*
> (
k);
262 for (
unsigned int j = BCIDold; j <=
BCID; j++, y40++) {
276 for (
unsigned int i=BCIDold;
i<3564;
i++) {
287 const unsigned int * y41 = (
const unsigned int*)
k;
288 for (
unsigned int i = 0;
i < ((blobBC.size()-1)/
x);
i++, y41++) {
294 AB1 = AB1/((blobBC.size()-1)/
x);
299 unsigned int len = *k4;
305 const unsigned int* y42 = (
const unsigned int*) (
k+2*(1+len));
306 for (
unsigned int i = 0;
i<len;
i++, k4++) {
309 for (
unsigned int j=BCIDold; j<=(
BCID); j++, y42++) {
322 for (
unsigned int i=(BCIDold);
i<3564;
i++) {
326 if (len > 0) AB1 = AB1/len;