- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hello,
The encode_jpeg2000 function of the UIC sample just initializes theJP2Encoder class with it's default parameters.
How do I change the quality settings (to get a smaller file, a faster compression, etc.) for the JPEG2000 encoding?
I tried several parameters with jp2enc.SetParams. For example:
jp2enc.SetParams(20, true, true, false, 2, 10, 0xFFFFFFFF);
This neither influences the target file's size nor the compression time considerably. Are there other parameters which I have overlooked? Do I have to initlialize some other class?
Thx for your help,
Fabian
P.S.: Will dstSize = 0xFFFFFFFF work on 64bit?
The encode_jpeg2000 function of the UIC sample just initializes theJP2Encoder class with it's default parameters.
How do I change the quality settings (to get a smaller file, a faster compression, etc.) for the JPEG2000 encoding?
I tried several parameters with jp2enc.SetParams. For example:
jp2enc.SetParams(20, true, true, false, 2, 10, 0xFFFFFFFF);
This neither influences the target file's size nor the compression time considerably. Are there other parameters which I have overlooked? Do I have to initlialize some other class?
Thx for your help,
Fabian
P.S.: Will dstSize = 0xFFFFFFFF work on 64bit?
링크가 복사됨
1 응답
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Fabian,
please take a look at UIC picnic application, where you can set JPEG2000 encoder parameters through GUI application
To support files with big size you may need to implement another variant of StdFileInput class. The implementation in UIC rely on fread CRT function.
Regards,
Vladimir
please take a look at UIC picnic application, where you can set JPEG2000 encoder parameters through GUI application
To support files with big size you may need to implement another variant of StdFileInput class. The implementation in UIC rely on fread CRT function.
Regards,
Vladimir
