Search found 43 matches
- 2011-11-19T13:03:27-07:00
- Forum: Users
- Topic: Read .svs format of Images
- Replies: 6
- Views: 17368
Re: Read .svs format of Images
thank you much for your support @fmw42
- 2011-11-18T18:05:54-07:00
- Forum: Users
- Topic: Manipulate Image
- Replies: 6
- Views: 11001
Manipulate Image
Hi every one again.. I have a doubt which is smthing lik this.... i have a one-dimension array which contain r,g,b values in differnet offsets of an image and based on some calculations i make some changes to the pixels...i want to reflect these changes in image by changing the pixels in original im...
- 2011-11-18T18:00:31-07:00
- Forum: Users
- Topic: Read .svs format of Images
- Replies: 6
- Views: 17368
Re: Read .svs format of Images
SVS is really just a pyramidal (multipage) TIFF file. You can see the pages and their dimensions using the identify command. ImageMagick can read most of them, but we've found the newer ones use JPEG2000 compression and cannot be read with libtiff. If you want to work with the largest image in an S...
- 2011-11-10T10:06:37-07:00
- Forum: Users
- Topic: Read .svs format of Images
- Replies: 6
- Views: 17368
Read .svs format of Images
Hi everyone,
Iam new to image magick can anyone please help me in this ....
I want to read images of format .svs exetension. the image have dimensions of 60000x30000 and its size is nearly 100MB. can we read images like this using image-magick.
Thanks in advance.
Iam new to image magick can anyone please help me in this ....
I want to read images of format .svs exetension. the image have dimensions of 60000x30000 and its size is nearly 100MB. can we read images like this using image-magick.
Thanks in advance.
- 2011-10-06T09:36:18-07:00
- Forum: Users
- Topic: Printing Pixels
- Replies: 5
- Views: 10975
Re: Printing Pixels
el_supremo wrote:I forgot the "n" argument and there's a missing parenthesis:PeteCode: Select all
printf("pixels %d : %s\n",n,PixelGetColorAsNormalizedString(p[n]));
Still gives the same error..
i even tried changing the data type to size_t instead of int when type casting
- 2011-10-05T15:37:47-07:00
- Forum: Users
- Topic: Printing Pixels
- Replies: 5
- Views: 10975
Re: Printing Pixels
There are three ways to obtain and print out the colours from a Pixelwand. You can use PixelGetRed,PixelGetGreen,PixelGetBlue which return a normalized double. Alternatively, PixelGetRedQuantum,PixelGetGreenQuantum,PixelGetBlueQuantum return the colours as integers e.g. printf("pixels %d : %d,...
- 2011-10-05T09:58:51-07:00
- Forum: Users
- Topic: Printing Pixels
- Replies: 5
- Views: 10975
Printing Pixels
hi... Can i print the values of pixels in the type pixelwand **pixels..? My code is void subimages_pxls(MagickWand *wand,size_t sbimg_wdt,size_t sbimg_hgt) { size_t width=MagickGetImageWidth(wand); size_t height=MagickGetImageHeight(wand); int n_sbimg=(width/sbimg_wdt)*(height/sbimg_hgt); printf(&qu...
- 2011-10-03T09:48:02-07:00
- Forum: Users
- Topic: NewPixelRegionIterator
- Replies: 10
- Views: 19055
Re: NewPixelRegionIterator
Your original for loops are closer to what you need but you are addressing the pixels array incorrectly. When you call NewPixelRegionIterator it returns a linear array of sbimg_wdt pixels. You are addressing it as if it had returned a row from the whole image. The for loop indices (especially of &q...
- 2011-10-03T08:19:25-07:00
- Forum: Users
- Topic: NewPixelRegionIterator
- Replies: 10
- Views: 19055
Re: NewPixelRegionIterator
I just spent the weekend looking at MagickWand source (research for IMv7 CLI redevelopment) And while I have not coded in MagickWand (yet), I am familiar with it, and how IM programming works. I believe you should be looping using a while() around PixelGetNextIteratorRow() The row that is being pro...
- 2011-10-02T16:39:43-07:00
- Forum: Users
- Topic: NewPixelRegionIterator
- Replies: 10
- Views: 19055
Re: NewPixelRegionIterator
The Problem with the program is it cannot access the pixel values from a point.....and i cannot figure it out why..?
- 2011-10-02T16:34:54-07:00
- Forum: Users
- Topic: NewPixelRegionIterator
- Replies: 10
- Views: 19055
Re: NewPixelRegionIterator
int n_sbimg=(width*height)/(sbimg_wdt*sbimg_hgt); I don't think you're calculating the number of subimages properly. It should be this: int n_sbimg=(width/sbimg_wdt)*(height/sbimg_hgt); For example, if the original image is 640x480 and the subimages are 100x100, you can get 6 complete images along ...
- 2011-10-01T22:58:36-07:00
- Forum: Users
- Topic: NewPixelRegionIterator
- Replies: 10
- Views: 19055
Re: NewPixelRegionIterator
Sry My mistake.....i forgot to mention...el_supremo wrote:n hasn't been declared or initialized. My guess is you meant:Code: Select all
n=n-1;
PeteCode: Select all
n=k-1;
iam reading n from main function as user input....
- 2011-10-01T14:40:47-07:00
- Forum: Users
- Topic: NewPixelRegionIterator
- Replies: 10
- Views: 19055
NewPixelRegionIterator
Hi... Iam a newbie to Image Magick. Iam tryin to use NewPixelRegionIterator in my program to grab a subregion from an image and has to print the pixel values of that region only.. My Code is .. void subimages_pxls(MagickWand *wand,size_t sbimg_wdt,size_t sbimg_hgt,int n) { size_t width=MagickGetImag...