|
|

楼主 |
发表于 2006-10-13 14:24:00
|
显示全部楼层
Re:求与3D空间中16个已知点距离总和最近的平面?
问题好像应该是 3d空间与已知16点距离总和最小的直线。
最小二乘我见到到的是二维的。
我找了篇文章
http://www.sjbrown.co.uk/?article=dxt
“
The DXT Colour Block
DXT is a block compression scheme, where each block encodes a 4x4 set of pixels. Each block is compressed by picking a start and end colour at 565 precision (that is, 5 bits for red, 6 for green and 5 for blue) and considering up to two full-precision intermediate colours. Each pixel in the block is then encoded with a 2-bit index into these 4 colours.
This allows 16 pixels to be encoded in 8 bytes of data, giving either 6:1 or 8:1 compression (depending on whether you are including alpha).
Principle Components
Each colour in the block can be considered as a point in a 3-dimensional space of (red, green, blue). The compressed colours we use to represent this block must lie along a straight line through this space, the direction of which must well-capture the variation in the block.
A technique called principle component analysis can find the direction along which the points vary the most. This direction, called the principle axis, is likely to be very close to the direction of the line through the compressed endpoints, so we use this to bootstrap two different methods to find good endpoints.
” |
|