Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9152949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:10:42+00:00 2026-06-17T12:10:42+00:00

I am using .NET AForge libraries to sharpen and image. The Sharpen filter uses

  • 0

I am using .NET AForge libraries to sharpen and image. The “Sharpen” filter uses the following matrix.

 0  -1   0
-1   5  -1
 0  -1   0

This in fact does sharpen the image, but I need to sharpen the image more aggressively and based on a numeric range, lets say 1-100.

Using AForge, how do I transform this matrix with numbers 1 through 100 where 1 is almost not noticeable and 100 is very noticeable.

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T12:10:43+00:00Added an answer on June 17, 2026 at 12:10 pm

    The one property of a filter like this that must be maintained is that all the values sum to 1. You can subtract 1 from the middle value, multiple by some constant, then add 1 back to the middle and it will be scaled properly. Play around with the range (100 is almost certainly too large) until you find something that works.

    You might also try using a larger filter matrix, or one that has values in the corners as well.

    I would also suggest looking at the GaussianSharpen class and adjusting the sigma value.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using .NET's Office interop libraries, does anybody know the best way to convert back
I need to do some thresholding for my image. The threshold filter function just
Using .Net, I need to generate a response based on only the checkboxes on
When using .net remoting, does the server limit incoming client remoting calls? I find
i'm trying to setup motiondetection using the AForge.NET framework. I'm using the information provided
Using .NET 3.5, but the Select call gives the error. Shouldn't the compiler be
when using .net classes, there are cases when we don't need parenthesis to pass
Im using .net c# MVC3 Model. I need to show a gif called loading
I met Tasks using .NET Framework 4.5 (with async and await) and I need
using .NET Clipboard API you can write following code: //dataObject - instance of IDataObject,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.