Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
From negative values to zero

Subject: From negative values to zero

From: Sandy

Date: 16 Dec, 2013 17:50:11

Message: 1 of 1

Hello,

I have an image A with -1024 as a minimum value and 250 as a maximum value.
I converted A to a binary image B by using im2bw function.
My question is: A(315,365) = -873, why B is equal to 0? but B(315,365) is a white pixel! How can I resolve this problem? because B is then used, it will be multiplied by another image C. With this prob, C(315,365) will be 0, which is not the case.

Hope that my question was clear.
Thank you,

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us