Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version 2 Likes Search this Thread
01-09-2012, 04:28 PM   #61
Junior Member




Join Date: Aug 2009
Location: Lexington, KY
Photos: Gallery | Albums
Posts: 30
QuoteOriginally posted by drougge Quote
But a 50% change in pixel count is in fact a 50% change in pixel count, which means 50% change in storage and processing needed. I'd much rather not have my camera that much slower. (And it will be. Not compared to some other camera, but compared to the same camera with less pixels.)

(Also my computer, no matter how fast my computer is, it would be handle smaller images faster.)
The in-camera processing speed is largely accomplished using parallel processing -- fewer pixels often get processed with less parallelism, so the speed change is often negligible. Processing more pixels in parallel will eat batteries faster.

The fix: On the K5, select JPEG Recorded Pixels in the Rec. Mode 1 menu, and select 10m, 6m, or 2m instead of 16m. The camera will still see all the pixels, but will (hopefully intelligently) rescale the image as requested before writing it out... so they'll be smaller, very low noise, files and process faster on your old PC. I'm sure any future camera will provide a similar menu choice.

Thing is, I'll bet you do not use the lower resolution modes, do you? Me neither.

01-09-2012, 04:37 PM   #62
Veteran Member
Anvh's Avatar

Join Date: Sep 2011
Posts: 4,616
Like you said the camera sees still all the pixels and they will all get processed before getting compressed, so there is no speed gain in processing besides that the file is smaller so the write time to the SD card is faster.
01-09-2012, 05:29 PM   #63
Veteran Member
drougge's Avatar

Join Date: Jan 2010
Location: Malmö
Photos: Gallery
Posts: 787
QuoteOriginally posted by Anvh Quote
You forget the processing also gets faster, that one actually goes faster then pixels count goes up.
I forget no such thing. I'm saying the same increase would give me more if the pixel count didn't increase. Proper buffer management would mostly help too, but Pentax has so for failed at that. (Pressing play should never give me an hour glass, it should just not show all pictures if they aren't ready. If I have just shot a single picture it should bloody well be able to show that one quickly, even if it's not written to the card yet.)

QuoteOriginally posted by ProfHankD Quote
The in-camera processing speed is largely accomplished using parallel processing -- fewer pixels often get processed with less parallelism, so the speed change is often negligible. Processing more pixels in parallel will eat batteries faster.

The fix: On the K5, select JPEG Recorded Pixels in the Rec. Mode 1 menu, and select 10m, 6m, or 2m instead of 16m. The camera will still see all the pixels, but will (hopefully intelligently) rescale the image as requested before writing it out... so they'll be smaller, very low noise, files and process faster on your old PC. I'm sure any future camera will provide a similar menu choice.

Thing is, I'll bet you do not use the lower resolution modes, do you? Me neither.
Of course I don't use the lower resolution modes, just like I don't use the full resolution jpeg mode. Wanting to be able to mess with colour and exposure after the fact has nothing to do with resolution though, and I would use a RAW mode with 6 MP if it was provided.

If you have a PC where anything you want to do with your images feels instant I congratulate you, but my experience with my (not all that old) PC certainly doesn't suggest I would get that experience with a new one. (C2D 2200MHz, 4GB RAM.)

It's possible I'm actually OK with the in camera processing speed, it's hard to tell it apart from the write speed since the buffer management sucks.
01-09-2012, 07:52 PM - 1 Like   #64
Junior Member




Join Date: Aug 2009
Location: Lexington, KY
Photos: Gallery | Albums
Posts: 30
QuoteOriginally posted by drougge Quote
Of course I don't use the lower resolution modes, just like I don't use the full resolution jpeg mode. Wanting to be able to mess with colour and exposure after the fact has nothing to do with resolution though, and I would use a RAW mode with 6 MP if it was provided.

If you have a PC where anything you want to do with your images feels instant I congratulate you, but my experience with my (not all that old) PC certainly doesn't suggest I would get that experience with a new one. (C2D 2200MHz, 4GB RAM.)

It's possible I'm actually OK with the in camera processing speed, it's hard to tell it apart from the write speed since the buffer management sucks.
JPEG uses lossy "perceptually compressed" encoding, which makes it bad for reprocessing. That said, raw files are supposed to be unprocessed data as digitized off the sensor (even including some edge pixels that are not exposed but help to determine black point and noise characteristics). What you want is something not raw, but using lossless compression at the camera-rescaled resolution; perhaps PNG files? I agree that would be nice.

