Histogram backprojection
Hi, I would like to add a feature on histogram backprojection as proposed by *Swain & Michael J.* in their paper *"Indexing via color histograms"*.. Earlier, I had written a simple article on that ( it was focussed for OpenCV) in my blog : http://opencvpython.blogspot.in/2013/03/histograms-4-back-projection.html. I can have some simple modification to it to integrate it into scikit-image. So I would like to know the opinion of senior developers on this proposal. Regards Abid K.
Hi Abid On Tue, Apr 9, 2013 at 6:40 PM, abid rahman <abidrahman2@gmail.com> wrote:
I would like to add a feature on histogram backprojection as proposed by Swain & Michael J. in their paper "Indexing via color histograms".. Earlier, I had written a simple article on that ( it was focussed for OpenCV) in my blog : http://opencvpython.blogspot.in/2013/03/histograms-4-back-projection.html.
For some reason, I get a blank blog entry page when I try to load that. Can anyone else see it? Stéfan
Doesn't scikit-image has a 2d convolution function like cv2.filter2D in OpenCV which enables convolution of an image (or any numpy array) with custom kernel ? On Tuesday, 9 April 2013 22:10:26 UTC+5:30, abid rahman wrote:
Hi,
I would like to add a feature on histogram backprojection as proposed by *Swain & Michael J.* in their paper *"Indexing via color histograms"*.. Earlier, I had written a simple article on that ( it was focussed for OpenCV) in my blog : http://opencvpython.blogspot.in/2013/03/histograms-4-back-projection.html.
I can have some simple modification to it to integrate it into scikit-image. So I would like to know the opinion of senior developers on this proposal.
Regards Abid K.
I believe we generally leverage the convolution tools in `scipy.ndimage`. On a high level, the scikit-image project is an extension toolkit for SciPy so we generally* don't reinvent the wheel. * there are always exceptions. On Wednesday, April 10, 2013 6:13:52 AM UTC-5, abid rahman wrote:
Doesn't scikit-image has a 2d convolution function like cv2.filter2D in OpenCV which enables convolution of an image (or any numpy array) with custom kernel ?
On Tuesday, 9 April 2013 22:10:26 UTC+5:30, abid rahman wrote:
Hi,
I would like to add a feature on histogram backprojection as proposed by *Swain & Michael J.* in their paper *"Indexing via color histograms"*.. Earlier, I had written a simple article on that ( it was focussed for OpenCV) in my blog : http://opencvpython.blogspot.in/2013/03/histograms-4-back-projection.html.
I can have some simple modification to it to integrate it into scikit-image. So I would like to know the opinion of senior developers on this proposal.
Regards Abid K.
Hi Josh Warner, Thanks for both your replies. It is fine with Fedora. I have started the work And In that case I will go on with SciPy functions available. But it makes another question : If scipy.ndimage is there and scikit is using scipy, what is the need of scikit-image ? scipy.ndimage itself is a good library. Regards On Thu, Apr 11, 2013 at 6:08 AM, Josh Warner <silvertrumpet999@gmail.com>wrote:
I believe we generally leverage the convolution tools in `scipy.ndimage`. On a high level, the scikit-image project is an extension toolkit for SciPy so we generally* don't reinvent the wheel.
* there are always exceptions.
On Wednesday, April 10, 2013 6:13:52 AM UTC-5, abid rahman wrote:
Doesn't scikit-image has a 2d convolution function like cv2.filter2D in OpenCV which enables convolution of an image (or any numpy array) with custom kernel ?
On Tuesday, 9 April 2013 22:10:26 UTC+5:30, abid rahman wrote:
Hi,
I would like to add a feature on histogram backprojection as proposed by *Swain & Michael J.* in their paper *"Indexing via color histograms"*.. Earlier, I had written a simple article on that ( it was focussed for OpenCV) in my blog : http://opencvpython.blogspot.** in/2013/03/histograms-4-back-**projection.html.<http://opencvpython.blogspot.in/2013/03/histograms-4-back-projection.html.>
I can have some simple modification to it to integrate it into scikit-image. So I would like to know the opinion of senior developers on this proposal.
Regards Abid K.
--
You received this message because you are subscribed to the Google Groups "scikit-image" group. To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
-- Abid K. opencvpython.blogspot.com
On Wed, 10 Apr 2013 04:13:52 -0700 (PDT) abid rahman <abidrahman2@gmail.com> wrote:
Doesn't scikit-image has a 2d convolution function like cv2.filter2D in OpenCV which enables convolution of an image (or any numpy array) with custom kernel ?
Convolution can be done in Fourier space, especially if the kernel is large ... I do that often, especially on nvidia GPU where FFT is for free. I will have a trainee working on more generic 2D convolutions using OpenCL, this summer. Cheers, -- Jérôme Kieffer <google@terre-adelie.org>
On Apr 11, 2013 8:49 PM, "Jérôme Kieffer" <google@terre-adelie.org> wrote:
On Wed, 10 Apr 2013 04:13:52 -0700 (PDT) abid rahman <abidrahman2@gmail.com> wrote:
Doesn't scikit-image has a 2d convolution function like cv2.filter2D in OpenCV which enables convolution of an image (or any numpy array) with custom kernel ?
Convolution can be done in Fourier space, especially if the kernel is
large ... I do that often, especially on nvidia GPU where FFT is for free. SciPy also provides fftconvolve, for what it's worth. Looking forward to seeing those opencl codes! (We have to reopen the backend discussion soon) Stéfan
Hi, I have sent a pull request for Histogram backprojection ( sorry for being a little late, It is "exam season" for me in this month). Please review the request and let me know if any modifications to be done ( as this is my first pull request to scikit-image) Regards On Tuesday, 9 April 2013 22:10:26 UTC+5:30, abid rahman wrote:
Hi,
I would like to add a feature on histogram backprojection as proposed by *Swain & Michael J.* in their paper *"Indexing via color histograms"*.. Earlier, I had written a simple article on that ( it was focussed for OpenCV) in my blog : http://opencvpython.blogspot.in/2013/03/histograms-4-back-projection.html.
I can have some simple modification to it to integrate it into scikit-image. So I would like to know the opinion of senior developers on this proposal.
Regards Abid K.
Hi Abid On Tue, Apr 16, 2013 at 3:54 PM, abid rahman <abidrahman2@gmail.com> wrote:
I have sent a pull request for Histogram backprojection ( sorry for being a little late, It is "exam season" for me in this month). Please review the request and let me know if any modifications to be done ( as this is my first pull request to scikit-image)
Thanks for the PR! As you'll notice, you've already had feedback from two of us. We typically use the PR as a place to converse about the code until it reaches a state where it can be incorporated into the project. Stéfan
participants (4)
-
abid rahman
-
Josh Warner
-
Jérôme Kieffer
-
Stéfan van der Walt