Posts by pierchiesa

    dear all, one of our customer is interested in processing incoming images with 2D FFT, FFT operator in VA is 1D FFT.


    In order to have 2D FFT he has to apply FFT to line first and after this to column



    Do you have example or ideas on how to implement this?



    grazie


    pier

    dear Bjorn,

    this is also my doubt, from Microdisplay interface I always start camera 0, see attached image

    Applet sat Port AB (index 0 and 1) but the visible camera is the first one Nano M2020

    Independently from selector position when I start acquisition I always and only start camera 0


    Now the question is

    How to start stream on both cameras, from GenICam Explorer seems I can not

    Attached XML of one of the 2 cameras :)


    RegardsCapture_LI.jpg

    Pier

    dear Carmen,

    you are correct and if I physically switch cameras I have in any case if SourceSelector is 0 I can see streaming from channel 0 and

    I have a timeout if selector is 1


    Basically it's like if from MicroDisplay I can start streaming only for camera connected to channel 0

    At this point if selector is on 0 I have images from camera 0

    If selector is on 1 camera 0 is streaming but I’m waiting a stream form camera 1..


    Regards

    Pier

    dear all, a simple exercise from documentation where I’m using SourceSelector operator (see attached example) is not working and I have stream from camera 0 or timeout if i select camera 1..

    where I’m wrong since this simple example is also present as example in VA documentation?

    grazie

    pier

    Files

    • Mux.va

      (2.8 kB, downloaded 3 times, last: )

    dear all, probably my task is very easy but i can not find a solution...

    i have a free run area camera, all frames are discarted, once i receive a rising edge at one input of ME4 GigE i want to acquire a defined numbers of frames, after this all frames dscarted waiting next rising edge

    Probably simple but i try diferent solutions and always find problems...

    can you help me ?

    regards

    pier

    dear Johannes and Simon,

    attached here you have images acquired from camera using Gray8 applet

    SiliconArea is the image acquired with camera in areascan mode.

    SiliconLine is the same image acquired with camera in 3D linescan mode.

    Sanzio.Va is my implementation

    it's correct but probably too much resource consuming...

    Any optimization idea?

    This can be interesting also for other customer using TDalsa genie Nano in LaserTriangulation configuration.

    From CPU is almost impossible to do this calculations..

    regards

    pier

    Files

    • Sanzio.va

      (8.99 kB, downloaded 4 times, last: )
    • SiliconLine.bmp

      (16.44 kB, downloaded 3 times, last: )
    • SiliconArea.bmp

      (984.12 kB, downloaded 3 times, last: )

    Dear all,

    Genie Nano cameras from TeledyneDalsa have special FW for laser tiangulation

    Basically inside camera FPGA some calculation are done and camera output for every image column is a 64bit pixel.

    on page 3 of attached document you have the description of this pixel.

    Basically to obtain the peak position i have to divide Weighted Column Sum[47-16] by Pixel Sum[63-48]


    this will output a 16 bit value basically a line showing object profile in 16bit that i want to output as

    line profile or better a sequence of n lines that will be my disparity image

    My problem is to acquire this 64 bit per picel line ...

    any ideas
    regards

    pier

    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?

    regards

    pier

    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

    Pier

    Files

    • noise.PNG

      (160.83 kB, downloaded 7 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…. :)

    Regards

    Pier

    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...


    regards

    pier

    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

    pier

    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

    pier