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

  • Home
  • SEARCH
  • 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 8999259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:09:22+00:00 2026-06-16T00:09:22+00:00

I am new at Image Processing. Now, I am studying on Laplacian Sharpening Methods.

  • 0

I am new at Image Processing.

Now, I am studying on Laplacian Sharpening Methods. But there is a thing that I could not understand. I hope you can help me.

As you all know, sharpened images occur when we add laplacian filtered image to original image.

But after getting laplacian filtered image my reference book scales this laplacian filtered image for display purposes and get a greyish image. And add this greyish one to the original image and in conclusion get a sharpened image.

My problem is how can I get this greyish image.

Here is my code:

image1=imread('hw1image1.tif');
m=[1 1 1; 1 -8 1; 1 1 1];
f1=imfilter(image1,m);
r=image1-f1;
subplot(1,3,1);
imshow(image1);
subplot(1,3,2);
imshow(f1);
subplot(1,3,3);
imshow(r);

f1 is laplacian filtered image. But it is not greyish as you all know. How can I get this greyish one?

Edit:

https://i.stack.imgur.com/RMz1b.jpg (1st one original picture, 2nd greyish one, 3rd sharpened image)

Thank you for your help.

  • 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-16T00:09:23+00:00Added an answer on June 16, 2026 at 12:09 am

    try

    imshow( f1, [] ); title('Laplacian filtered image');
    

    Adding [] in imshow should scale the grey level image, and you should see the greyish result you are aiming at.

    EDIT :

    Another thing that may cause issues is the data type of your image. If your image is stored as uint8 type, than it will not have negative values (because of the unsigned type).

    try:

    img = im2double( image1 ); % convert image from uint to double
    f1 = imfilter( img, m );
    figure; imshow( f1 ); title( 'Laplacian filtered image' );
    r = img - f1; % perform the image editing with double precision variables and NOT with unsigned ints.
    r = im2uint( r ); % if you have to -cast only the final result to unsigned ints.
    

    As a general principle, always perform image manipulation on floating-point images and refrain from doing manipulations on unsigned int images.

    If you have no choice (hardware / memory constraints) and you must perform manipulations using unsigned int images – bear in mind that negative values are not represented and large values are cropped. Your manipulation should be able to handle these cases.

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

Sidebar

Related Questions

i'm new to image processing and opencv, but so far the easy to understand
I'm pretty new to Image Processing and found out that the FFT convolution speeds
I am new to the image processing.I want to know that how i can
I am quite new to image processing and I am looking for a solution
image naturalWidth return zero... that's it, why ? var newimage = new Image(); newimage.src
I am new to Image Processing and Machine Vision. I am going to write
I'm trying to do image processing on wp7, and now i finished convertImagetoBytes and
I'm new to OpenCV and image processing in general. I have photos taken with
While i was doing some image processing, i found out that GD and Imagick
I'm working on a WinRT app that should require some image processing. I've done

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.