Comments (8)
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.
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.
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.
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.
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.
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.
Original comment by [email protected]
on 18 Feb 2008 at 12:34
- Changed state: Verified
from aforge.
Original comment by [email protected]
on 19 May 2008 at 6:07
- Changed state: Released
from aforge.
Related Issues (20)
- FindHull Integer overrun HOT 2
- GetPinCapabilitiesAndConfigureSizeAndRate() does not release streamConfig HOT 1
- problems with 3 cameras HOT 2
- NewFrame event doesn't fire after stop and start again in Windows service HOT 4
- ignoring 12bit Videoformat fails ... obviously a typo <= instead of >= HOT 1
- ProcessImage support for 32bpp
- GC.KeepAlive for UnmanagedImages HOT 2
- Subtraction of double with Complex has wrong output HOT 1
- Access Violation in Clone() for ROI subimage aligned with bottom of original image
- Keep Aspect Ratio HOT 1
- Add Deep Reinforcement Learning to MachineLearning namespace
- Export to GitHub HOT 4
- Missnig packages on NuGet HOT 1
- Patch for memory leak in Video.FFMPEG's VideoFileWriter::Close() HOT 1
- Optional standard gradient calculation in Sobel filter
- getting timestamp with avireader method
- AForge.Net VideoCaptureDevice.VideoCapabilities doesn't work.
- Convolution filter with threshold doubles frequency of 'zero' values
- "ApplyMask" and "MaskedFilter" filters doesn't work correctlly HOT 6
- POSIT does not properly offset Z axis.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aforge.