Z-Clive / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 0 forks source link

OilPainting filter partialy processes image #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. OilPainting.Apply(Bitmap)
2.
3.

What is the expected output? What do you see instead?
Returned Bitmap is usually only partially filtered (20% - 40%).
The remaining portion is solid black.

What version of the product are you using? On what operating system?
1.4.2
XP
Vista

Please provide any additional information below.

 void OilPaintingNode_DoProcessing(object sender)
 {
     //process image if xinput contains data
     if (xinput.Data != null)
     {
         OilPainting oip = new OilPainting();

         //set brush size if bsize contains data
         if (bsize.Data != null)
         {
             oip.BrushSize = (int)bsize.Data;
         }

         outpin.Data = oip.Apply((Bitmap)xinput.Data);

         if (UINode != null)
         {
             UINode.BackgroundImage = (Bitmap)outpin.Data;
         }
     }
 }

Original issue reported on code.google.com by johnnylo...@gmail.com on 23 Aug 2007 at 6:56

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 24 Aug 2007 at 4:07

GoogleCodeExporter commented 9 years ago
The image was not partially filtired, but was filled with wrong color. 
Corrected 
intensities array cleaning.

Fixed in revision 329.

Q: Could you wait for release or would you like a to get a fix urgently?

Original comment by andrew.k...@gmail.com on 24 Aug 2007 at 4:10

GoogleCodeExporter commented 9 years ago
I can wait for the release.  Thank you though.

Original comment by johnnylo...@gmail.com on 24 Aug 2007 at 5:21

GoogleCodeExporter commented 9 years ago
When the revision 329 release published?

Original comment by hushaom...@gmail.com on 8 Sep 2007 at 2:51

GoogleCodeExporter commented 9 years ago
Revision 329 means SVN revision. The fix is already in source control. If you 
check 
out development trunk and build it, then you will get it. If you need a 
release, 
then you need to wait for some time.

Original comment by andrew.k...@gmail.com on 8 Sep 2007 at 3:35

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 18 Feb 2008 at 12:37

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 19 May 2008 at 6:08