I use the Matlab interface to code.I want to change the default params and find that every time I reset the params and run the fitAHCPlane again, the code will crush.My code is as follow:
params=getDefaultAHCFitterparams;
params.z_far = 8000;
setAHCPlaneFitterParams(params);
ref_depthImage = depth_images{k};
ref_xyz = getXYZ(ref_depthImage);
ref_mbs = mxFitAHCPlane(ref_xyz);
I use the Matlab interface to code.I want to change the default params and find that every time I reset the params and run the fitAHCPlane again, the code will crush.My code is as follow: params=getDefaultAHCFitterparams; params.z_far = 8000; setAHCPlaneFitterParams(params); ref_depthImage = depth_images{k}; ref_xyz = getXYZ(ref_depthImage); ref_mbs = mxFitAHCPlane(ref_xyz);