Fast Image access for binarization
- From: "siddharth" <siddharth.vaghela@xxxxxxxxx>
- Date: 27 Feb 2006 20:32:12 -0800
hi,
is there any way to access image data efficiently to speedup the global
binarization code speed. our code is taking abt 40msec right now but we
need to reduce it down to 5-10msec.
our loop is like this:
for(i = 0; i < (width * height); i++)
{
if (image[i] > threshold)
image[i] = 1;
else
image[i] = 0;
}
image size is 512x512 to 4096x4096
there are different checks involved but we r trying to remove them from
the loop completely. this one check however cannot be moved out of the
loop.
is there any platofrm and hardware independent way of speeding up this
code?
any unique solutions to this problem? please help us out.
thanks and regards,
siddharth
.
- Follow-Ups:
- Re: Fast Image access for binarization
- From: S
- Re: Fast Image access for binarization
- From: RoboRealm
- Re: Fast Image access for binarization
- Prev by Date: Re: Fast Image access for binarization
- Next by Date: Re: Object tracking
- Previous by thread: Last Resort
- Next by thread: Re: Fast Image access for binarization
- Index(es):
Relevant Pages
|