필터 지우기
필터 지우기

Is there any inbuilt function available for surface fitting to the intensity values of a grayscale image that minimize the entropy of an Image?

조회 수: 1 (최근 30일)
I am trying to fit the surface to the intensity values of a grayscale image. For that purpose, I have decided to use the entropy of an image as a criterion function.I was wondering if there is any way I can use fit - an inbuilt function that fits the surface or optimizes the polynomial coefficients at the same time minimizing the entropy of the image.
Thanks

채택된 답변

John D'Errico
John D'Errico 2016년 10월 18일
편집: John D'Errico 2016년 10월 18일
No. Just use a general optimization tool (from the optimization toolbox), writing the objective function yourself.
The curve fitting toolbox functions will assume a minimum sum of squares of residuals criterion.
  댓글 수: 3
John D'Errico
John D'Errico 2016년 10월 18일
Sorry. Polyfitn uses linear algebra (linear least squares) to solve for the coefficients of the polynomial, although the polynomial itself need not be linear. The problem is linear in the unknown coefficients in terms of the estimation.
In order to change the objective to something else, the code would need to call a general optimizer. That in itself would not be the end of the world, but since the code also computes a variety of measures of fit, they would be invalidated. Essentially, a large fraction of polyfitn would need to be re-written.
Jay
Jay 2016년 11월 13일
편집: Jay 2016년 11월 13일
I have one question @John. Is your polyfitn toolbox which uses QR decomposition using the brightest spot mean as a control point and try to fit the surface or it just tries to fit the data values to the surface as I am trying to correct the illumination in the digital image and after the illumination correction the color tonality of the image is similar to the brightest spot colors in a particular image?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spline Construction에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by