X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=libctsim%2Fprojections.cpp;h=846daf3f03ea8f9ef45f67acbe8bd2954f7376d0;hb=c04ed309e5f8ad29d194b52c0f82f0be53ed56f3;hp=4d78cd7e4b68d8e314ec10f8af3d9e7c22eda019;hpb=dface59d5729f36f65d95ce48fe4c771462bb820;p=ctsim.git diff --git a/libctsim/projections.cpp b/libctsim/projections.cpp index 4d78cd7..846daf3 100644 --- a/libctsim/projections.cpp +++ b/libctsim/projections.cpp @@ -8,7 +8,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: projections.cpp,v 1.40 2001/01/07 23:03:28 kevin Exp $ +** $Id: projections.cpp,v 1.41 2001/01/07 23:18:13 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -816,9 +816,9 @@ Projections::interpolatePolar (ImageFileArray& v, ImageFileArray& vImag, v[ix][iy] = 0; } } else if (iInterpolationID == POLAR_INTERP_BILINEAR) { - int iFloorView = ppdView[ix][iy]; + int iFloorView = static_cast(ppdView[ix][iy]); double dFracView = ppdView[ix][iy] - iFloorView; - int iFloorDet = ppdDet[ix][iy]; + int iFloorDet = static_cast(ppdDet[ix][iy]); double dFracDet = ppdDet[ix][iy] - iFloorDet; if (iFloorDet >= 0 && iFloorView >= 0) {