Fast Image access for binarization
- From: "siddharth" <siddharth.vaghela@xxxxxxxxx>
- Date: 27 Feb 2006 20:07:59 -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:
- Last Resort
- From: aruzinsky
- Re: Fast Image access for binarization
- From: pavel . holoborodko
- Re: Fast Image access for binarization
- From: Martin Brown
- Re: Fast Image access for binarization
- From: Nicholas Sherlock
- Last Resort
- Prev by Date: Re: Tilt Removal algorithm?
- Next by Date: References/ Journals for license plate recognition
- Previous by thread: Tilt Removal algorithm?
- Next by thread: Re: Fast Image access for binarization
- Index(es):
Relevant Pages
|