Questions tagged [segment]

Segment is an ambiguous tag and one should refrain from using it. It has several, very different, meanings in CS. Please try and pick a more accurate tag for your post.

  • Segmentation (memory), the division of computer memory into segments
  • Image segment created in computer vision
  • String segment, the substring of a pattern delimited by two don't cares or one don't care and beginning or end of the pattern
  • Network segment, a part of a larger computer network
  • A protocol data unit of the transport layer in computing, e.g. TCP segment
625 questions
0
votes
1 answer

Codeigniter: Getting a uri string without the first segment

I have some code in Codeigniter where I have the language code in the first segment of the URI, and I would like to know how to obtain a URI string without the first segment independently of the number of segments the URI might have. Example: Having…
António Cabral
  • 69
  • 1
  • 12
0
votes
0 answers

Where are the code segments stored in memory

I cannot find a clear answer for where the different segments (based on Wikipedia) are actually stored in memory (e.g. for pic32). Data Segment (Data + BSS + Heap) : RAM? Stack : RAM? Code segment …
bup the broker
  • 171
  • 3
  • 9
0
votes
1 answer

Google Analytics - dynamic segment with conditions api

I have a segment in GA that does the following.... It is a conditional segment Filter Sessions Exclude Network Domain - exactly Matched - unknown.unknown AND medium - exactly matches - (none) AND Country/Territory - matches regex - united\…
0
votes
2 answers

Why don't use IP fragment/combine to tackle UDP maximum segment size?

We know that UDP has a max segment size (65,507 bytes) due to size limit of a single IP packet, but IP also has a fragment/recombine feature, so why doesn't network layer use this feature to tackle oversize UDP segment? That is, when a UDP segment…
wangshuaijie
  • 1,821
  • 3
  • 21
  • 37
0
votes
2 answers

URL routing in an MVC framework - PHP

I'm developing an MVC framework in PHP from scratch; mostly for the learning experience but this could easily end up in a live project. I went through this tutorial as a base and I've expanded from there. Requests are made like…
Walderman
  • 132
  • 3
  • 5
0
votes
1 answer

Matlab: find the length of longest substring in sequence

In matlab: I want to find the length of longest i-segment in the sequence for i ∈{H,E }. Example: HHHCCEEECCCHHHHCCCCC lengh of longest H-segment in sequence is: 4 How should i do this?
0
votes
1 answer

Using segments to compartmentalize custom link clicks within a specific site section in Adobe Analytics - formerly Omniture SiteCatalyst

Background My group recently set up several custom links, using an onclick handler with the s.tl function, on a particular page (we'll call it page A) in our website. Functionality was validated via Fiddler, Clickstream Data Feed and in Reports and…
Art
  • 88
  • 1
  • 8
0
votes
1 answer

OpenCV Hierarchy Cell Segmentation

I have seperated two types of cell with Matlab, however I have created all my codes by using OpenCV. With OpenCV I used this code to label my cell with its hole : for( int j = 0; j< contours_cropped.size(); j=hierarchy[j][0] ) { if(…
ayciceksamet
  • 73
  • 10
0
votes
1 answer

Segment A Picture In Opencv

i using c++ with opencv, i can't do segment pictures like this: (sorry for my english) PICTURE 1 PICTURE 2 i want segment the sheet, removing the background located at the edges. i trying use "watershed" to locate the position of the sheet, but had…
0
votes
2 answers

Code, static, stack and heap segments implementation

I know the purpose of every segment, but I was wondering who actually implements them in languages such as c or c++? Are they written by the c/c++ compiler programmers when they write the implementation of the language? Or are these segments…
Kami
  • 1,079
  • 2
  • 13
  • 28
0
votes
1 answer

Map Route Direction Zoom to Segment

Basically I am trying to zoom to certain route segment when getting direction on OneMap. Here is the JavaScript codes where I trying to plot a route and zoom to certain route segment: function getDirections() { var routeData = new Route; var from =…
user2531590
0
votes
1 answer

point in polygon with segement intersection java

i'm looking for a algorithm to test if a point is lying inside or outside of a polygon (in our case we're interested whether the point is lying outside of the minimum bounding box of a polygon). We had an idea to test if a segment of the point has…
patriice
  • 39
  • 2
  • 6
0
votes
2 answers

ELF second load segment address of .data + .bss

In this case, is right that address of: .data start at 0x08048054 up to 0x08048054+0x0000e .bss start at 0x08048054+0x0000e up to 0x0804805+0x00016 or am I missing something? please clarify it for me. EDIT I used this command to get the…
The Mask
  • 17,007
  • 37
  • 111
  • 185
0
votes
1 answer

Order of applying band-pass filtering, normalization, segmentation

My purpose is to obtain several successive segments that are already band-pass filtered, centered and scaled from original signal in Matlab. I have some ways to do this I apply Butter-worth and then I normalize by using X-mean(X) for zero mean,…
Bryan
  • 1,477
  • 1
  • 21
  • 38
0
votes
1 answer

CodeIgniter URL Function Segment as Query String

Is there a way without changing the whole configuration of CodeIgniter to get the URI segment for function ($this->uri->segment(2)) as a regular query string instead of being directly mapped to a function? For example, I would be forced to have a…
polymorph
  • 79
  • 9