Posts by pierchiesa

    dear all,

    i have a binarized image and i want to count "white" pixel in this image.

    Of course this is simple, with Count, after this I have in last pixel of the image my value.

    Problem here is that i have to use a DMA resource to read this value.

    I would like to avoid this DMA usage, can GetStatus be used for this?



    Dear Johannes,

    I have now more details from customer, the frequency of wire waves is not as shown in image

    I send you but is much more higher.

    The distance between 2 pick of one wire is less than 50 acquired lines and the frequency can

    be read as distance between 2 consecutive pick.

    The same for the phase shift where the distance between the 2 pick on the 2 wires is needed.

    Probably acquiring a single line or a few lines and detecting horizontal position is the first step for this.

    but what is scaring me is the possible noise inside the image as example in image I send you

    at coordinate 41, 1082 there is a spot this spot is very close to wire dimension if I only

    consider a few lines acquired..

    Any suggestion ?

    What do you think about feasibility of this project?

    Best regards



    • noise.PNG

      (160.83 kB, downloaded 6 times, last: )

    Dear Johannes,

    many thanks, agree with your observation and let me talk with customer

    regarding the output on a digital IO let us suppose I have to represent a phase shift that can vary from 0 to 180°

    I can represent this variation with 7 bit digital IO and use the latest output to trigger the read from customer

    Basically 0° will be represented as binary 0000000 on first 7 Digital out, 180° will be represented as 1111111

    I’ll have a resolution of 180° over 127 possible digital output values

    The last Digital OUT (OUT8) will be set to 1 in order to “say” customer now is time to read digital output 1 to 7

    Do not know if this clarify or confuse you…. :)



    dear all, we have a possibile project where in a sort of textile fabric wire are visible, annex here you have an example where in thsi fabric you can see 2 black wires in a sort of sine wave.

    Targhet of this application is to measure

    Horizontal distance between these 2 wires

    Frequency of one of the 2 wire (sine frequency), acquisition is coming from linescan camera and for this we have a line frequency

    Phase shift between these 2 sin wave.

    the idea is to output distance and Frequency with 2 variable i can read from SDK

    rappresent the phase shift with 8 bit using the 8 digital output of a Microenable IV GigE

    i just need an idea of fesibility of this, for me measure phase shift and frequency is quite complex and i have no idea at all...



    dear Bjorn,

    first of all many thanks, this means that solution i propose you is the "right one" and what i see is the limit of GigE interface that does not have real determinism. Am i right?

    many thansk


    Dear all, one of our customer want to use a lnescan GigE camera driven by an external trigger.

    The same external trigger is input in Me4 GigE board.

    He want to write in the first two byte of every line the counter of line trigger.

    this is a sort of timestamp inside the image

    i try with annex Va example but in thi case inside the sequence i do not have the correct sequence. i have someting like 1, 2, 3, 4, 4, 6, 7, 8, 8, 10...

    where i'm wrong?

    best regards


    dear all, attached here you ave a design where with a digital IO I can remove images.

    In this applet image is removed if:

    "The control whether an image is removed is made using the binary input link Rem. If the very first pixel of Rem is value 1, the image is removed. If the pixel is 0, the image is forwarded to the output."

    my task is to remove an image if any of the pixel of Rem input is 1.

    Basically i have a camera producing images , if during this image flow from Camera to PC DMA a digital output rising edge transition is detected the image has to be removed.

    Is this possible?

    I have no idea...

    many thanks




      (3.48 kB, downloaded 2 times, last: )

    Dear all, in order to clean an image I have to replace 2 adiacent line

    Basically replace the 2 lines with an average of 2 line above and 2 line below or something similar.

    Attached hee is my implementation where I’m using 2 different kernel and thisis resource consuming

    Can you suggest me alternative in order to use only 1 kernel

    attached here my sample and a test image

    best regards




      (6.79 kB, downloaded 3 times, last: )

      (2.25 kB, downloaded 2 times, last: )