[vtkusers] Problems with ComputeOBB - wrong OBB computed
goodwin.lawlor.lists at gmail.com
Wed Aug 13 12:08:14 EDT 2014
Would methods like:
static int vtkMath::GetMean3 (vtkDataArray *array, double mean)
static int vtkMath::GetCovarianceMatrix (vtkDataArray *array, double
mean, double *covariance)
be a better way?
cf. for VTK devs see
On Wed, Aug 13, 2014 at 3:53 PM, Goodwin Lawlor <
goodwin.lawlor.lists at gmail.com> wrote:
> This wiki page should get you going:
> On Wed, Aug 13, 2014 at 2:40 PM, Oliver Weinheimer <mail at oliwe.com> wrote:
>> Hi Goodwin,
>> yes I also think that this change can improve accuracy also in other
>> in VTK.
>> In my case, the mean calculation errors built up extremly, so that the
>> calculated OBB was unusable.
>> No, I'm not familiar with Gerrit, but I will have a look on it.
>> Thanks for your reply and help.
>> Goodwin Lawlor-2 wrote
>> > Hi Oliver,
>> > That's a nice method - the mean is gradually accumulated, preserving the
>> > accuracy of the floating point value. I'm sure there are other places in
>> > VTK that would benefit from this code change...
>> > If you're familiar with Gerrit, could you submit this change? I'll have
>> > poke around the code base to see if there are other similar mean
>> > calculations.
>> > Goodwin
>> View this message in context:
>> Sent from the VTK - Users mailing list archive at Nabble.com.
>> Powered by www.kitware.com
>> Visit other Kitware open-source projects at
>> Please keep messages on-topic and check the VTK FAQ at:
>> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers