Hi,
Can anyone help me to use the dilation & erosion function in the c6400 IMGLIB? I'm using v1.04b as can be found on the TI website (SPRC094). For example, I have:
image_thr(pingPongBufferA, pingPongBufferB, capture_imageCols, capture_imageRows);
IMG_dilate_bin(pingPongBufferB, pingPongBufferA, deMask, colsper8);
where deMask is a 3x3 square structuring element with all values 1, colsper8 = capture_imageCols/8, the others I believe are self-explanatory.
The problem is when I output pingPongBufferA to a display, I get a grayscale image (i.e. image before thresholding). Anyone can tell me why? Or can anyone spot a mistake I made? I'm using an EVMDM642 with CCS3.3.
Thanks,
Hanief