As for my PC being too slow, well, I'm the professor who built the world's first Linux cluster supercomputer in 1994. My group at the University of Kentucky operates two machine rooms full of cluster supercomputers for our research. That said, yup, they're too slow for some of the computational photography research I've been doing lately. I have individual algorithms that run for a month on a 1MP image. That's what research is all about -- pushing boundaries. It will only be a few years before an improved algorithm does the same stuff quickly at full resolution on a GPU-augmented cell phone... or inside your camera.

Actually, it's not the buffer management that sucks, it's the flash write speed and a smallish total RAM size. That's getting better too. Last year, DDR3 prices fell through the floor. In addition, the flooding bumped disk drive prices 2X-3X, which has given the SSD market quite a boost, so flash memory price/performance should be improving quickly soon. Be patient. Digital cameras are a very young technology that is still evolving. In the meantime, it's good research for me.

01-09-2012, 08:02 PM   #65
Veteran Member




Join Date: Dec 2007
Photos: Gallery
Posts: 8,237
QuoteOriginally posted by ProfHankD Quote
JPEG uses lossy "perceptually compressed" encoding, which makes it bad for reprocessing. That said, raw files are supposed to be unprocessed data as digitized off the sensor (even including some edge pixels that are not exposed but help to determine black point and noise characteristics). What you want is something not raw, but using lossless compression at the camera-rescaled resolution; perhaps PNG files? I agree that would be nice.

As for my PC being too slow, well, I'm the professor who built the world's first Linux cluster supercomputer in 1994. My group at the University of Kentucky operates two machine rooms full of cluster supercomputers for our research. That said, yup, they're too slow for some of the computational photography research I've been doing lately. I have individual algorithms that run for a month on a 1MP image. That's what research is all about -- pushing boundaries. It will only be a few years before an improved algorithm does the same stuff quickly at full resolution on a GPU-augmented cell phone... or inside your camera.

Actually, it's not the buffer management that sucks, it's the flash write speed and a smallish total RAM size. That's getting better too. Last year, DDR3 prices fell through the floor. In addition, the flooding bumped disk drive prices 2X-3X, which has given the SSD market quite a boost, so flash memory price/performance should be improving quickly soon. Be patient. Digital cameras are a very young technology that is still evolving. In the meantime, it's good research for me.
.

Nice to meet you, Dr. Dietz!

.
01-10-2012, 07:02 AM   #66
Veteran Member
drougge's Avatar

Join Date: Jan 2010
Location: Malmö
Photos: Gallery
Posts: 787
QuoteOriginally posted by ProfHankD Quote
JPEG uses lossy "perceptually compressed" encoding, which makes it bad for reprocessing. That said, raw files are supposed to be unprocessed data as digitized off the sensor (even including some edge pixels that are not exposed but help to determine black point and noise characteristics). What you want is something not raw, but using lossless compression at the camera-rescaled resolution; perhaps PNG files? I agree that would be nice.
JPEG compression isn't that big a problem here, the bigger problem is rescaling the data to an 8 bit perceptual colour space. This happens with PNG too.

And what I want (as I may have said) is a lower resolution sensor. I'm just suggesting workarounds with rescaling. It should be possible to demosaic and then rescale the RAW data, but of course you start with something that's 3 times as large then. Probably why they don't offer it, you have to give up a lot of resolution for a small gain in file size. But maybe it would be possible to make it sparse (one colour component per pixel) again after rescaling.

