Questions tagged [boundary]

481 questions
2
votes
3 answers

Boundary fill java causing stackOverflow

i am trying to implement a simple application with the boundary fill algorithm in java and each time i am getting a stackoverflow error and i don't know why. from the post i have seen, i believe it is because of the Robot. here is the code import…
Tarounen
  • 1,119
  • 3
  • 14
  • 25
2
votes
0 answers

Setting a custom boundary for Python requests file uploads

Using the TinEye API requires setting a custom multipart boundary on requests. I can do that with urllib3, but I'd prefer doing that with Python requests. For urllib3, calling the TinEye API looks like that: from hashlib import sha1 from PIL import…
Simon Steinberger
  • 6,605
  • 5
  • 55
  • 97
2
votes
2 answers

Extracting boundary line from Image in R

So I got some kind of cross section picture in jpg format I want to work with. For better understanding I just drew a picture, hopefully symbolising well enough kinda how the real pictures will look like: At the top of the picture is material A, at…
Mmadsen
  • 21
  • 1
2
votes
1 answer

relabeling pixels based on distance between object's centerline and boundary

I've a binary image containing an object as illustrated in the figure below. The centerline of the object is depicted in red. For each pixel belonging to the object, I would like to relabel it with a color. For instance, pixels whose orthogonal…
2
votes
1 answer

Eliminating all the 2D datapoints outside an ellipse

I have a n x 2 array from flow cytometry data representing forward scatter and side scatter for a cell (there are n cells). These values represent physical characteristics of the cells and I wish to filter the cells. When plotted as a scatter plot,…
Lee Sande
  • 457
  • 5
  • 15
2
votes
2 answers

Jersey ApacheConnector MultiPart file upload - no multipart boundary was found

I hope someone can help, I've written a client to my spring webmvc app, for the client I am using jersey and the ApacheConnector. I need to keep the jsessionid and can't see how I can do that with jersey's HttpUrlConnector. I should also mention…
Frith
  • 21
  • 2
  • 4
2
votes
1 answer

Highlighting boundaries of certain shapes in a binary image in MATLAB

I have a task that requires analyzing an image filled with colored shapes and highlighting the blue circles in the image. To do this, I have split the image into its RGB channels and created a binary image of only the blue pixels. Using blob…
JM92
  • 1,063
  • 3
  • 13
  • 22
2
votes
1 answer

Fill shape(possibly not closed) with a pattern

I am looking for code/algorithm for filling a shape with a pattern in Java (pattern could be just a solid color or something like hatch). The shape may not be closed but there are fixed bounds for the shape. The below image shows possible input,…
Jayan
  • 18,003
  • 15
  • 89
  • 143
2
votes
1 answer

Count the no of pixels on a polygon

I have been taking an image and drawing a contour on it. I need to count the no of pixels and the positions of them too in three categories (in MATLAB) The pixels that are outside the curve The pixels that are inside the curve The pixels that…
roni
  • 1,443
  • 3
  • 28
  • 49
2
votes
1 answer

matlab histogram bin include is lower boundary

I know that matlab hist "Input values that fall on the border between two bins are placed into the lower valued bin; that is, each bin includes its upper boundary." http://www.mathworks.com/help/dsp/ref/histogram.html Is it possible to change it so…
Oren
  • 4,711
  • 4
  • 37
  • 63
2
votes
2 answers

Boundary for canvas game in Javascript

I have to make a game for school with html5 canvas Javascript. I am new to javascript and still learning but i really need some help with this issue that i have and would appreciate it if someone could help me out. I tried several things but nothing…
2
votes
1 answer

KML Boundary data, tools to create / merge polygons

I need to make up boundaries for a Google Maps mash-up. I am trying to find boundary data for London - north, east, west and central. Searching for hours I only found data for boroughs or postcodes. Whats the best way of merging postcode boundaries…
Dizzy Bryan High
  • 2,015
  • 9
  • 38
  • 61
2
votes
2 answers

HTML5 Game - Walking Boundary Issue

I'm working on a top down shooter, and basically the character starts in the middle of the screen, inside a rect (Safe Zone). The character isn't static, the scene is. He can walk around, inside the safe zone. As soon as the character walks out of…
Oliver Jones
  • 1,420
  • 7
  • 27
  • 43
2
votes
2 answers

Size and position of one image in another via PHP

I have two images(small and big). Big one contains a small one. Like if the small one is a photo and a big one is a page from the photo album. How do I get coordinates of that small image in the big one using PHP? And also I need to know the size of…
Pigalev Pavel
  • 1,155
  • 1
  • 15
  • 29
2
votes
1 answer

plot decision boundary using libsvm

I want to plot decision boundary for classification of iris data.Since the decision boundaries are hyper plans in 4D space, plotting the decision boundaries are not straightforward. According to LIBSVM FAQ page we should do following to have w and…
Tyb Rafiei
  • 106
  • 1
  • 7