speed up

Dec 4, 2011 at 4:56 PM


a good image finder!

I tried to compile the project in vs10 .net4. I got a runtime error trying to delete a similar image.

I changed the following line(bold) in source and destination:

            var sim = (SimilarityImages)imagesDataGridView.SelectedRows[0].DataBoundItem;
            DeleteImageDelegate deleteImageDelegate = DeleteImage;
            imagesDataGridView.Enabled = false;

and it works.

Using it with 1000 images or more the programm works endless after deleting a doublet.

After working with similiarity about 90% all neccessay doublets are found quickly.

            for (var i = 0; i < comparableImages.Count - 1; i++)
                for (var j = i + 1; j < comparableImages.Count; j++)
                    if (exit)

                    var source = comparableImages[i];
                    var destination = comparableImages[j];
                    var similarity = source.CalculateSimilarity(destination);
                    var sim = new SimilarityImages(source, destination, similarity);
                    if (similarity > 0.9) // seek images with similarity > 90%

                      Invoke(updateOperationStatusDelegate, new object[] { "Compared images", workingLabel, workingProgressBar, index, operationStartTime });

Nov 20, 2013 at 2:15 AM
Sorry, I have never tried deleting image. But I find a good solution to conveniently delete one page from PDF document using a free tool. This supports a variety of PDF file editing features including deleting page using Visual Basic .NET programming language. You may get some useful information from this guide.