Ahora está siguiendo esta pregunta
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
How to extract 3D position from the 2D projection using (an optimzation method + 3D Gaussian PDF)
Error in solution>computeError (line 122)
L(tril(true)) = L_vec;
Error in solution>@(L_vec)computeError(L_vec,Xp,Yp,alpha,SAD,SID) (line 44)
fMLE = @(L_vec) computeError(L_vec, Xp, Yp, alpha, SAD, SID);
Error in lsqnonlin (line 221)
initVals.F = feval(funfcn{3},xCurrent,varargin{:});
Caused by:
Failure in initial objective function evaluation. LSQNONLIN cannot continue.
Respuestas (1)
28 comentarios
- Ans: Yes, Indeed. The AP, CC, and LR are anterior-posterior, caudal-cranial, and left-right directions.
- Ans: Unfortunately, in this stage, I don't have real datasets. So, I decided to create some datasets.
- Ans: Correct. Also, for more clarity, I upload the original File of the article.
- Ans: Yes, Indeed. My task is to implement Poulsen's method. I can use this method in Matlab (awgn(x,10,'measured') to add white Gaussian noise. I wonder if can you help me in the implementation of Step 2 of this code ( untitled3.m)? The implementation of the formula in the Appendix?
- Ans: For this purpose, I also reached the following article [1] which used the triangulation method to estimate 3D tumor location [That will be my second task :) ]. Also, I found there might be some errors in their article regarding equations 1 and 2. I sent them an email to ask for more details and waited for their response.
- Ans: Correct. The Poulsen et al. 2009 study does not provide a formula for [Xp, Yp] calculation. I get them from this article [1, 2].




- In my first attempt, I used:
- In my second attempt, I modified the approach and defined:
P_xp_yp is invalid (zero, negative, or NaN). fmincon cannot continue.
Error in solution>@(L_Vec)Objective(L_Vec,i,XP,YP,SAD,SID,alpha,num_projections) (line 115)
L_Vec_opt = fmincon(@(L_Vec)Objective(L_Vec,i,XP,YP,SAD,SID,alpha,num_projections), Initial_guess, [], [], [], [], lb, ub, @covarianceConstraint, options);
Error in objfunEvaluator (line 5)
fval = feval(Objfun, x, self.FunArgs.AdditionalParameters{:});
Error in OptimFunctions/objectiveFirstEval (line 645)
[fval, grad, hess] = self.ObjectiveFunAndGrad(self,self.FunFcn{3},...
Error in fmincon (line 501)
[initVals.f,initVals.g,HESSIAN,funObj] = funObj.objectiveFirstEval(X);
Error in solution>computeError_a (line 115)
L_Vec_opt = fmincon(@(L_Vec)Objective(L_Vec,i,XP,YP,SAD,SID,alpha,num_projections), Initial_guess, [], [], [], [], lb, ub, @covarianceConstraint, options);
Caused by:
Failure in initial objective function evaluation. FMINCON cannot continue.

- The x,y,z info for the simulated targets is not what we expect it to be, due to an error in untitled4c.m.
- The x,y,z info for the targets is correct, but the Xp,Yp data (projection data) is not what it should be, due to an error in untitled4c.m.
- The x,y,z data is OK, and the Xp,Yp data and the alpha data is correct, but there is a mistake in computeError_b.m, which causes incorrect data to be passed to Objective0(), or computeError_b.m calls fmincon() in an incorrect way.
- The x,y,z data is OK and Xp and Yp are OK, and computeError_b is OK, but Objective0 contains 1 or more errors.
- If the target is small and close to the axis, then ||true_T()||<<1. In this case, it follows from the formula that:
- For this part, please refer to Equation (6) in the attached article, Page 3, which states that "the coordinates of the target position X and Z are usually much smaller than the SAD."
- Since there are four fiducial markers inside the tumor (e.g., for a moving tumor), we should consider that each fiducial marker is moving over time in 3D space (x,y,z;t)(x, y, z; t)(x,y,z;t).
- The time parameter ttt should match the number of projections.
- Thus, in summary, we should have four targets, with their positions changing at each projection. However, the motion of these targets should not exceed 5 mm, meaning they should remain within 0-5 mm in three directions.
Ver también
Categorías
Etiquetas
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Se ha producido un error
No se puede completar la acción debido a los cambios realizados en la página. Vuelva a cargar la página para ver el estado actualizado.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
Asia-Pacífico
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)