optimization for image processing
显示 更早的评论
Hi, I have written a myfunction handle, which performs certain operations on image matrix based on another internal function using a variable x. By changing the value of x, I can modify my image matrix output (in other words image matrix is dependent on variable x, provided by the user). The output of this function is a matrix. This function handle I am trying to optimize with MATLAB's imbuilt function fmincon; which is suposed to optimize the function for variable x; based on constraint equation written for x. But for some reason, it seems to give an error "User supplied objective function must return a scalar value". Can some please tell me how to correct this error. Also are there any other optimization functions which I can use on Matrix. I am currently using MATLAB R2012a version. Many Thanks. IA|monospaced|
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!