The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 802 - File: showthread.php PHP 7.4.12 (Linux)
File Line Function
/showthread.php 802 errorHandler->error

Post Reply 
Marching Squares
11-15-2014, 05:57 PM (This post was last modified: 11-15-2014 08:28 PM by ThatGuyCraig.)
Post: #1
Marching Squares
What's a good way to deal with inner contours when using marching squares?
Right now for my first point, I scan through the nrrd data until I hit a value that falls below the cutoff point. Once I hit this value I call my marching squares function at that point. Afterwords, I scan again until I hit a value above cutoff value. Once this value is hit, marching squares is called on this edge and I continue scanning until I hit another value below then cutoff value, repeating the process over and over again until I reach the end of the data. This seems to yield pretty good results, but is extremely slow and inefficient.

Results can be seen here. (Isovalue is 50% of maximum.)
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
Marching Squares - ThatGuyCraig - 11-15-2014 05:57 PM
RE: Marching Squares - accidental_PhD - 11-18-2014, 09:56 AM
RE: Marching Squares - shaoyuspace - 11-18-2014, 05:28 PM
RE: Marching Squares - accidental_PhD - 11-19-2014, 05:31 PM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)