| |
 |
|
|
Science Forum Index » Image Processing Forum » Shrinking a picture --- and it becomes blur !!
Page 3 of 3 Goto page Previous 1, 2, 3
|
| Author |
Message |
| aruzinsky |
Posted: Thu May 01, 2008 6:00 am |
|
|
|
Guest
|
On May 1, 9:12Â am, hsyq...@gmail.com wrote:
Quote: Sorry for this late reply.
3 example online:
A.www.PenangA1.com/png/1K.PNG
B.www.PenangA1.com/png/4K.PNG
C.www.PenangA2.com/png/ORI.PNG
The three examples above are fragments of a drawing that terragen
produced just a few days ago.
All three pictures were taken by the same screen capture program.
If you take a look at Picture C (ori.png), it's from the original
drawing ( resolution: 4096 X 3072 ), with file size of 37MB, in BMP
format. In Picture C you can see patches of green leaves distinctly,
arising from the brown wall.
Picture B represents a screenshot fragment of the 37MB drawing as my
desktop wallpaper (1024 X 768). As you can see from Picture B,
although much smaller than Picture C, the patches of green leaves are
still separated from the brown wall.
However, if you look at Picture A ... the patches of green leaves
kinda melt into the brown wall behind it. Picture A was from a
fragment of a 1024 X 768 picture (JPG format) that I shrunk from the
original 37 MB BMP drawing. When I shrunk it, I use 100% JPG quality,
with the "Lanczos" option.
The most important thing is that comparing Picture A with Picture
B ... as you can see, even if Picture A and Picture B were obtained
from pictures with the same dimension ( 1024 X 768 ), albeit different
pictures, the green leaf patches of Picture B can still be clearly
seen, while Picture A, the green leaves and brown wall are all mixed
up.
Any comment ??
aruzinsky wrote:
On Apr 29, 12:39�am, hsyq...@gmail.com wrote:
Hello !
I do computer graphics as a hobby, and have produced quite a number of
stunning graphics. Often time though, when I shrink the graphic to put
them online, they become blurred !!
I do all kinds of computer graphics, from fractals to virtual
landscape, to sci-fi rendering, using softwares ranging from photoshop
to terragen to povray.
When I am satisfied with a certain creation, I often make a master
copy with the resolution of 8192 X 6144 pixel. Why that size? Because
that's the largest size my puny computer (dual-core 3GHz CPU running
XP with 4GB RAM) can produce within a reasonably timeframe. (Give or
take 8 hours for rendering).
As the filesize for a JPG with 8192 X 6144 resolution may go up to 30+
MB, I often have to shrink them to a more reasonable 1024 X 768,
filesize about 800 KB or so.
However, I found that when I do that, many interesting minute details
that were in the 8K X 6K pictures (even when I shrink fit it to my
1024X768 desktop as wallpaper) are GONE. In the 1024 X 768 JPG files,
all those details become blurred. No matter it's a JPG ---> JPG
shrink, or BMP ---> JPG shrink, or TIFF ---> JPG shrink, all those
details are GONE !!
I have experimented with many different graphic / photo softwares in
the shrinking process, all of them give me the same "blurring" effect.
Now my questions to all you Gurus as below ---
1. � � � � � � �Can you tell me of the best way to shrink a 8192X6144 size graphic
to
� � � � � � � � 1024X768 size graphic without losing the interesting details?
2. � � � � � � �Which software do you recommend to carry out the shrinking
operation?
Thank you all in advance !!!
Sincerely,
Lee
Instead of excess verbosity, you should post links to crops of before
and after images showing the problem areas.
You (plural) are not entitled to ignore the adage, "A picture is worth
a thousand words."- Hide quoted text -
- Show quoted text -
Apparently the links are broken. Also, please, don't post BMP, post
small JPEG 100% crops of a problem area because I use a dial up modem. |
|
|
| Back to top |
|
| pg |
Posted: Thu May 01, 2008 6:26 am |
|
|
|
Guest
|
On May 1, 9:00 am, aruzinsky <aruzin...@general-cathexis.com> wrote:
Quote: On May 1, 9:12 am, hsyq...@gmail.com wrote:
Sorry for this late reply.
3 example online:
A.www.PenangA1.com/png/1K.PNG
B.www.PenangA1.com/png/4K.PNG
C.www.PenangA2.com/png/ORI.PNG
The three examples above are fragments of a drawing that terragen
produced just a few days ago.
All three pictures were taken by the same screen capture program.
If you take a look at Picture C (ori.png), it's from the original
drawing ( resolution: 4096 X 3072 ), with file size of 37MB, in BMP
format. In Picture C you can see patches of green leaves distinctly,
arising from the brown wall.
Picture B represents a screenshot fragment of the 37MB drawing as my
desktop wallpaper (1024 X 768). As you can see from Picture B,
although much smaller than Picture C, the patches of green leaves are
still separated from the brown wall.
However, if you look at Picture A ... the patches of green leaves
kinda melt into the brown wall behind it. Picture A was from a
fragment of a 1024 X 768 picture (JPG format) that I shrunk from the
original 37 MB BMP drawing. When I shrunk it, I use 100% JPG quality,
with the "Lanczos" option.
The most important thing is that comparing Picture A with Picture
B ... as you can see, even if Picture A and Picture B were obtained
from pictures with the same dimension ( 1024 X 768 ), albeit different
pictures, the green leaf patches of Picture B can still be clearly
seen, while Picture A, the green leaves and brown wall are all mixed
up.
Any comment ??
aruzinsky wrote:
On Apr 29, 12:39�am, hsyq...@gmail.com wrote:
Hello !
I do computer graphics as a hobby, and have produced quite a number of
stunning graphics. Often time though, when I shrink the graphic to put
them online, they become blurred !!
I do all kinds of computer graphics, from fractals to virtual
landscape, to sci-fi rendering, using softwares ranging from photoshop
to terragen to povray.
When I am satisfied with a certain creation, I often make a master
copy with the resolution of 8192 X 6144 pixel. Why that size? Because
that's the largest size my puny computer (dual-core 3GHz CPU running
XP with 4GB RAM) can produce within a reasonably timeframe. (Give or
take 8 hours for rendering).
As the filesize for a JPG with 8192 X 6144 resolution may go up to 30+
MB, I often have to shrink them to a more reasonable 1024 X 768,
filesize about 800 KB or so.
However, I found that when I do that, many interesting minute details
that were in the 8K X 6K pictures (even when I shrink fit it to my
1024X768 desktop as wallpaper) are GONE. In the 1024 X 768 JPG files,
all those details become blurred. No matter it's a JPG ---> JPG
shrink, or BMP ---> JPG shrink, or TIFF ---> JPG shrink, all those
details are GONE !!
I have experimented with many different graphic / photo softwares in
the shrinking process, all of them give me the same "blurring" effect.
Now my questions to all you Gurus as below ---
1. � � � � � � �Can you tell me of the best way to shrink a 8192X6144 size graphic
to
� � � � � � � � 1024X768 size graphic without losing the interesting details?
2. � � � � � � �Which software do you recommend to carry out the shrinking
operation?
Thank you all in advance !!!
Sincerely,
Lee
Instead of excess verbosity, you should post links to crops of before
and after images showing the problem areas.
You (plural) are not entitled to ignore the adage, "A picture is worth
a thousand words."- Hide quoted text -
- Show quoted text -
Apparently the links are broken. Also, please, don't post BMP, post
small JPEG 100% crops of a problem area because I use a dial up modem.
All are PNG files. Yes, the links are damn broken !!! |
|
|
| Back to top |
|
| nospam |
Posted: Thu May 01, 2008 10:03 am |
|
|
|
Guest
|
In article <K6mdnUnCI5jXw4XVnZ2dnUVZ_gOdnZ2d@supernews.com>, Pico wrote:
Quote: (Didn't Steve Jobs' R&D people have postscript display in their neXt OS?)
nextstep/openstep used display postscript and os x uses pdf. |
|
|
| Back to top |
|
| aruzinsky |
Posted: Thu May 01, 2008 11:49 am |
|
|
|
Guest
|
If you prefer this,
http://www.general-cathexis.com/images/ORI_0.125X_LanczosUnExpandedKernel.png
, to this,
http://www.general-cathexis.com/images/ORI_0.125X_LanczosExpandedKernel.png
, then I suggest that you use an unexpanded interpolation kernel.
Typically, commercial softwares expand the interpolation kernel for
reductions because such expansion automatically provides
antialiasing. SAR Image Processor gives the option of not expanding
the kernel. This is undesirable for natural images.
On May 1, 9:24Â am, pg <pen...@catholic.org> wrote:
Quote: On May 1, 8:12 am, hsyq...@gmail.com wrote:
Sorry for this late reply.
3 example online:
A.www.PenangA1.com/png/1K.PNG
B.www.PenangA1.com/png/4K.PNG
C.www.PenangA2.com/png/ORI.PNG
Picture C should bewww.PenangA1.com/png/ORI.PNG
The three examples above are fragments of a drawing that terragen
produced just a few days ago.
All three pictures were taken by the same screen capture program.
If you take a look at Picture C (ori.png), it's from the original
drawing ( resolution: 4096 X 3072 ), with file size of 37MB, in BMP
format. In Picture C you can see patches of green leaves distinctly,
arising from the brown wall.
Picture B represents a screenshot fragment of the 37MB drawing as my
desktop wallpaper (1024 X 768). As you can see from Picture B,
although much smaller than Picture C, the patches of green leaves are
still separated from the brown wall.
However, if you look at Picture A ... the patches of green leaves
kinda melt into the brown wall behind it. Picture A was from a
fragment of a 1024 X 768 picture (JPG format) that I shrunk from the
original 37 MB BMP drawing. When I shrunk it, I use 100% JPG quality,
with the "Lanczos" option.
The most important thing is that comparing Picture A with Picture
B ... as you can see, even if Picture A and Picture B were obtained
from pictures with the same dimension ( 1024 X 768 ), albeit different
pictures, the green leaf patches of Picture B can still be clearly
seen, while Picture A, the green leaves and brown wall are all mixed
up.
Any comment ??
aruzinsky wrote:
On Apr 29, 12:39�am, hsyq...@gmail.com wrote:
Hello !
I do computer graphics as a hobby, and have produced quite a number of
stunning graphics. Often time though, when I shrink the graphic to put
them online, they become blurred !!
I do all kinds of computer graphics, from fractals to virtual
landscape, to sci-fi rendering, using softwares ranging from photoshop
to terragen to povray.
When I am satisfied with a certain creation, I often make a master
copy with the resolution of 8192 X 6144 pixel. Why that size? Because
that's the largest size my puny computer (dual-core 3GHz CPU running
XP with 4GB RAM) can produce within a reasonably timeframe. (Give or
take 8 hours for rendering).
As the filesize for a JPG with 8192 X 6144 resolution may go up to 30+
MB, I often have to shrink them to a more reasonable 1024 X 768,
filesize about 800 KB or so.
However, I found that when I do that, many interesting minute details
that were in the 8K X 6K pictures (even when I shrink fit it to my
1024X768 desktop as wallpaper) are GONE. In the 1024 X 768 JPG files,
all those details become blurred. No matter it's a JPG ---> JPG
shrink, or BMP ---> JPG shrink, or TIFF ---> JPG shrink, all those
details are GONE !!
I have experimented with many different graphic / photo softwares in
the shrinking process, all of them give me the same "blurring" effect.
Now my questions to all you Gurus as below ---
1. � � � � � � �Can you tell me of the best way to shrink a 8192X6144 size graphic
to
� � � � � � � � 1024X768 size graphic without losing the interesting details?
2. � � � � � � �Which software do you recommend to carry out the shrinking
operation?
Thank you all in advance !!!
Sincerely,
Lee
Instead of excess verbosity, you should post links to crops of before
and after images showing the problem areas.
You (plural) are not entitled to ignore the adage, "A picture is worth
a thousand words."- Hide quoted text -
- Show quoted text - |
|
|
| Back to top |
|
| Edward Rosten |
Posted: Thu May 01, 2008 11:52 am |
|
|
|
Guest
|
On Apr 30, 2:51 pm, Marco Al <m.f...@student.utwente.nl> wrote:
Quote: Edward Rosten wrote:
That's exactly what pixels are, in every camera I've ever heard of.
The light is projected on to the focal plane at "infinite" resolution
(ignoring the lense, arpeture, etc), and the CCD integrates the amount
of light falling on a bunch of little squares. IOW, the CCD is
precisely a box filter.
The corners deliver less signal, the lens has spherical aberration and
with bayer pattern CCDs you will usually have a diffuser in the optical
path as well. As a system the pixel from most cameras won't have an
image plane footprint very close to a box.
I don't follow. All you have listed (vignetting, distortion,
filtering, etc) happens before the CCD does anything. The result of
all that is light projected on the image plane. The CCD then
essentially box-filters whatever makes it through the lens and
filtering system.
If you replaced your CCD with one the same size, but with 1/4 of the
pixels, you would get a pretty similar effect by box filtering and
subsampling the original image.
Quote: Of course, this isn't a real image, but box filtering is quite
physically accurate for integer ratios or large non-integer ratios.
It's mostly physically accurate if your aim is to reproduce the same
effect as that of a Foveon camera without anti-aliasing filter.
Sure, you could throw away 2/3 of the colour bits in each pixel to
emulate a bayer pattern if you wanted.
Quote: It can produce stair-stepping, but then again, so can a real camera.
I'd call that a bad camera, not something to strive to reproduce in your
algorithms.
You can AA filter with a bit of blurring if you wish.
But I still stand by my point that CCDs area-sample whatever falls on
to them. This is equivalent to box filtering and point sampling.
-Ed |
|
|
| Back to top |
|
| Dave |
Posted: Thu May 01, 2008 12:02 pm |
|
|
|
Guest
|
Quote: Apparently the links are broken. Also, please, don't post BMP, post
small JPEG 100% crops of a problem area because I use a dial up modem.
and
Quote: All are PNG files. Yes, the links are damn broken !!
Why don't you idiots crop the crap? |
|
|
| Back to top |
|
| aruzinsky |
Posted: Thu May 01, 2008 12:03 pm |
|
|
|
Guest
|
Incidentally, for reciprocal odd integer scale factors, reduction
using an unexpanded kernel is just plain decimation and the kind of
interpolation kernel doesn't matter.
On May 1, 3:49Â pm, aruzinsky <aruzin...@general-cathexis.com> wrote:
Quote: If you prefer this,
http://www.general-cathexis.com/images/ORI_0.125X_LanczosUnExpandedKe...
, to this,
http://www.general-cathexis.com/images/ORI_0.125X_LanczosExpandedKern...
, then I suggest that you use an unexpanded interpolation kernel.
Typically, commercial softwares expand the interpolation kernel for
reductions because such expansion automatically provides
antialiasing. Â SAR Image Processor gives the option of not expanding
the kernel. Â This is undesirable for natural images.
On May 1, 9:24Â am, pg <pen...@catholic.org> wrote:
On May 1, 8:12 am, hsyq...@gmail.com wrote:
Sorry for this late reply.
3 example online:
A.www.PenangA1.com/png/1K.PNG
B.www.PenangA1.com/png/4K.PNG
C.www.PenangA2.com/png/ORI.PNG
Picture C should bewww.PenangA1.com/png/ORI.PNG
The three examples above are fragments of a drawing that terragen
produced just a few days ago.
All three pictures were taken by the same screen capture program.
If you take a look at Picture C (ori.png), it's from the original
drawing ( resolution: 4096 X 3072 ), with file size of 37MB, in BMP
format. In Picture C you can see patches of green leaves distinctly,
arising from the brown wall.
Picture B represents a screenshot fragment of the 37MB drawing as my
desktop wallpaper (1024 X 768). As you can see from Picture B,
although much smaller than Picture C, the patches of green leaves are
still separated from the brown wall.
However, if you look at Picture A ... the patches of green leaves
kinda melt into the brown wall behind it. Picture A was from a
fragment of a 1024 X 768 picture (JPG format) that I shrunk from the
original 37 MB BMP drawing. When I shrunk it, I use 100% JPG quality,
with the "Lanczos" option.
The most important thing is that comparing Picture A with Picture
B ... as you can see, even if Picture A and Picture B were obtained
from pictures with the same dimension ( 1024 X 768 ), albeit different
pictures, the green leaf patches of Picture B can still be clearly
seen, while Picture A, the green leaves and brown wall are all mixed
up.
Any comment ??
aruzinsky wrote:
On Apr 29, 12:39�am, hsyq...@gmail.com wrote:
Hello !
I do computer graphics as a hobby, and have produced quite a number of
stunning graphics. Often time though, when I shrink the graphic to put
them online, they become blurred !!
I do all kinds of computer graphics, from fractals to virtual
landscape, to sci-fi rendering, using softwares ranging from photoshop
to terragen to povray.
When I am satisfied with a certain creation, I often make a master
copy with the resolution of 8192 X 6144 pixel. Why that size? Because
that's the largest size my puny computer (dual-core 3GHz CPU running
XP with 4GB RAM) can produce within a reasonably timeframe. (Give or
take 8 hours for rendering).
As the filesize for a JPG with 8192 X 6144 resolution may go up to 30+
MB, I often have to shrink them to a more reasonable 1024 X 768,
filesize about 800 KB or so.
However, I found that when I do that, many interesting minute details
that were in the 8K X 6K pictures (even when I shrink fit it to my
1024X768 desktop as wallpaper) are GONE. In the 1024 X 768 JPG files,
all those details become blurred. No matter it's a JPG ---> JPG
shrink, or BMP ---> JPG shrink, or TIFF ---> JPG shrink, all those
details are GONE !!
I have experimented with many different graphic / photo softwares in
the shrinking process, all of them give me the same "blurring" effect.
Now my questions to all you Gurus as below ---
1. � � � � � � �Can you tell me of the best way to shrink a 8192X6144 size graphic
to
� � � � � � � � 1024X768 size graphic without losing the interesting details?
2. � � � � � � �Which software do you recommend to carry out the shrinking
operation?
Thank you all in advance !!!
Sincerely,
Lee
Instead of excess verbosity, you should post links to crops of before
and after images showing the problem areas.
You (plural) are not entitled to ignore the adage, "A picture is worth
a thousand words."- Hide quoted text -
- Show quoted text -- Hide quoted text -
- Show quoted text - |
|
|
| Back to top |
|
| aruzinsky |
Posted: Thu May 01, 2008 12:20 pm |
|
|
|
Guest
|
On May 1, 11:32 am, Marco Al <m.f...@student.utwente.nl> wrote:
Quote:
It's hideous pixelated crap is what it is.
Yes. It's almost as bad as a medical image. |
|
|
| Back to top |
|
| Marco Al |
Posted: Thu May 01, 2008 12:32 pm |
|
|
|
Guest
|
hsyq8xg@gmail.com wrote:
Quote: Picture B represents a screenshot fragment of the 37MB drawing as my
desktop wallpaper (1024 X 768). As you can see from Picture B,
although much smaller than Picture C, the patches of green leaves are
still separated from the brown wall.
It's hideous pixelated crap is what it is. If that is what you prefer
just google for a program which lets you use point sampling or nearest
neighbor sampling for resizing ... it will come out looking fugly like that.
Marco |
|
|
| Back to top |
|
| Marco Al |
Posted: Thu May 01, 2008 7:36 pm |
|
|
|
Guest
|
Edward Rosten wrote:
Quote: If you replaced your CCD with one the same size, but with 1/4 of the
pixels, you would get a pretty similar effect by box filtering and
subsampling the original image.
Indeed, but since the spread of the anti-alising filter (ie. diffuser)
would no longer be in the same ratio to the size of the active area of
the CCD you would get an aliased image. It's as wrong to do it this way
in the camera as doing it inside a program. It's the anti-aliasing
filter more than the actual CCD which determines the PSF with bayer
pattern cameras. It's not exactly a gaussian, but it's far from a box.
Marco |
|
|
| Back to top |
|
| Martin Leese |
Posted: Thu May 01, 2008 7:37 pm |
|
|
|
Guest
|
nospam wrote:
Quote: In article <K6mdnUnCI5jXw4XVnZ2dnUVZ_gOdnZ2d@supernews.com>, Pico wrote:
(Didn't Steve Jobs' R&D people have postscript display in their neXt OS?)
nextstep/openstep used display postscript and os x uses pdf.
Sun's NeWS also used PostScript. All a bit
moot now. These days you would use SVG.
--
Regards,
Martin Leese
E-mail: please@see.Web.for.e-mail.INVALID
Web: http://members.tripod.com/martin_leese/ |
|
|
| Back to top |
|
| |
Page 3 of 3 Goto page Previous 1, 2, 3
All times are GMT - 5 Hours
The time now is Mon Oct 13, 2008 5:22 pm
|
|