
Create a logger Pass a message with level = debug and log it Pass a message with level = info and log it Pass a message with level = error and log it Here debug < info < error … level wis
me1237guy 發表在 痞客邦 留言(0) 人氣(26)

Today I am going to show you another way to implement the example demonstrated in the last episode about command pattern. Here is the UML diagram for command pattern and it will be implemented as usual in C#. This time Command block is about to become an abstract class, and LightOnCommand is one of its concrete commands.
me1237guy 發表在 痞客邦 留言(0) 人氣(15)

http://felix.abecassis.me/category/opencv/ References: 1. Barcode Reading with Open CV
me1237guy 發表在 痞客邦 留言(0) 人氣(129)

The following is an example[1] of image blending, which seamlessly combines two different images by using the mask of itself. About half a year ago, I studied something about how to mange multiple ROIs(region of interest) as shown below. Today I am planing to combine both of them in order to meet my new requirements.
me1237guy 發表在 痞客邦 留言(0) 人氣(160)
1: interface IWeapon
2: { 3: void Use();
4: }
me1237guy 發表在 痞客邦 留言(0) 人氣(65)

GateState interface:
me1237guy 發表在 痞客邦 留言(0) 人氣(130)

A. Iterator:
1: interface Iterator
2: { 3: object First();
4: object Next();
5: bool IsDone();
6: object CurrentItem();
7: }
me1237guy 發表在 痞客邦 留言(0) 人氣(27)

This tutorial is about composite pattern
, which is my thoghts after watching the tutorial created by Christopher Okhravi.
me1237guy 發表在 痞客邦 留言(0) 人氣(21)

ImageProcessor portion:
1: namespace TemplateMethodConsole
2: { 3: abstract class ImageProcessor
4: { 5: public void ProcRoutine()
6: { 7: Input();
8: ImageProc();
9: Output();
10: }
11: public virtual void Input()
12: { 13: Console.Write("Load file: "); 14: }
15: public virtual void ImageProc()
16: { 17: Console.Write("Image processing: "); 18: }
19: public virtual void Output()
20: { 21: Console.Write("Output file: "); 22: }
23: }
24: }
me1237guy 發表在 痞客邦 留言(0) 人氣(22)

LongFormArtistResource: (A, 1) LongFormBookResource: (A, 2) ShortFormArtistResource: (B, 1)
me1237guy 發表在 痞客邦 留言(0) 人氣(19)