ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 RemoveIsolatedPixels - issue
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

graph_man

328 Posts

Posted - May 05 2017 :  06:22:10  Show Profile  Reply
Latest version of the command currently removes inclined lines.
Please fix this issue and remove only FULLY isolated pixels (by sides and corners).
Currently you remove also pixels contacted by corners.

graph_man

328 Posts

Posted - May 05 2017 :  06:45:15  Show Profile  Reply
Also I see this issue at using "RemoveNoise" command
In previous version "RemoveNoise" worked without issue.
Go to Top of Page

xequte

38611 Posts

Posted - May 07 2017 :  19:22:38  Show Profile  Reply
Hi

Please forward your test images.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

graph_man

328 Posts

Posted - May 07 2017 :  19:50:34  Show Profile  Reply
See attachment.

attach/graph_man/201757195450_test_bug.zip
749 Bytes
Go to Top of Page

xequte

38611 Posts

Posted - May 08 2017 :  02:01:10  Show Profile  Reply
Thanks, we will investigate.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

xequte

38611 Posts

Posted - May 08 2017 :  19:57:12  Show Profile  Reply
Hi

We cannot find any change in functionality in 7.0.0 that would affect this image.

If you set correct parameters then RemoveNoise will work as expected (in this case just set "invert" to true).

Here is a test that adds random noise to the test image, and then tries to remove it:

  imageenview1.io.loadfromfile('test_bug.tif');
  for i := 1 to 10 do
    imageenview1.IEBitmap.Pixels_ie1g[random(imageenview1.iebitmap.width), random(imageenview1.iebitmap.height)]:=false;
  imageenview1.update;

  imageenview1.Proc.RemoveNoise(8, true);





Nigel
Xequte Software
www.xequte.com
nigel@xequte.com

Go to Top of Page

graph_man

328 Posts

Posted - May 08 2017 :  20:04:34  Show Profile  Reply
1. My main question was about RemoveIsolatedPixels.
Currently it removes NOT ISOLATED pixels.

RemoveIsolatedPixels(1, Black) removes the entire line in my example.
Is it OK?

2. RemoveNoise(1) removes the entire line in my example.
Is it OK?

Go to Top of Page

graph_man

328 Posts

Posted - May 08 2017 :  20:08:17  Show Profile  Reply
See attachment 2

Go to Top of Page

xequte

38611 Posts

Posted - May 09 2017 :  22:53:47  Show Profile  Reply
Hi

We have an update available where you can exclude diagonal pixels with RemoveIsolatedPixels. You can email me for the source.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

graph_man

328 Posts

Posted - May 10 2017 :  14:42:20  Show Profile  Reply
Could you fix this issue to delete only isolated pixels (all sides and corners)?
See previous image.
Go to Top of Page

xequte

38611 Posts

Posted - May 10 2017 :  21:43:32  Show Profile  Reply
The update should fix this.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

RolandH

USA
1 Posts

Posted - May 15 2017 :  03:05:24  Show Profile  Reply
Thanks for the update.
Go to Top of Page

graph_man

328 Posts

Posted - May 16 2017 :  06:26:37  Show Profile  Reply
Thanks.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: