changing a picture into black and white and grayscale error message

Posted on 2009-04-20
Medium Priority
Last Modified: 2013-11-25
I am studying the Imaging Processing Toolbox tutorial and under the 'Example 2  Advanced Topics' chapter, everything is fine until I get to 'Step 5: Adjust the Contrast in the Processed Image'. I get the following error;

??? Error using ==> imadjust>parseInputs at 212
IMADJUST(I) is only supported for 2-D grayscale images.

Error in ==> imadjust at 98
[img,imageType,lowIn,highIn,lowOut,highOut,gamma] = ...

when I enter I3=imadjust(I2);

Can someone please advise why this is?
I am trying to change the picture below into black and white and grayscale
What does this mean
Question by:jtiernan2008
1 Comment

Accepted Solution

jtiernan2008 earned 0 total points
ID: 24189460
figured it out :)

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Navigation is an important part of web design from a usability perspective. But it is often a pain when it comes to a developer’s perspective. By navigation, it often means menuing. This is less theory and more practical of how to get a specific gro…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Suggested Courses
Course of the Month14 days, 5 hours left to enroll

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question