GPUImageCannyEdgeDetectionFilter on part of image
Hi,
I want to get details on part of image and based on selection is it possible to do it. That is to say : I want to have different blurFilter texelSpacingMultiplier applied to different section of image.
Thanks
It's not clear what you're asking. Are you looking to find contours or filled regions? Currently, there is no means of doing that within the framework, merely identifying edge pixels.
right now in GPUImageCannyEdgeDetectionFilter : GPUImageSingleComponentGaussianBlurFilter applies single texelSpacingMultiplier on entire image. What i would like to do is to split image in rectangular regions and apply different value of this variable in different region. Is it possible. So that i get more edges in one part of image and less in another.
I responded to what I believe was your question on Stack Overflow: http://stackoverflow.com/a/23523588/19679 with ways of accomplishing this,
Thanks Brad. I wrote custom shader for GPUImageGaussianBlurPositionFilter to work on a selected rectangle instead of radial. In CannyEdgeDetection form chain of such blurs over non intersecting regions instead of just one blur filter.