Re: Fast Image access for binarization
- From: "RoboRealm" <contact@xxxxxxxxxxxxx>
- Date: 27 Feb 2006 23:09:46 -0800
Oh, and depending on if you're processor can take advantage of any loop
unraveling you can also try
while (pixel!=end)
{
*pixel++ = *pixel>threshold;
*pixel++ = *pixel>threshold;
*pixel++ = *pixel>threshold;
*pixel++ = *pixel>threshold;
}
assuming you're image size is a multiple of 4 .. doing this on an Intel
chip does seem to make a difference!
.
- References:
- Fast Image access for binarization
- From: siddharth
- Re: Fast Image access for binarization
- From: RoboRealm
- Fast Image access for binarization
- Prev by Date: Re: Fast Image access for binarization
- Next by Date: Re: Fast Image access for binarization
- Previous by thread: Re: Fast Image access for binarization
- Next by thread: Also,
- Index(es):
Relevant Pages
|