(Sorry about using the word rescaling both about image dimensions and colour data, hopefully it's not confusing.)

QuoteOriginally posted by ProfHankD Quote
Actually, it's not the buffer management that sucks, it's the flash write speed and a smallish total RAM size. That's getting better too. Last year, DDR3 prices fell through the floor. In addition, the flooding bumped disk drive prices 2X-3X, which has given the SSD market quite a boost, so flash memory price/performance should be improving quickly soon. Be patient. Digital cameras are a very young technology that is still evolving. In the meantime, it's good research for me.
Of course it's the buffer management that sucks. With proper buffer management (look at Linux for a mostly working example if you like) it could take an hour to write a single image to the card, and I could still take three images and press play and see them right away. There is certainly enough RAM in the camera for that.

Let's give a concrete example: Take a K-5 (or any other Pentax DSLR, I assume), set it to RAW DNG, enable instant review. Take a picture, note how long it takes before you see it on the LCD. Turn off instant review, take another image, press play, and see how much longer it takes before you see it. (Indeed, if you press play quickly you'll wait forever because the camera ignores buttons a little while after taking an image, but that's separate from the buffer management issues.)
01-10-2012, 05:27 PM   #67
Junior Member




Join Date: Aug 2009
Location: Lexington, KY
Photos: Gallery | Albums
Posts: 30
QuoteOriginally posted by drougge Quote
JPEG compression isn't that big a problem here, the bigger problem is rescaling the data to an 8 bit perceptual colour space. This happens with PNG too.
PNG supports 16 bits per color channel with lossless compression, although 16-bit coding is used mostly in scientific and cinema image processing. Pre-JPEG2000 JPEG (which is what cameras use) really destroys the data by setting gamma to something around 2.2, transformation to YUV colorspace, reduction of color data, and 8x8 block DCT-based frequency-domain compression. Here's a scary example from an Intro to Digital Photography short course I gave back in 2006:



Looks like a big problem to me. Of course, JPEGs of natural scenes rarely look so bad -- the whole point of JPEG is that you don't notice what's gone. However, when you postprocess, you make partially lost portions of the image data more visually significant, and that's why the results look bad.

Several years ago, I used a genetic algorithm to evolve a JPEG-to-raw conversion program for a particular Canon camera, and just last week there was a research presentation here at the University of Kentucky on the same topic using a different approach. In any case, the trick is that full resolution JPEGs actually have 3 color channels at each pixel, but the raw data only has one, and so recovery is less than perfect but better than you might expect. Much more is lost if the JPEG is at less than 1/4 the sensor pixel count -- which is where the 16-bit PNGs really shine.

01-11-2012, 07:13 AM   #68
Junior Member




Join Date: Aug 2009
Location: Lexington, KY
Photos: Gallery | Albums
Posts: 30
Bad choices

QuoteOriginally posted by drougge Quote
Let's give a concrete example: Take a K-5 (or any other Pentax DSLR, I assume), set it to RAW DNG, enable instant review. Take a picture, note how long it takes before you see it on the LCD. Turn off instant review, take another image, press play, and see how much longer it takes before you see it. (Indeed, if you press play quickly you'll wait forever because the camera ignores buttons a little while after taking an image, but that's separate from the buffer management issues.)
Yeah, that sucks, although it's still not exactly buffer management. It's more a matter of which tasks are being given priority... bad scheduling choices... combined with a very different processing pipeline for instant review vs. review. Instant review is usually straight from the sensor buffer data, whereas playback review usually reads the file back from the card (although admittedly on systems like Linux the system buffer would probably have still had a copy of the last image in memory). Use of FAT for the filesystem doesn't help either. Naturally, reading the file back from the card has to wait until the file has been completely written (not really, but somebody probably thought that). In some cameras, these types of bad choices are dictated by the use of custom hardware support for things like Bayer demosaicing and JPEG compression, but I doubt that's the case in the K-5.

In summary, I don't recall ever saying that all the software in cameras is well designed and well implemented. Let's just agree that Pentax should be ashamed of the little sequence that you described and leave it at that.
05-18-2012, 12:13 PM   #69
Site Supporter
Site Supporter
jpzk's Avatar

Join Date: Jan 2009
Location: Québec
Photos: Gallery | Albums
Posts: 8,251
This thread is getting old .... but I am riviving it!

With the pixel/MP war(s) still ongoing, and it looks like it will not end very soon (or ever?), one has to wonder about the quality of the images rendered by the "boosted" sensors nowadays.

What I mean is this: since I do not own a super-telephoto lens, longest focal being 300mm, I often need to crop some of my images up to 50% in order to be able to show a "decent size" image.
Anything beyond that will result in "pixellization" (is this the right term to use?) and therefore loss of details.

Would an APS-C sensor of 24mp allow me to crop that same image beyond 50% and still allow room for further cropping without compromising the details too much?
Would a FF-sensor camera at "only" 16mp give me better results?

Isn' it a fact that the size of the pixels/photosites is what really matters?

I was thinking about this when I read some of the recent posts (already several hundreds) regarding the supposedly upcoming K30 and the possibility (speculations) of a future "K3" with a 24mp sensor ...

Apart from buying a 500mm lens at a very high cost, would a 24mp APS-C sensor be the logical and less expensive alternative?

JP

P.S.: I shoot RAW, 100% of the time.
05-18-2012, 03:36 PM   #70
Veteran Member




Join Date: Feb 2011
Posts: 4,873
Generic remarks, not directly intended and perhaps not even germane...

If you have a perfect lens and a perfect sensor and a large amount of light, cropping (whether a smaller sensor or larger sensor artificially truncated down) makes a lot of sense.

If you have a real lens and a real sensor you get a decent improvement from using longer lenses and larger sensors for the same equivalent FOV.

Would more MP help you - well, perhaps. Honestly cropping your picture from 16 MP to 4 MP will have a negative effect for printing... for on-screen, not really. Going to a 24 MP sensor and cropping to 6 MP will be better of course, but still perhaps not quite what you'd want for printing.

I once put a Q on a DA* 300mm. I was not impressed.
05-22-2012, 03:18 PM   #71
Site Supporter
Site Supporter
jpzk's Avatar

Join Date: Jan 2009
Location: Québec
Photos: Gallery | Albums
Posts: 8,251
QuoteOriginally posted by ElJamoquio Quote
Generic remarks, not directly intended and perhaps not even germane...

If you have a perfect lens and a perfect sensor and a large amount of light, cropping (whether a smaller sensor or larger sensor artificially truncated down) makes a lot of sense.

If you have a real lens and a real sensor you get a decent improvement from using longer lenses and larger sensors for the same equivalent FOV.

Would more MP help you - well, perhaps. Honestly cropping your picture from 16 MP to 4 MP will have a negative effect for printing... for on-screen, not really. Going to a 24 MP sensor and cropping to 6 MP will be better of course, but still perhaps not quite what you'd want for printing.

I once put a Q on a DA* 300mm. I was not impressed.
Thanks for the reply.

I suppose my question was posted because of the few comments I have read in the recent past regarding the fact that more MP is not necessarily better, and that it is all about the "quality" of the sensor "sites".
Of course, a great lens will help, as you mention.

As for cropping, I get the idea. Thanks again.

JP
05-22-2012, 03:20 PM   #72
Veteran Member
Anvh's Avatar

Join Date: Sep 2011
Posts: 4,616
QuoteOriginally posted by ProfHankD Quote
PNG supports 16 bits per color channel with lossless compression, although 16-bit coding is used mostly in scientific and cinema image processing. Pre-JPEG2000 JPEG (which is what cameras use) really destroys the data by setting gamma to something around 2.2, transformation to YUV colorspace, reduction of color data, and 8x8 block DCT-based frequency-domain compression. Here's a scary example from an Intro to Digital Photography short course I gave back in 2006:



Looks like a big problem to me. Of course, JPEGs of natural scenes rarely look so bad -- the whole point of JPEG is that you don't notice what's gone. However, when you postprocess, you make partially lost portions of the image data more visually significant, and that's why the results look bad.

Several years ago, I used a genetic algorithm to evolve a JPEG-to-raw conversion program for a particular Canon camera, and just last week there was a research presentation here at the University of Kentucky on the same topic using a different approach. In any case, the trick is that full resolution JPEGs actually have 3 color channels at each pixel, but the raw data only has one, and so recovery is less than perfect but better than you might expect. Much more is lost if the JPEG is at less than 1/4 the sensor pixel count -- which is where the 16-bit PNGs really shine.
Only problem is a photo in 16bit PNG is just as large a RAW file so why would you limit yourself, RAW gives you many advantages over PNG without increasing the file size.

JPEG XR seems to be coming to camera's next year, that solves most of the problems you're talking about.
05-22-2012, 03:23 PM   #73
Veteran Member
Anvh's Avatar

Join Date: Sep 2011
Posts: 4,616
About pixels, they are working about using the chips they are using for storage in SD card to make them into image sensor, that would mean a lot of pixels.

They are trying to let the pixels do more then just record red green and blue so overall the quality might actually go up.
Reply

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
camera, d4, dslr, k5, photography, replacement, sensor

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pixel war hots up with 1.8 gigapixel camera announced. wildweasel Photographic Industry and Professionals 5 01-19-2012 08:25 AM
The war will NEVER end jeffkrol General Talk 27 05-01-2011 03:56 PM
Macro War through a Drop eaglem Post Your Photos! 2 08-15-2010 01:12 AM
Black & White Casulties of War JeffJS Post Your Photos! 9 04-19-2010 05:24 AM
Toyota faces $16M fine, accused of hiding defect Artesian General Talk 33 04-11-2010 09:14 AM



All times are GMT -7. The time now is 11:21 PM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top