Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly Language > Re: Fast way of...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 12 of 36 Topic 4980 of 5160
Post > Topic >>

Re: Fast way of splitting an image into bit planes ?

by Wolfgang Draxinger <wdraxinger@[EMAIL PROTECTED] > Apr 28, 2008 at 11:12 AM

Skybuck Flying wrote:

> This way finally all bit planes would be extracted.
> 
> Hope this clearifies the idea a bit ;) :)

It was very clear, what you intended to do, but the whole thing
makes no sense. Normally you want to keep the bits together.
With your storage scheme, you'd introduce a width*height*24 bit
stride between bits belonging together. Furthermore, the planes
would ****ft with a modulo 24 within your DWORDs, which makes
things even worse.

Things are the following: Every pixel designates a vector of base
colours (RGB, RGBA, CMYK, LAB, etc.), each element of the vector
having a certain length (number of bits). Common values are 8,
16 or 32 bits. So your image is actually a H x W x C x B tensor,
now you can serialize such a tensor respective to a given base.
And normally you want to stream out data with the fastest
changing coordinate in regular access also the festest changing
in the stream. And that would be the bits. So your streaming
order would be B->C->W->H, but it's also common to stream
B->W->H->C, i.e. streaming out subimages for each channel.

It makes however no sense to stream

W->H->C->B, which is what you want to do. Practically this rips
the whole data apart, trashes the chache, and all in all is a
bad idea.

Wolfgang Draxinger
-- 
E-Mail address works, Jabber: hexarith@[EMAIL PROTECTED]
 ICQ: 134682867
 




 36 Posts in Topic:
Fast way of splitting an image into bit planes ?
"Skybuck Flying"  2008-04-27 21:23:00 
Re: Fast way of splitting an image into bit planes ?
"Skybuck Flying"  2008-04-27 21:46:14 
Re: Fast way of splitting an image into bit planes ?
"Skybuck Flying"  2008-04-27 21:53:57 
Re: Fast way of splitting an image into bit planes ? (How would
"Skybuck Flying"  2008-04-28 20:43:33 
Re: Fast way of splitting an image into bit planes ? (How would
"Skybuck Flying"  2008-04-29 09:39:52 
Re: Fast way of splitting an image into bit planes ? (How would
"Skybuck Flying"  2008-04-29 10:14:23 
Re: Fast way of splitting an image into bit planes ? (How would
"Skybuck Flying"  2008-04-29 10:25:46 
Re: Fast way of splitting an image into bit planes ? (How would
"Skybuck Flying"  2008-04-29 10:27:56 
Re: Fast way of splitting an image into bit planes ?
Ivan Levashew <octagra  2008-04-28 02:58:04 
Re: Fast way of splitting an image into bit planes ?
Robert Redelmeier <red  2008-04-27 21:35:35 
Re: Fast way of splitting an image into bit planes ?
"Skybuck Flying"  2008-04-28 09:07:10 
Re: Fast way of splitting an image into bit planes ?
Wolfgang Draxinger <wd  2008-04-28 11:12:18 
Re: Fast way of splitting an image into bit planes ? (How would
penang@[EMAIL PROTECTED]   2008-04-29 03:42:18 
Re: Fast way of splitting an image into bit planes ? (How would
"Ken Hagan" <  2008-04-29 12:46:09 
Re: Fast way of splitting an image into bit planes ? (How would
"Skybuck Flying"  2008-04-29 13:56:42 
Re: Fast way of splitting an image into bit planes ? (How would
penang@[EMAIL PROTECTED]   2008-04-29 05:35:15 
Re: Fast way of splitting an image into bit planes ? (How would
"Skybuck Flying"  2008-04-29 14:59:43 
Re: Fast way of splitting an image into bit planes ? (How would
"Skybuck Flying"  2008-04-29 18:54:19 
Re: Fast way of splitting an image into bit planes ? (How would
"Skybuck Flying"  2008-04-29 19:02:51 
Re: Fast way of splitting an image into bit planes ? (How would
"Skybuck Flying"  2008-04-29 21:14:29 
Re: Fast way of splitting an image into bit planes ? (How would
"Skybuck Flying"  2008-04-29 21:19:49 
Re: Fast way of splitting an image into bit planes ? (How would
"Skybuck Flying"  2008-04-30 11:19:55 
Re: Fast way of splitting an image into bit planes ? (Skybuck's
"Skybuck Flying"  2008-04-30 17:20:12 
Re: Fast way of splitting an image into bit planes ? (Skybuck's
"Skybuck Flying"  2008-04-30 17:39:30 
Re: Fast way of splitting an image into bit planes ?
Bo Schwarzstein <Bo.Sc  2008-05-01 03:54:28 
Re: Fast way of splitting an image into bit planes ? (Skybuck's
pg <penang@[EMAIL PROT  2008-05-01 08:21:30 
Re: Fast way of splitting an image into bit planes ? (Skybuck's
"Skybuck Flying"  2008-05-01 20:19:01 
Re: Fast way of splitting an image into bit planes ?
Terence <tbwright@[EMA  2008-05-01 16:06:03 
Re: Fast way of splitting an image into bit planes ?
pg <penang@[EMAIL PROT  2008-05-02 18:01:31 
Re: Fast way of splitting an image into bit planes ? (Skybuck's
pg <penang@[EMAIL PROT  2008-05-02 18:03:40 
Re: Fast way of splitting an image into bit planes ? (Skybuck's
"Skybuck Flying"  2008-05-03 19:40:48 
Re: Fast way of splitting an image into bit planes ?
"windenntw@[EMAIL PR  2008-05-04 13:09:13 
Re: Fast way of splitting an image into bit planes ?
"Skybuck Flying"  2008-05-04 22:54:19 
Re: Fast way of splitting an image into bit planes ?
Nils <n.pipenbrinck@[E  2008-05-04 23:11:31 
Re: Fast way of splitting an image into bit planes ?
"Skybuck Flying"  2008-05-05 01:40:01 
Re: Fast way of splitting an image into bit planes ?
"Skybuck Flying"  2008-05-05 01:55:31 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 23:47:08 CDT 2008.