New Post

Poplar Optimization Algorithm || Step-By-Step || ~xRay Pixy

Image
The Poplar Optimization Algorithm (POA) is a nature-inspired optimization method based on how poplar trees reproduce. It uses sexual propagation (seed dispersal by wind) for exploration and asexual reproduction (cutting and regrowth) for exploitation. Mutation and chaos factors help maintain diversity and prevent premature convergence, making POA efficient for solving complex optimization problems. Learn the Poplar Optimization Algorithm Step-By-Step using Examples. Video Chapters: Poplar Optimization Algorithm (POA) 00:00 Introduction 02:12 POA Applications 03:32 POA Steps 05:50 Execute Algorithm 1 13:45 Execute Algorithm 2 16:38 Execute Algorithm 3 18:15 Conclusion Main Points of the Poplar Optimization Algorithm (POA) Nature-Inspired Algorithm ā€“ Based on the reproductive mechanisms of poplar trees. Two Key Processes : Sexual Propagation (Seed Dispersal) ā€“ Uses wind to spread seeds, allowing broad exploration. Asexual Reproduction (Cuttings) ā€“ Strong branches grow ...

Nicholl - Lee Nicholl (NLN) Line Clipping in Computer Graphics

 In the Cohen-Sutherland method, multiple intersections may be calculated along the path of a single line before an intersection on the clipping rectangle or line is completely rejected. 

In Nicholl - Lee Nicholl Line Clipping, Extra intersection calculations are eliminated. 

ADVANTAGE OF Nicholl - Lee Nicholl (NLN) Line Clipping

1.) The number of clipping points is reduced to one, compared to other algorithms that may require two or more clipping. 

2.) Nicholl - Lee Nicholl (NLN) Line Clipping is FAST. Clipping algorithms for Circle, Curved boundary clipping regions are SLOWER because intersections calculations involve nonlinear curve equations. 

3.)  Nicholl - Lee Nicholl (NLN) Line Clipping avoids multiple clipping of Line segments. 

4.) As Compare to Cohen Sutherland and Liang-Barsy Nicholl - Lee Nicholl Line Clipping performed fewer comparisons.  

How Nicholl - Lee Nicholl Line Clipping works? 

Nicholl - Lee Nicholl Line Clipping, uses symmetry to categorize endpoints into one of the three regions. straight line segments are drawn from the line end point, passing through the corners of the clipping window. 

What are the three regions used by Nicholl - Lee Nicholl Line Clipping for endpoints?

   1.) The point inside the Clip Window


   2.) A point in an Edge region.


   3.) A point in the Corner region.

NOTE: If Point lies in any one of the other 6 regions, we can use symmetry transformation to move it.

CASE 1. If the point (P1) is Inside the Clip Window and Point (P2) is outside. 

Then the intersection with the appropriate window boundary is carried out depending on which one of the four regions L(Left), R(Right), T(Top), and B(Bottom) contains P2.

For Example: Check this diagram given below - 

CASE 2. If P1 is in the region to the left of the window.

In this case, 4 regions used to determine a unique boundary for the line segment: L, LT, LR, and LB.

If Point P2 is in the region L, Clip the line at the left boundary and save the line segment from the intersection point to p2.  

If Point P2 is in the region LT, save the line segment from the left window boundary to Top boundary.

NOTE: If the point is not in any of the 4 regions, The Entire Line is Clipped. 





Comments

Popular Post

PARTICLE SWARM OPTIMIZATION ALGORITHM NUMERICAL EXAMPLE

Cuckoo Search Algorithm for Optimization Problems

Particle Swarm Optimization (PSO)

PSO (Particle Swarm Optimization) Example Step-by-Step

PSO Python Code || Particle Swarm Optimization in Python || ~xRay Pixy

how is the LBP |Local Binary Pattern| values calculated? Step-by-Step with Example

Whale Optimization Algorithm Code Implementation || WOA CODE || ~xRay Pixy

Grey Wolf Optimization Algorithm

Grey Wolf Optimization Algorithm Numerical Example

Bat algorithm Explanation Step by Step with example