Git Product home page Git Product logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 18, 2024
Is this issue still open?

Would this be rectangular regions of an image (i.e. child regions), regions 
using a
binary masks or regions constructed some other way?

Original comment by [email protected] on 29 Jun 2007 at 2:59

from aforge.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 18, 2024
Yes, it is still an issue. Potentially the library allows to do this using 
Masked 
filter. But in some cases it is required to apply filter directly to specified 
rectangular region without any extra processing with masks. 

Original comment by [email protected] on 30 Jun 2007 at 4:43

from aforge.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 18, 2024
I've been looking through the code and I'm happy to implement the added feature 
so 
that you can apply filters directly to rectangular/child regions. Are you happy 
for 
me to go ahead and do this.

I was wondering what you though would be the best approach, what about it I 
made 
another overloaded verrsion of hte Applyfilter() funciton that takes 2 points 
as 
extra parameters, the top-left and bottom-right of the region.

Then in each filter function would use the points in it's main loop so rathern 
than

for (x = 0; x < width; x++)
    for (y = 0; y < height; y++)

if would be changed to

for (x = xStartPosn; x< xEndPosn; x++)
  for (y = xStartPosn, y< yEndPosn; y++)

I know some filters might need to work with some pixels just outside the ROI, 
to 
make sense, or maybe this could be an option.

Would this be a sensible solution or is there a better way of implementing it?

Original comment by [email protected] on 10 Jul 2007 at 11:35

from aforge.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 18, 2024
I've been thinking about similar solution. It is rather close in TODO list, 
just did 
not have time yet for it. But I would create additional interface, which should 
be 
implemented by base classes first of all and then by image processing filters. 
Potentially base classes could do some work as well (or at least do 
initialization). 
Also, don't forget that we have as "in place" filters, as filter, which produce 
new 
image ...

If you would like, you can try to this. Then I could review and merge it with 
trunk.

Original comment by [email protected] on 10 Jul 2007 at 10:25

from aforge.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 18, 2024
The work on this issue was start and some commits were done to source control. 
New 
IInPlacePartialFilter interface is provided and new base class for color 
filters is 
provided at this moment. Sample filters, which demonstrate the idea, are Sepia 
and 
RotateChannels.

Original comment by [email protected] on 21 Aug 2007 at 4:30

  • Changed state: Started

from aforge.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 18, 2024
The issue is fixed by presenting new IInPlacePartialFilter interface. New base 
classes are added. Filters, which support partial filtering, were updated to 
support 
new interface.

The list of updated filters can be found in release notes of 1.5.0 version.

Original comment by [email protected] on 16 Sep 2007 at 5:16

  • Changed state: Fixed

from aforge.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 18, 2024

Original comment by [email protected] on 18 Feb 2008 at 12:34

  • Changed state: Verified

from aforge.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 18, 2024

Original comment by [email protected] on 19 May 2008 at 6:07

  • Changed state: Released

from aforge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.