                                                        dimTrnX, dimTrnY, dimTrnZ,
                                                        z);
         CHECK_CUDA_ERROR();
-    };
+    }
 
     if(verbose)
         printf("gpu elapsed time: %f ms \n", toc(tall));
 
     copy((*ovol_hmh), volTra_dmp);
-};
+}
 
 void ps_computeSimilarityVolume(CudaArray<uchar4, 2>** ps_texs_arr,
                                 CudaDeviceMemoryPitched<unsigned char, 3>& vol_dmp, cameraStruct** cams, int ncams,

            int h = height / (s + 1);
            (*ps_texs_arr)[c * scales + s] = new CudaArray<uchar4, 2>(CudaSize<2>(w, h));
            allBytes += (*ps_texs_arr)[c * scales + s]->getBytesUnpadded();
        };
    };
    CHECK_CUDA_ERROR();

    // calcDCTCoefficients();

            width, height, iter, samplesPerPixSize, yFrom);

        cudaUnbindTexture(depthsTex);
    }

    copy((*odepthSimMap_hmh), optDepthSimMap_dmp);

    for(int i = 0; i < ndataMaps; i++)
    {
        delete dataMaps_dmp[i];
    }
    delete[] dataMaps_dmp;

    cudaUnbindTexture(r4tex);

    if(verbose)
        printf("gpu elapsed time: %f ms \n", toc(tall));
}

void ps_getSilhoueteMap(CudaArray<uchar4, 2>** ps_texs_arr, CudaHostMemoryHeap<bool, 2>* omap_hmh, int width,
                        int height, int scale, int CUDAdeviceNo, int ncamsAllocated, int scales, int step, int camId,
