Most time takes b=(BYTE)a . And it is impossible to make it works faster.
Kolich
Posts
-
How to make code block works faster? -
How to make code block works faster?basic time takes operation b=a. its bad.
-
How to make code block works faster?same result :/
-
How to make code block works faster?No! its useless :(
-
How to make code block works faster?This block processing takes 3/4 of all code time.
-
How to make code block works faster?b is BYTE, a is float. I'm making convolution of 2 matrix. they are BYTE type. So i need to control bounds.
-
How to make code block works faster?thanx, but i need fast, not elegant:) such construction works even slowly.
-
How to make code block works faster?I have such block: if (a > 0) if (a > 255) b = 255; else b = (BYTE)a; else b = 0; do anyone have an idea, how to make it works faster? Thanx.
-
Video Editing Component?visit www.NCTSoft.com . I think there is what u need. NCTVisualStudio is really good set of activeX libraries.
-
Flood fill of all image objects simultaneouslyThanx a lot. Problem is solved. Now problem is in Gaussing blur. It takes 120 ms for 720*575 image. We wana it takes not more than 40-50 ms. I think only assembler realisation of algorithm can improve performance.
-
Flood fill of all image objects simultaneouslyEssentialy i do not need to fill objects. I need to know sizes and locations of objects in image. Image is an array of pixels (BYTE). I need simething like this: http://rsb.info.nih.gov/ij/docs/menus/analyze.html But here is too compound system and its makes too much unuseless calculations. And sources are on Java, and I wanna use it in vc++. This system find all object in one cycle, so its very quick. P.S. no, no more processes except quickfill and opera. i think its becouse memory in windows assignes in such way.
-
Flood fill of all image objects simultaneouslyYes, I've read your article, it's really good. But QuickFill makes floodfill only of one object. So, to fill 10 objects on the image i need to call quickfill 10 times. I wanna to fill theese 10 objects simultaneously, in 1 call. Because if i 10 times look for object, then fill them it takes too much time. John, i find 1 interesting thing. When i testing your programm, Opera brouser worked. And filling of one object takes 8 milliseconds. When i closing Opera, filling of 1 object takes 23 millisecondes:-)
-
Flood fill of all image objects simultaneouslyI have a BYTE array of pixels, which describes am image. Image is black - white. Pixels have 255 and 0 values. If pixels are white - this is object, black - background. I wanna know sizes and locations of all objects on image. If i use standart recursive floodfill algorithm for every object by turns it takes too much time to scan whole image, find object, use to object floofill and to get size and location of the object. Do anybody know fast algoritmh for simultaneously detecting of all objects on image(BYTE array)?