hi guys,
i m trying to get the thickness of a crack in an image of a wall… in my program i am inputting the image as a matrix… 255 - crack, 0-remaining image…
am calculating the pixel where the value of next pixel in column is less than value of current pixel… this would be the start of the crack…
similarly we can get pixel at end of crack… so i can get thickness of the crack and playing around with the blockIdx.x I can generate thickness as a function of column…
So for every column I am generating the start and end pixels of the crack… but when I tested the program a lot of threads hadn’t executed… that is the corresponding values remained 0… when i re-ran the same program, a new set of values were missing… and a few previously missing values were generated…
it would be great if someone can help me out with this…
regards
pradyot