Conventions used
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Now, detectEdges is exposed to the graphical user interface, to detect edges, and it takes two inputs: the colored image, bufferedImage, and the filter selected by the user, selectedFilter."
A block of code is set as follows:
package ramo.klevis.ml;
import javax.imageio.ImageIO;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
public class EdgeDetection {
Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "So if we take the block highlighted in the screenshot, we'll multiply 1 by 255, add 0 multiplied by 255, and then subtract 1 multiplied by 255."