
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
Final pester i promise :p Have i said thankyou for all your help by the way??? if not...thankyou very much for your time and paitience. Can we just go back to the origanal edge detector..... // allocate working array double* pWork = new double [my_image.width * my_image.length]; why the pointer?? couldn't you use a standard array and force the data from a double to an int? As i said thx again "Roger Rowland" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > Maybe - > > "Image Processing, Analysis and Machine Vision" > Milan Sonka, Vaclaw Hlavac & Roger Boyle > ISBN 0-534-95393-X > > > ------------------------------------------------------ > EMail: roger dot rowland at rmrsystems dot co dot uk > "DaveWilson" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > I think i'm gonna need a good book on this after all :p > > > > Any sugestions??? > > > > > > "Roger Rowland" <[EMAIL PROTECTED]> wrote in message > news:<[EMAIL PROTECTED]>... > > > "DaveWilson" <[EMAIL PROTECTED]> wrote in message > > > news:[EMAIL PROTECTED] > > > > so if that code uses the low pass filter (1 1 1) (1 1 1) (1 1 1) > > > > smooths > > > > why doesn't (0 1 0) (1 -4 1) (0 1 0) sharpen the image? according to > > > > sources i've found that filter applied in the same manner should > > > > sharpen an image? > > > > > > > > > > > > > > > > > Except that it isn't applied in the same manner. The scaled result of > the > > > high-pass filter should be *added back* to the original pixel value at > that > > > position to sharpen the image. In the previous examples, the output of > the > > > filter *replaces* the original value. > > > > > > > > > ------------------------------------------------------ > > > EMail: roger dot rowland at rmrsystems dot co dot uk
| <-- __Chronological__ --> | <-- __Thread__ --> |