imaging Questions
17
Solved
I installed Pillow, and after I want to do:
from PIL import Image
I get the following error:
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/usr/lo...
Varion asked 16/8, 2014 at 13:37
7
Solved
I'm trying to render some text using PIL, but the result that comes out is, frankly, crap.
For example, here's some text I wrote in Photoshop:
and what comes out of PIL:
As you can see, the ...
Dickerson asked 24/3, 2011 at 4:7
8
Solved
Using Python I want to be able to draw text at different angles using PIL.
For example, imagine you were drawing the number around the face of a clock. The number 3 would appear as expected wherea...
Pother asked 29/10, 2008 at 1:4
4
Solved
I am working with cameras (in this case monochrome) in VB.NET. The API of the cameras is in C++ and the manufacturer provides wrappers. As is typical in these cases, the image is returned as a Byte...
1
I am using WICConvertBitmapSource function to convert pixel format from BGR to Gray and I'm getting unexpected pixel values.
...
pIDecoder->GetFrame( 0, &pIDecoderFrame );
pIDecoderFrame-...
Enkindle asked 10/3, 2021 at 13:53
3
Solved
I have an image in RGB and another segmented image in which the pixels have 3 values(segmented image). I want to overlay the segmented image on top of the main image as the segmented areas make con...
Briquet asked 20/8, 2019 at 15:12
3
Solved
What's the best way to print a BitmapImage? I come from a background in System.Drawing so I was thinking about converting it to a Bitmap and then printing it, but I'm thinking there's probably a be...
5
Solved
I'm developing an image processing project and I come across the word occlusion in many scientific papers, what do occlusions mean in the context of image processing? The dictionary is only giving ...
Empathy asked 4/5, 2010 at 9:47
2
Solved
I am trying to create a JPEG compressed DICOM image using pydicom. A nice source material about colorful DICOM images can be found here, but it's mostly theory and C++. In the code example below I ...
3
Solved
I have a basic question for the DICOM protocol.
I know how I can calculate the orientation labels of every slice of a DICOM image (A,P,L,R,H,F). But when I got for example an Axial slices with num...
4
I'm trying to include one imaging file (.png) using R markdown for R presentation.
I followed the suggestion from: How to import local image using knitr for markdown
but by using ![title](my.png), ...
It asked 7/8, 2015 at 21:3
3
Solved
I want to scale a System.Drawing.Bitmap to at least less than some fixed width and height. This is to generate thumbnails for an image gallery on a website, so I want to keep the aspect ratio the s...
2
Solved
I'd like to generate thumbnails from various "document" file formats such as odt, doc(x) and ppt(x) but also mp4, psd, tiff (and possibly others) from a Python application. As far as I know for eac...
Spine asked 2/2, 2014 at 14:53
5
Solved
I'm using Python's Imaging Library and I would like to draw some bezier curves.
I guess I could calculate pixel by pixel but I'm hoping there is something simpler.
Aerophyte asked 29/10, 2008 at 11:59
1
Solved
I am trying to create a program that will capture a full screen directx application, look for a specific set of pixels on the screen and if it finds it then draw an image on the screen.
I have be...
Partitive asked 16/5, 2017 at 14:57
3
Solved
I am trying to create an image from a byte array. The byte array is created by a fingerprint scanner (cf CaptureFrame method). fwidth is 256 and fheight is 255.
When I run the code below, I get
...
0
I would like to find a ray tracing / synthetic imaging program that utilizes gradient refractive indices. I've looked online at a number of ray tracers, but I've yet to find one that specifically h...
Siouxie asked 25/1, 2017 at 23:16
2
I have a Image control inside my wpf application, which has a large image inside of it, but the control itself is only 60x150, this means it only shows a certain portion of this image.
What is the...
9
Solved
When you run Google's PageSpeed plugin for Firebug/Firefox on a website it will suggest cases where an image can be losslessly compressed, and provide a link to download this smaller image.
For ex...
Tailpipe asked 27/3, 2011 at 19:5
9
Solved
I have python code that needs to do just a couple simple things to photographs: crop, resize, and overlay a watermark. I've used PIL, and the resample/resize results are TERRIBLE. I've used imagema...
Methodology asked 18/9, 2009 at 0:5
2
I have a struct called SpriteImage which is defined like this:
type SpriteImage struct {
dimentions image.Point
lastImgPosition image.Point
sprite *image.NRGBA
}
In my flow, I first initiate ...
1
Solved
Probably not looking for solution, but looking for guidance on this.
This is to implement "document scanner" in our Android app.
I need to do precisely this:
Take image with camera (no problem)
...
4
Solved
I am looking for an algorithm that I can use to compare two images and determine if there is something significantly different between the two. By "significant", I mean, if you took two photos of a...
2
Solved
I have a set of fMRI images. One group has a dimensionality of 90 x 60 x 12 x 350 with voxel dimension 1 x 1 x 1 mm (350 volumes). The other group has a dimensionality of 80 x 35 x 12 x 350 w...
Bencher asked 26/5, 2015 at 13:27
1
Solved
I am using the LinearNDInterpolator on some (x, y, z) data, using the following script. However, I cannot figure out how to go from the interpolated data to plotting/showing the interpolation in he...
Ablaut asked 24/3, 2016 at 22:1
1 Next >
© 2022 - 2024 — McMap. All rights reserved.