Wednesday, July 16, 2014

Digital Image Processing: Manipulate a digitalized image using a computer.Digital Image Editing: Manipulation of digital images using an existing software application such as Adobe Photoshop or Corel PaintPixel: The smallest addressable unit of an image.Histogram: Frequency distribution of image intensities.

Monday, July 7, 2014

AI: Artificial intelligence(AI) is the study of how to make computer do things which, at the moment, people do better.

AI TECHNIQUE: AI technique is a method that exploits the knowledge

STATE SPACE:It contains all the possible configurations of the relevant object.

STATE SPACE SEARCH: Define a problem as states and search the solutions by starting with a initial state, using set of rules moving one state to another and attempting to end up in one of a set of final states

INITIAL STATES : Specify one or more states within the state space that describe possible situations to start problem-solving process

GOAL STATES : Specify one or more states that would be acceptable as solution to the problem

Do....While loop Do while loop is similar to the while loop. The different thing is in while loop before executing the code check the condition. But in do while loop after executing the code check the condition. Basic Syntax:do { //statements } while(expression); Example:public class DoWhileLoop { public static void main(String args []) { int x=1; do { System.out.println(x); x++; }while(x<10); } }You can get the answer like this..

To insert data into MongoDB collection, you need to use MongoDB's insert() or save()method.
Basic syntax of insert() command is as follows:
db.COLLECTION_NAME.insert(document)
To query data from MongoDB collection, you need to use MongoDB's find() method.
Basic syntax of find() method is as follows
db.COLLECTION_NAME.find()
To display the results in a pretty way, you can use pretty() method.
SYNTAX:
db.mycol.find().pretty()
Apart from find() method there is findOne() method, that reruns only one document.