
To-do list: In this case, I am planing to put an image onto a RectROI object. The pixel size of the scenery image is not necessarily equal to that of a RectROI object. Instead the image size is variable and capable of adaptive to any size you set .
me1237guy 發表在
痞客邦
留言(0)
人氣()

Today I reveiewed Observer Pattern – Design Pattern (Using C#) and have finished watching Observer Design Pattern tutorial.
As usual, I implemented the example in C# instead of JAVA.
me1237guy 發表在
痞客邦
留言(0)
人氣()

What is the Visitor Design Pattern ? 1. Allows you to
add methods to classes of different types without much altering to these classes. 2. You can
make completely different methods depending on the class used.
me1237guy 發表在
痞客邦
留言(0)
人氣()
A useful tutorial that help you understand about Interpreter Pattern. 008 Interpreter Pattern Another useful stuff about Interpreter Pattern, but the speaker hadn`t used C# for implementation. The Interpreter Pattern Revisited
me1237guy 發表在
痞客邦
留言(0)
人氣()

What is flyweight pattern? 1. Used when you need to create a large number of similar objects 2. To reduce memory usage you share objects that are similar in some way rather than creating new ones Now we are going to create a lot of rectangles with specific Intrinsic State: Color <---- which all of the rectangle objects are going to share in order to get the
me1237guy 發表在
痞客邦
留言(0)
人氣()

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)
人氣()

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)
人氣()

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

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)
人氣()
1: interface IWeapon
2: { 3: void Use();
4: }
me1237guy 發表在
痞客邦
留言(0)
人氣()

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

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