Re: Determining row of pixels among a group that has the max number
by ImageAnalyst <imageanalyst@[EMAIL PROTECTED]
>
Jul 17, 2008 at 07:02 AM
homer123123...@[EMAIL PROTECTED]
wrote:
> Hello,
>
> I am a newbie to the area of image processing. I have a 30pixel by
> 30pixel greyscale image. It consists of 30 groups of 1x10 pixels. I
> need to find out which of the these groups has the maximum number of
> pixels above a given threshold. The brute force way would be to
> determine the number of pixels that are above a given threshold in
> each of the 1x10pixels. Then, repeat this procedure for all 30 groups.
> Sort them and then determine the group.
>
> Is there an easier way to do this using some kind of filter or some
> algorithm. I need to do this in hardware and will have to estimate the
> power efficiency of the two techniques.
>
> Any help is much appreciated.
>
> Thanks
> HS
-----------------------------------------------------------------------
HS / Homer123123:
I know image processing software but not the hardware. I could easily
write some code to do what you asked but as to how to implement that
in hardware such as NAND gates, inverters, and comparators - I don't
know. I suggest you talk to some company (or someone in your company)
who can design you a custom ASIC chip. That custom chip can just suck
up your 30x30 matrix and spit out the number.
Regards,
ImageAnalyst