Commit 819e7ed4 authored by Vladimír Ulman's avatar Vladimír Ulman
Browse files

ADD: Generator made sensitive to PSF config parameter.

parent 390d5ef9
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1890,8 +1890,7 @@ void ActiveMesh::PhaseII(const i3d::Image3d<i3d::GRAY16>& texture,
	i3d::GrayToFloat(texture, fimg);

	// load the image of suitable PSF
	// i3d::Image3d<float> psf("../psf/2008-06-25_1_1_9_0_2_0_0_1_0_0_0_0_9_12.ics");
	i3d::Image3d<float> psf("../psf/2013-07-25_1_1_9_0_2_0_0_1_0_0_0_0_9_12.ics");
	i3d::Image3d<float> psf(this->configFile.texture_PSFpath.c_str());

	// If the PSF has different resolution from the processed image, 
	// resampling is required.
+0 −1
Original line number Diff line number Diff line
@@ -77,7 +77,6 @@ int main(int argc,char **argv)
	if (mesh.configFile.ParseConfigFile(argv[1]) != 0) return(-2);
	//access the config params as, e.g. :
	// mesh.configFile.texture_Resolution.x
	return(0);

	//determine the first time point to start with
	int i=0;