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 9311059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T01:16:10+00:00 2026-06-19T01:16:10+00:00

HI all I am new to Matlab Image Processing toolbox, I really cannot decide

  • 0

HI all I am new to Matlab Image Processing toolbox, I really cannot decide to use between

im2bw(gray_image, level); 
gray_image < 0.5; ?

for im2bw(gray_image, level); level we can use the the value 0.5 or other value too?

Could anyone please explain me, If I want to Threshold a gray image, which one is better if I want to adjust the threshold level myself ?

If it is the same please kindly tell me thank…

  • 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-19T01:16:11+00:00Added an answer on June 19, 2026 at 1:16 am

    As the im2bw documentation says:

    Specify level in the range [0,1]. This range is relative to the signal levels possible for the image’s class. Therefore, a level value of 0.5 is midway between black and white, regardless of class

    This makes it slightly more flexible/convenient than image < level; depending on how you obtained the image, the values might be in the range 0-255, in which case your alternative would not give the desired result. Otherwise they are equivalent.

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

Sidebar

Related Questions

I'm all new to Matlab and I'm supposed to use this function to find
I am new to Matlab and to Image Processing as well, I know we
I am all very new to this and am trying to use extended hex
I am brand new to MATLAB but am trying to do some image compression
I'm new with Matlab. I hope you can help me. I have to solve
im all new to framework. so the structure of code igniter looks like: system
How would you normalize all new-line sequences in a string to one type? I'm
What I want: Update all new commits from server with my local repository in
We are trying to get the Model-View-Presenter pattern used on (virtually) all new dev
I've been using ShowDialog() in following way for all my new Windows. SomeGui test

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.