The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Intensity correction using least-squares non-linear approximation question
Replies: 11   Last Post: Jul 5, 2012 12:06 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 17
Registered: 4/26/12
Re: Intensity correction using least-squares non-linear approximation question
Posted: Jul 5, 2012 6:42 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <jt3ol8$qij$>...
> "K M" wrote in message <jt3m0n$i6o$>...

> >
> > hist(fun(I)) is approximately hist(J) and thus does operate on the input space ?

> But if
> fun = @(c) a*c + b
> and
> count is the histogram values, then
> a*count + b is _not_ the histogram of the hist(fun)
> To compute hits(fun) you need apply fun on the *bin* then to interpolate to get the count.
> Bruno

Thank you for your comment.

However, I do not understand how applying fun on the bins of the histogram would help me find the coefficients of the transformation, such that the histogram of the new transformed image is matched to the reference J. Apologies if I am missing something very straightforward.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.